Skip to content

kaosf/nostr-html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nostr HTML

How to run

Store events with nosdump-and-store at first.

stylesheet/style.css is here.

Modify templates/*.html.erb for yourself.

Refer the example compose.yaml to run it.

HTML and JSON contents will be stored into data/www.

Development

vi .env # Edit it for yourself. # e.g. cat <<'EOF' > .env DATABASE_URL=postgres://user:pass@host:5432/db EOF chmod 600 .env mkdir -p data/{db,img,www} bundle IS_DEVELOPMENT=1 TZ=Asia/Tokyo SLEEP_SECONDS=5 bundle exec ruby app.rb cp -r data/www /path/to/www/document-root/ cp -r data/img /path/to/www/document-root/img

License

Public Domain

This work is free of known copyright restrictions.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published