Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Update README with new docs website (#402)
Leendert de Borste6ea0c51c836
diff --git a/README.md b/README.mdindex b0e67d959..dd5d3e12e 100644--- a/README.md+++ b/README.md@@ -3,7 +3,7 @@<h1><img src="https://github.com/user-attachments/assets/933c8b45-a190-4df6-913e-b7c64ad9938b" width="40" /> AliasVault</h1><p align="center">-<a href="https://app.aliasvault.net">Live demo π</a> β’ <a href="https://aliasvault.net?utm_source=gh-readme">Website π </a> β’ <a href="#installation">Installation π¦</a>+<a href="https://app.aliasvault.net">Live demo π₯</a> β’ <a href="https://aliasvault.net?utm_source=gh-readme">Website π</a> β’ <a href="https://docs.aliasvault.net?utm_source=gh-readme">Documentation π</a> β’ <a href="#installation">Installation βοΈ</a></p><h3 align="center">@@ -19,6 +19,12 @@ Open-source password and alias manager[<img src="https://img.shields.io/sonar/quality_gate/lanedirt_AliasVault?server=https%3A%2F%2Fsonarcloud.io&label=sonarcloud&logo=sonarcloud">](https://sonarcloud.io/summary/new_code?id=lanedirt_AliasVault)</div>+<div align="center">++[<img alt="Discord" src="https://img.shields.io/discord/1309300619026235422?logo=discord&logoColor=%237289da&label=join%20discord%20chat&color=%237289da">](https://discord.gg/DsaXMTEtpF)++</div>+AliasVault is an open-source password and alias manager built with C# ASP.NET technology. AliasVault can be self-hosted on your own server with Docker, providing a secure and private solution for managing your online identities and passwords.### What makes AliasVault unique:@@ -36,15 +42,16 @@ A live demo of the app is available at the official website at [app.aliasvault.n## Installation-Choose one of the following installation methods:+To install AliasVault, the easiest method is to use the provided install script. This will download the pre-built Docker images and start the containers.-### Option 1: Quick Install (Pre-built Images)+### 1. Install using install scriptThis method uses pre-built Docker images and works on minimal hardware specifications:-- Linux (Ubuntu or RHEL based distros recommended)-- 512MB RAM++- Linux VM with root access (Ubuntu or RHEL based distros recommended)- 1 vCPU-- At least 16GB disk space+- 512MB RAM+- 16GB disk space- Docker installed```bash@@ -56,28 +63,7 @@ chmod +x install.sh./install.sh install```-### Option 2: Build from Source--Building from source requires more resources:-- Minimum 2GB RAM (more RAM will speed up build time)-- At least 1 vCPU-- 40GB+ disk space (for dependencies and build artifacts)-- Docker installed-- Git installed--```bash-# Clone the repository-git clone https://github.com/lanedirt/AliasVault.git-cd AliasVault--# Make build script executable and run it. This will create the .env file, build the Docker images from source, and start the AliasVault containers.-chmod +x install.sh-./install.sh build-```--Note: If you do not wish to run the script, you can set up the environment variables and build the Docker image and containers manually instead. See the [manual setup instructions](docs/install/1-manually-setup-docker.md) for more information.--### Post-Installation+### 2. Post-InstallationThe install script will output the URL where the app is available. By default this is:- Client: https://localhost@@ -85,17 +71,15 @@ The install script will output the URL where the app is available. By default th> Note: If you want to change the default AliasVault ports you can do so in the `docker-compose.yml` file for the `nginx` (reverse-proxy) container.-#### First Time Setup Notes:-- When building from source for the first time, it may take several minutes for Docker to download and compile all dependencies. Subsequent builds will be faster.-- A SQLite database file will be created in `./database/AliasServerDb.sqlite`. This file will store all (encrypted) password vaults. It should be kept secure and not shared.+## Detailed documentation+For more detailed information about the installation process and other topics, please see the official documentation website:+- [Documentation website (docs.aliasvault.net) π](https://docs.aliasvault.net)-#### Useful Commands:-- To reset the admin password: `./install.sh reset-password`-- To uninstall AliasVault: `./install.sh uninstall`- This will remove all containers, images, and volumes related to AliasVault while keeping configuration files intact for future reinstallation.-- If something goes wrong you can run the install script in verbose mode to get more information: `./install.sh [command] --verbose`+Here you can also find step-by-step instructions on how to install AliasVault to e.g. Azure, AWS and other popular cloud providers.## Security Architecture+<a href="https://docs.aliasvault.net/architecture"><img alt="AliasVault Security Architecture Diagram" src="docs/assets/diagrams/security-architecture/aliasvault-security-architecture-thumb.jpg" width="343"></a>+AliasVault takes security seriously and implements various measures to protect your data:- All sensitive user data is encrypted end-to-end using industry-standard encryption algorithms. This includes the complete vault contents and all received emails.@@ -104,7 +88,9 @@ AliasVault takes security seriously and implements various measures to protect yFor detailed information about our encryption implementation and security architecture, see the following documents:- [SECURITY.md](SECURITY.md)-- [Security Architecture Diagram](docs/security-architecture.md)+- [Security Architecture Diagram](https://docs.aliasvault.net/architecture)++## Tech stack / creditsThe following technologies, frameworks and libraries are used in this project:diff --git a/docs/assets/diagrams/security-architecture/aliasvault-security-architecture-thumb.jpg b/docs/assets/diagrams/security-architecture/aliasvault-security-architecture-thumb.jpgnew file mode 100644index 000000000..813abe1daBinary files /dev/null and b/docs/assets/diagrams/security-architecture/aliasvault-security-architecture-thumb.jpg differdiff --git a/docs/installation/index.md b/docs/installation/index.mdindex e50ad3ea8..30c6f9850 100644--- a/docs/installation/index.md+++ b/docs/installation/index.md@@ -13,7 +13,7 @@ Follow the steps below to install AliasVault on your own server. Minimum experie----## Basic Installation+## 1. Basic InstallationTo get AliasVault up and running quickly, run the install script to pull pre-built Docker images. The install script will also configure the .env file and start the AliasVault containers. You can get up and running in less than 5 minutes.### Hardware requirements@@ -24,22 +24,27 @@ To get AliasVault up and running quickly, run the install script to pull pre-bui- Docker installed### Installation steps-1. Download the install script+1. Download the install script to a directory of your choice. All AliasVault files and directories will be created in this directory.```bashcurl -o install.sh https://raw.githubusercontent.com/lanedirt/AliasVault/main/install.sh```-2. Make the install script executable and run it. This will create the .env file, pull the Docker images, and start the AliasVault containers. Follow the on-screen prompts to configure AliasVault.+2. Make the install script executable.```bashchmod +x install.sh+```+3. Run the install script. This will create the .env file, pull the Docker images, and start the AliasVault containers. Follow the on-screen prompts to configure AliasVault.+```bash./install.sh install```+> **Note**: AliasVault binds to ports 80 and 443 by default. If you want to change the default AliasVault ports you can do so in the `docker-compose.yml` file for the `reverse-proxy` (nginx) container. Afterwards re-run the `./install.sh install` command to restart the containers with the new port settings.+3. After the script completes, you can access AliasVault at:- Client: `https://localhost`- Admin: `https://localhost/admin`----## SSL configuration+## 2. SSL configurationThe default installation will create a self-signed SSL certificate and configure Nginx to use it.You can however also use Let's Encrypt to generate valid SSL certificates and configure Nginx to use it. In order to make this work you will need the following:@@ -63,10 +68,16 @@ and then in the prompt choose option 2.----## Miscellaneous+## 3. Troubleshooting### Resetting the admin passwordIf you have lost your admin password, you can reset it by running the install script with the `reset-password` option. This will generate a new random password and update the .env file with it. After that it will restart the AliasVault containers to apply the changes.```bash./install.sh reset-password-```\ No newline at end of file+```++### Verbose output+If you need more detailed output from the install script, you can run it with the `--verbose` option. This will print more information to the console.+```bash+./install.sh install --verbose+```diff --git a/docs/installation/manually-setup-docker.md b/docs/installation/manually-setup.mdsimilarity index 98%rename from docs/installation/manually-setup-docker.mdrename to docs/installation/manually-setup.mdindex 854806ba7..67147e528 100644--- a/docs/installation/manually-setup-docker.md+++ b/docs/installation/manually-setup.md@@ -5,7 +5,7 @@ parent: Installation Guidenav_order: 2----# Manual Setup Instructions for AliasVault+# Manual SetupIf you prefer to manually set up AliasVault, this README provides step-by-step instructions. Follow these steps if you prefer to execute all statements yourself.diff --git a/docs/installation/uninstall.md b/docs/installation/uninstall.mdnew file mode 100644index 000000000..4f03126d6--- /dev/null+++ b/docs/installation/uninstall.md@@ -0,0 +1,18 @@+---+layout: default+title: Uninstall+parent: Installation Guide+nav_order: 3+---++# Uninstall++To uninstall AliasVault, run the install script with the `uninstall` option. This will stop and remove the AliasVault containers, remove the Docker images, and delete the .env file.++### Steps+1. Run the install script with the `uninstall` option+```bash+./install.sh uninstall+```++> **Note:** This will not delete any data stored in the database. If you wish to delete all data, you should manually delete the `database` directory and the other directories created by AliasVault.