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
- Clone the repository:
git clone https://github.com/your-username/nostros-web.git
- Install the dependencies:
cd nostros-web
yarn install
Usage
- 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.
- 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
- Webpack
- Babel
- Sass
- PostCSS
- HTML Webpack Plugin
- Mini CSS Extract Plugin
- Autoprefixer
- Bulma
- Clipboard.js
- Copy Webpack Plugin
- EJS
- File Loader
- HTML Loader
- HTML Webpack Template
- Lodash
- Material Symbols
- Optimize CSS Assets Webpack Plugin
- PostHTML
- PostHTML Include
- Swiper
- Toastify