Skip to content

Primal Server includes membership, discovery and media caching services for Nostr

License

Notifications You must be signed in to change notification settings

lightningames/primal-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Logo

Overview

Primal Server includes membership, discovery and media caching services for Nostr.

Usage

Start postgres in the background:

nix develop -c sh -c '$start_postgres'

Running the server:

nix develop -c sh -c '$start_primal_server'

To connect to postgres from REPL:

run(`$(ENV["connect_to_postgres"])`)

To safely stop the server process:

Fetching.stop(); close(cache_storage); exit()

To stop postgres:

nix develop -c sh -c '$stop_postgres'

API requests

Read primal-caching-service/src/app.jl and ext/App.jl for list of all supported arguments.

About

Primal Server includes membership, discovery and media caching services for Nostr

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Julia 99.0%
  • Nix 1.0%