A comprehensive guide to all things Nostr. Including step-by-step setup guides and details on clients, relays, and NIPs.
- Framework: SvelteKit with Svelte 5
- Styling: Tailwind CSS v4
- Content: Markdown via mdsvex
- i18n: svelte-i18n
- Linting: Biome
- Package Manager: Bun
- Hosting: Vercel
- Clone this repo
- Install dependencies:
bun install - Run the dev server:
bun dev - Open http://localhost:5173
| Command | Description |
|---|---|
bun dev |
Start development server |
bun run build |
Build for production |
bun run preview |
Preview production build |
bun run check |
Run TypeScript/Svelte type checking |
bun run lint-check |
Check code with Biome |
bun run lint-write |
Fix lint issues with Biome |
bun run format-write |
Format code with Biome |
We're always looking for writers, coders, and translators to help us make Nostr.how more useful. If you have an idea on how to make the site better, please let me know.
If you recently learned something new about Nostr, it's likely that other people don't know it yet! Feel free to write in whatever format you'd like and then reach out on Nostr and I'll get the page into the codebase. Or, if you're technical, feel free to create a PR directly.
If you're less of a writer but have a sharp eye for typos and grammar, feel free to create issues here on GitHub.
Translations have two parts:
- UI strings: JSON files in
/src/lib/locales/(e.g.,en.json,es.json) - Content pages: Markdown files in
/src/routes/pages/{lang}/
- Fork this repository
- Create a branch:
git checkout -b <language>_translation - For UI strings: Copy
en.jsonand translate the values (not keys) - For content: Create a folder with your language's ISO 639-1 code and translate each
.mdfile - Submit a Pull Request
- Keep frontmatter format intact (the
---section at the top) - Translate the
titleanddescriptionvalues - Update internal links to use your language code (e.g.,
/en/get-started→/fr/get-started) - Anchor links can be translated (e.g.,
#understanding-keys→#comprendre-les-cles)
src/
├── lib/
│ ├── components/ # Svelte components
│ ├── locales/ # i18n JSON files
│ └── config/ # Configuration
└── routes/
├── pages/ # Markdown content by language
│ ├── en/
│ ├── es/
│ ├── de/
│ └── ...
└── [locale=locale]/ # Localized routing
MIT License - see LICENSE