image

Nostros

Nostros is an Android client to connect to the Nostr protocol, which allows the creation of an uncensored, decentralized, ad-free social network.

This is the website for the Nostros app, built using HTML, CSS and JavaScript and bundled with Webpack.

Table of Contents

Getting Started

To get a local copy of the project up and running on your machine, follow these steps.

Prerequisites

You need to have Node.js and Yarn installed on your machine.

Installing

  1. Clone the repository:

git clone https://github.com/your-username/nostros-web.git

  1. Install the dependencies:

cd nostros-web yarn install

Usage

  1. Start the development server:

yarn start

This will open the website in your default browser and watch for changes, automatically rebuilding and refreshing the page.

  1. Build for production:

yarn build

This will create a dist directory with the optimized, minified, and hashed files ready to be deployed.

Docker

To start and keep alive the docker instance run:

docker-compose up -d

To test certbot

docker-compose run --rm  certbot certonly --webroot --webroot-path /var/www/certbot/ --dry-run -d nostros.net

To set automatic renewal with crontab:

00 00 1 */3 * docker compose run --rm certbot renew

Built With

Acknowledgments