Skip to content

nostr-net/famulus-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Famulus

Static browser dashboard for discovering decentralized workers and submitting download jobs over Nostr.

Open index.html through a local static server. The page:

  • signs a kind 5662 Nostr event with a browser-local key stored in localStorage
  • sends the YouTube URL in tag ["i", "<url>"]
  • sends audio requests with tag ["param", "format=audio"]
  • optionally sends ["duration", "<seconds>"]
  • optionally sends ["blossom", "<server-url>"]
  • discovers workers from kind 30000 announcements tagged ["d", "worker-capabilities"]
  • listens for worker kind 6000 responses
  • displays WAITING_FOR_PAYMENT response content containing invoice

The standalone Android worker currently responds with:

{
  "status": "WAITING_FOR_PAYMENT",
  "amount_msat": 9000,
  "invoice": "lnbc..."
}

Run locally:

python3 -m http.server 5174 --directory web-client

Then open http://127.0.0.1:5174/.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors