hamstr/README.md
2023-01-01 23:21:32 +00:00

1.1 KiB

Hamstr

Hamstr is a twitter-style Nostr web client. It is a fork of astral, which itself started as a fork of branle.

Install the dependencies

yarn
# or
npm install

Start the app in development mode (hot-code reloading, error reporting, etc.)

quasar dev
# or if quasar is not installed globally
./node_modules/.bin/quasar dev

Lint the files

yarn lint
# or
npm run lint

Format the files

yarn format
# or
npm run format

Build the app for production in PWA mode:

quasar build -m pwa
# or if quasar is not installed globally
./node_modules/.bin/quasar build -m pwa

Build the app for production in SPA mode:

quasar build
# or if quasar is not installed globally
./node_modules/.bin/quasar build

Docker

Build the docker image (uses PWA mode):

docker build -t hamstr .

Run the container:

docker run -d -p 8080:8000 --name hamstr hamstr

and connect to 'http://localhost:8080/'