First off, thanks for taking the time to contribute! ❤️
All types of contributions are encouraged and valued. See the Table of Contents for different ways to help and details about how this project handles them. Please make sure to read the relevant section before making your contribution. It will make it a lot easier for us maintainers and smooth out the experience for all involved. The community looks forward to your contributions. 🎉
And if you like the project, but just don't have time to contribute, that's fine. There are other easy ways to support the project and show your appreciation, which we would also be very happy about:
- Star the project
- Tweet about it
- First you'd need to Fork the repo (click the
Fork
button in the top right of this page. - Clone your forked repo locally
git clone https://github.com/<your-username>/creatures.sh.git
cd creatures.sh
- Install the dependencies by running
pnpm install
in the root of the project
If you run into issues setting up the project, feel free to reach out in our Discord server.
If you find a bug in the project, please refer to the Issues page to see if the bug has already been reported. If it's not, feel free to open an issue! Make sure to include steps to reproduce the bug, as well as the expected behavior. If you have a suggestion for how to fix the bug, please include that as well. If the bug is a visual bug, make sure to include a screenshot as well.
If you want to write a blog post for the website, it's best to discuss it first in the Discord server. We can help you with the writing process and talk about your idea in depth. When you have a solid idea, you can start writing the article and open a PR of your first draft.
-
First, make sure you're on a right branch. Update the
main
branch with the latest changes and create a new branch named like this:blog/[your-article-slug]
. -
If you're writing for the first time, create a new file
src/content/authors/<your-name>.md
and add the following frontmatter properties to the file:username
: a string (this is your Discord username)twitter
: a string (this is your Twitter handle with the @)name
: a string (this is your name)avatar
:'../../assets/authors/[your-username].jpg'
(make sure to add the image to the assets folder)
Feel free to check the other author files for reference.
-
Create a new
md
file insrc/content/blog
with the name of your article slugified (e.g.src/content/blog/css-nesting.md
) -
Add the following frontmatter to the file:
title
: a stringupdateDate
: YYYY-MM-DD format stringpublishDate
: YYYY-MM-DD format stringimage
:'featured-[X].jpg'
where X is the number of the imagetags
: [] of stringsauthor
: the slug of the author file you created in step 2excerpt
: a string
Feel free to check the other blog posts for reference.
-
Write your article.
-
When you're done writing, commit your changes and push them to your forked repo.
-
Open a PR from your forked repo to the
main
branch of the main repo. -
Make sure to add the
blog
label to your PR. -
Copy the PR link and post it in the Discord server in the
#blog
channel. -
We'll review your PR and give you feedback. If everything is good, we'll merge it and publish your article.
Cross-posting to creatures.sh is welcomed! If you'd like to share your own
article that you published elsewhere, just add the canonicalUrl
property in
the frontmatter of your article that points to your original blog post, wherever
it may be. Feel free to share your PR with the rest of the community in Discord
after you open it.
By contributing your code to the creatures-sh/creatures.sh
GitHub repository,
you agree to license your contribution under the MIT license.