Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Spl0itable/oracolo

 
 

Repository files navigation

Oracolo

Oracolo is a minimalist blog powered by Nostr, that consists of a single html file, weighing only ~140Kb. You can use whatever Nostr client that supports long format (habla.news, yakihonne, highlighter.com, etc) to write your posts, and your personal blog is automatically updated.
It works also without a web server; for example you can send it via email as a business card.

Oracolo preview

Examples

Here you can find some generated blogs for OpenSats, Hodlbod and fiatjaf.

How to use - Developer mode

  1. Open index.html and personalize the author meta tag with your npub
  2. Run npm install
  3. Run npm run build
  4. Deploy the generated dist/index.html file

How to use - "I hate npm" mode

  1. Open directly dist/index.html and personalize the author meta tag with your npub
  2. Save the file and deploy

Optional settings

In addition to the npub meta in the index.html there are other optional metas to configure:

relays: permits to set a list of custom relays;
top-notes: show N notes in a boxed format with the cover image;

Why this ugly hash routing?

Because this way the blog has fully functioning permalinks, without needing any additional server-level configuration to capture all the urls.

Caveats / To do

SEO is currently not existent, work in progress.
No pagination in the home.

About

A minimalist Nostr blog that consists of a single html file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Svelte 52.4%
  • SCSS 23.3%
  • HTML 12.4%
  • TypeScript 6.1%
  • Just 4.8%
  • JavaScript 1.0%