|
1 | | -# Development |
| 1 | +# Cryptonote |
2 | 2 |
|
3 | | -Your new jumpstart project includes basic organization with an organized `assets` folder and a `components` folder. |
4 | | -If you chose to develop with the router feature, you will also have a `views` folder. |
| 3 | +Cryptonote is a cross-platform, fully offline application for creating, storing, and sharing encrypted notes. It is completely serverless and runs entirely on your device or in your web browser - no internet connection or external services are required. |
5 | 4 |
|
6 | | -``` |
7 | | -project/ |
8 | | -├─ assets/ # Any assets that are used by the app should be placed here |
9 | | -├─ src/ |
10 | | -│ ├─ main.rs # The entrypoint for the app. It also defines the routes for the app. |
11 | | -│ ├─ components/ |
12 | | -│ │ ├─ mod.rs # Defines the components module |
13 | | -│ │ ├─ hero.rs # The Hero component for use in the home page |
14 | | -│ ├─ views/ # The views each route will render in the app. |
15 | | -│ │ ├─ mod.rs # Defines the module for the views route and re-exports the components for each route |
16 | | -│ │ ├─ blog.rs # The component that will render at the /blog/:id route |
17 | | -│ │ ├─ home.rs # The component that will render at the / route |
18 | | -├─ Cargo.toml # The Cargo.toml file defines the dependencies and feature flags for your project |
19 | | -``` |
| 5 | +With Cryptonote, you can: |
20 | 6 |
|
21 | | -### Tailwind |
22 | | -1. Install npm: https://docs.npmjs.com/downloading-and-installing-node-js-and-npm |
23 | | -2. Install the Tailwind CSS CLI: https://tailwindcss.com/docs/installation |
24 | | -3. Run the following command in the root of the project to start the Tailwind CSS compiler: |
| 7 | +- Write a short plain-text note |
| 8 | +- Optionally encrypt it using strong, well-established symmetric (e.g., AES-GCM, ChaCha20-Poly1305) or asymmetric algorithms (e.g., X25519 + AES-GCM hybrid) |
| 9 | +- Or leave it unencrypted |
| 10 | +- Share the note instantly via a URL or scannable QR code |
25 | 11 |
|
26 | | -```bash |
27 | | -npx tailwindcss -i ./tailwind.css -o ./assets/tailwind.css --watch |
28 | | -``` |
| 12 | +All content, including the ciphertext or plaintext, is embedded directly in the URL itself, making sharing as simple as sending a link or showing a QR code. |
29 | 13 |
|
30 | | -### Serving Your App |
| 14 | +Cryptonote follows modern cryptographic best practices: |
31 | 15 |
|
32 | | -Run the following command in the root of your project to start developing with the default platform: |
33 | | - |
34 | | -```bash |
35 | | -dx serve |
36 | | -``` |
37 | | - |
38 | | -To run for a different platform, use the `--platform platform` flag. E.g. |
39 | | -```bash |
40 | | -dx serve --platform desktop |
41 | | -``` |
| 16 | +- Strong key derivation using HKDF |
| 17 | +- Authenticated encryption ensuring confidentiality, integrity, and authenticity |
| 18 | +- No data ever leaves your device unless you explicitly share it |
42 | 19 |
|
| 20 | +Secure, private, and truly offline - your notes stay yours. |
0 commit comments