Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/silencesoft/written
Blog application using nostr.
https://github.com/silencesoft/written
nextjs nostr reactjs
Last synced: about 2 months ago
JSON representation
Blog application using nostr.
- Host: GitHub
- URL: https://github.com/silencesoft/written
- Owner: silencesoft
- License: apache-2.0
- Created: 2023-03-08T18:38:05.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-05T04:33:59.000Z (over 1 year ago)
- Last Synced: 2024-04-18T12:11:36.542Z (9 months ago)
- Topics: nextjs, nostr, reactjs
- Language: TypeScript
- Homepage: https://written-weld.vercel.app
- Size: 760 KB
- Stars: 17
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-nostr - Written - Self hosted blog using nostr long-form content (NIP-23) and it shows only posts by selected authors. (Clients / Relay lists)
- awesome-starred - silencesoft/written - Blog application using nostr. (reactjs)
README
# Written
Blog application using nostr.
## Getting Started
```bash
git clone https://github.com/silencesoft/written.git
cd written
yarn
cp .env.example .env.local
yarn dev
```Modify the environment variables file:
- NEXT_PUBLIC_URL : Website url
- NEXTAUTH_URL : Website url
- NEXTAUTH_SECRET : Secret word for next authentication
- NEXT_PUBLIC_NAME : Application name, it shows this name in the header.
- NEXT_PUBLIC_FOOTER_COPYRIGHT : Copyright text in the footer.
- NEXT_PUBLIC_RSS : (true - false) Create a RSS File (if it can write in folders).
- NEXT_PUBLIC_RSS_PUBLIC : (true - false) Use public directory ot tmp to save the file
- NEXT_PUBLIC_HIDE_SIDEBAR : (true - false) Hide sidebar
- NEXT_PUBLIC_RELAY : Nostr Relay to be used. To use more than one, type them separated by commas.
- NEXT_PUBLIC_ADMIN : Administrator's public key.
- NEXT_PUBLIC_AUTHOR_1 NEXT_PUBLIC_AUTHOR_2 ... : Blog Publishers' public keys (any as required).Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
## Deploy on Vercel
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
## Deploy to DigitalOcean
You can use this button to deploy (update repository url to yours):
[![DigitalOcean](https://www.deploytodo.com/do-btn-blue.svg)](https://cloud.digitalocean.com/apps/new?repo=https://github.com/silencesoft/written/tree/main)
Or go to: https://cloud.digitalocean.com/apps/new?repo=https://github.com/silencesoft/written/tree/main
## Thanks
My Nostr Public key: [npub1gcmpunjrue2aq5um7qgnp4p6uxarlxw2z6djehaf0emxjf6gr9us548zdf](nostr:npub1gcmpunjrue2aq5um7qgnp4p6uxarlxw2z6djehaf0emxjf6gr9us548zdf)
Buy me a coffee (with satoshis): [https://lncoffee.me/silencesoft](https://lncoffee.me/silencesoft)