Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 654 Bytes

README.md

File metadata and controls

25 lines (15 loc) · 654 Bytes

blogsync

First draft for a simple long-form text note (NIP-23) 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. See caddy_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 plugin would be nice.
  • See code for further TODOs.

Feedback

npub1hz404lnj7lxsdt5vxdlex9rlvhlz6dxqqed4y6tpywvzgwx0qmlqfpl6sm