thanhnguyen2187 / crypta

An offline-first code snippet manager
https://thanhnguyen2187.github.io/crypta/
MIT License
7 stars 0 forks source link

Crypta

(n.) an underground vault or chamber, especially one beneath a church that is used as a burial place.

IMPORTANT: Crypta has its second version available at Cryptaa. This repostory exists for archival purposes only.

Or a personal vault for code snippets (or text) storing, with encryption to handle sensitive data. Latest development version at: https://thanhnguyen2187.github.io/crypta/.

Features

Why?

Or NIH syndrome kicked in and I want to use that chance to polish my own skills a bit.

Development

node --version
# v18.16.1
yarn --version
# 1.22.19
yarn install
yarn dev

Deployment

yarn build

The built files should be available in a folder named build/. You are free to copy this somewhere else and serve it as a static website using a web server like Nginx or Caddy.

BEWARE: the data is stored within the browser, so make sure to back up regularly before synchronization is implemented.

yarn preview

Or you can move to the folder and try serving it yourself:

python -m http.server