This is a personal blog website built with Next.js, Tailwind CSS, and Shadcn UI. It integrates with the Nostr protocol to fetch and display blog posts and profile information.
settings.json
. Profile information is also pulled from Nostr and cached locally.digital-garden/
are rendered with [[wikilink]]
style linking between pages.#lifestyle
from Nostr alongside configurable lists of workouts, nutrition, biohacks and routines.settings.json
.sitemap.xml
and robots.txt
with links to your Nostr posts so they can be indexed by search engines.yarn install
pnpm install ```
yarn dev
pnpm dev ``` Open http://localhost:3000 in your browser.
settings.json
file in the project root and add your Nostr public key (npub1...
). This is crucial for the blog to fetch your content.app/
: Next.js App Router pages and layouts.components/
: Reusable React components, including Shadcn UI components.lib/
: Utility functions and Nostr integration logic.public/
: Static assets like images.styles/
: Global CSS.app/globals.css
and tailwind.config.ts
for theme and custom styles.lib/nostr.ts
to connect to your preferred Nostr relays.NEXT_PUBLIC_SITE_URL
environment variable so generated links in the sitemap and metadata point to your domain.Feel free to open issues or pull requests if you have suggestions or improvements.