Skip to content

Paivola-Student-Innovation-Lab/DailyCrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DailyCrypt

License: GPL v3 pipeline status

DailyCrypt is safe and easy to use encryption webapp. DailyCrypt doesn't have a backend and it uses the AES encryption algorithm. The purpose of this open source project is to bring simple encryption available to everyone for free.

Container installation

First time setup

Make sure you have Docker installed

Pull the Docker container with docker pull ghcr.io/paivola-student-innovation-lab/dailycrypt:latest If you're using an arm system, use the arm tag

Running the container

To start the container, run docker run -p <outer-port>:<inner-port> ghcr.io/paivola-student-innovation-lab/dailycrypt:<tag> (remember to replace ports with your ports and tag with your tag)

Example run script: docker run --name dailycrypt -p 3000:80 ghcr.io/paivola-student-innovation-lab/dailycrypt:latest

Using the app

Go to https://localhost:<outer-port> (replace outer-port with your outer port) and DailyCrypt should be running there.

Installation from source

First time setup

Install rustup from https://rustup.rs/ or with snap install rustup

Restart console after installing rust

rustup update stable
rustup target add wasm32-unknown-unknown
cargo install -f wasm-bindgen-cli
cargo install wasm-pack

Add wasm-pack to path

Run the following in your home directory (you can get there by running cd)

nano .bashrc

Enter the following at the bottom of the .bashrc file, save and restart terminal

export PATH="$PATH:$HOME/.cargo/bin"

Running app

Install packages

Run the following in the project directory

cd client/
npm install

Build

Run the following in the project directory

cd client/
npm run build

Run

npm preview

You can also optionally use the developer environment by using npm run dev

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

Licensed under GNU General Public License v3.0 or later

Project status

This project is currently under development by PSIL