The Worldcoin Tech Blog contains articles on AI, Cryptography & Blockchain, Hardware and various other relevant topics at Worldcoin.
These instructions contain steps to run the blog website from scratch, feel free to skip parts that do not apply.
- Install Node.js through nvm. If you have issues installing
nvm
, check their repo.curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash # once nvm is installed nvm install 18 # install `yarn` package manager corepack enable corepack prepare yarn@stable --activate
- After cloning the repository, run the following commands in the project directory
nvm use 18 # to activate correct Node.js version yarn # to install all dependencies
- Run the project, which will be available in
http://localhost:3000
yarn dev
The following recommendations will be useful when writing an article:
- Create your article either with Markdown or mdx on
src/pages/blog
. Use a URL-friendly slug. - Use only the categories defined in
types.ts
- Images can be added in
public/images/blog/[your-article-slug]/
. - If this is your first article, add your profile pic on
public/images/authors
(webp
format preferred). - If cspell is showing an incorrect spelling mistake, just add the new word in
cspell.json
- When you open a PR, the CI will run on GitHub actions to make sure your PR doesn't break anything.