cryptgeon/README.md

69 lines
1.8 KiB
Markdown
Raw Normal View History

2021-05-02 14:40:06 +02:00
<p align="center">
2021-05-02 17:14:03 +02:00
<img src="./design/Github.png">
2021-05-02 14:40:06 +02:00
</p>
2021-05-01 12:40:02 +02:00
2021-05-02 16:02:57 +02:00
![Docker pulls badge](https://img.shields.io/docker/pulls/cupcakearmy/cryptgeon)
![Docker image size badge](https://img.shields.io/docker/image-size/cupcakearmy/cryptgeon)
![Latest version](https://img.shields.io/github/v/release/cupcakearmy/cryptgeon)
2021-05-02 14:40:06 +02:00
## About?
2021-05-03 12:38:51 +02:00
_cryptgeon_ is a secure, open source sharing note service inspired by [_PrivNote_](https://privnote.com)
2021-05-02 14:40:06 +02:00
2021-05-02 15:24:19 +02:00
## Demo
Check out the demo and see for yourself https://cryptgeon.nicco.io.
2021-05-02 14:40:06 +02:00
## Features
2021-05-03 12:21:44 +02:00
- server cannot decrypt contents due to client side encryption
2021-05-02 14:40:06 +02:00
- view and time constrains
- in memory, no persistence
2021-05-02 16:57:56 +02:00
- obligatory dark mode support
2021-05-02 14:40:06 +02:00
## How does it work?
each note has a 512bit generated <i>id</i> that is used to retrieve the note. data is stored in memory and never persisted to disk.
2021-05-02 15:12:04 +02:00
## Screenshot
2021-05-02 17:12:12 +02:00
![screenshot](./design/Screens.png)
2021-05-02 15:12:04 +02:00
2021-05-02 14:40:06 +02:00
## Deployment
2021-05-02 16:02:57 +02:00
Docker is the easiest way. There is the [official image here](https://hub.docker.com/r/cupcakearmy/cryptgeon).
2021-05-02 14:40:06 +02:00
```yaml
# docker-compose.yml
version: '3.7'
services:
memcached:
image: memcached:1-alpine
2021-05-02 14:54:57 +02:00
entrypoint: memcached -m 128 # Limit to 128 MB Ram, customize at free will.
2021-05-02 14:40:06 +02:00
app:
image: cupcakearmy/cryptgeon:latest
ports:
- 80:5000
```
2021-05-02 15:52:03 +02:00
## Development
1. Clone
2. run `npm i` in the root and and client `client/` folders.
3. Run `npm run dev` to start development.
Running `npm run dev` in the root folder will start the following things
- a memcache docker container
- rust backend with hot reload
- client with hot reload
You can see the app under [localhost:3000](http://localhost:3000).
2021-05-02 14:40:06 +02:00
###### Attributions
Icons made by <a href="https://www.freepik.com" title="Freepik">freepik</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a>