A web client to read/write long form nostr content.
Available in https://habla.news.
To run Habla locally for development,
- install node, git, yarn
- clone Habla
- run:
yarn install yarn start
This should start a local server and open a browser with the project. You can now start modifying the code and see the changes in real time.
yarn install
yarn build
rsync --recursive --delete /path/to/habla/build/ your.server:/your/path/on/server/
You will need a domain or subdomain for this as file references in the code
are absolute paths, currently not allowing it to run Habla under
https://yourserver.com/habla/
for example.
For deep links to articles for example to work, you have to tell your server to
have requests not found be handled by your index.html. In nginx
that can be
achieved by adding:
server {
...
location / {
autoindex off;
expires off;
add_header Cache-Control "public, max-age=0, s-maxage=0, must-revalidate" always;
try_files $uri /index.html =404;
}