Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/canostrical/blogsync
Sync long-form Nostr notes to a local folder.
https://github.com/canostrical/blogsync
nostr
Last synced: 24 days ago
JSON representation
Sync long-form Nostr notes to a local folder.
- Host: GitHub
- URL: https://github.com/canostrical/blogsync
- Owner: canostrical
- License: mit
- Created: 2023-02-26T07:59:28.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-10T17:36:47.000Z (almost 2 years ago)
- Last Synced: 2024-02-17T05:34:15.229Z (10 months ago)
- Topics: nostr
- Language: Go
- Homepage:
- Size: 33.2 KB
- Stars: 16
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-nostr - blogsync - Self-host blog articles from long-form notes e.g. via Caddy server. (Tools / Client reviews and/or comparisons)
README
# blogsync
First draft for a simple long-form text note ([NIP-23][nip23]) sync to article folder.
Run like this:
`go run main.go example_conf.json`
The article folder can then e.g. be served via [Caddy server][caddy].
See [caddy_example][example] for an example.Sync will stop after EOS, so you have to run periodically, e.g. via cron.
## TODOs
- Wrapping this into a [Caddy server][caddy] plugin would be nice.
- See code for further TODOs.## Feedback
npub1hz404lnj7lxsdt5vxdlex9rlvhlz6dxqqed4y6tpywvzgwx0qmlqfpl6sm
[caddy]: https://caddyserver.com/
[example]: caddy_example
[nip23]: https://github.com/nostr-protocol/nips/blob/master/23.md