Initial commit rework, minor fixes/improvements, beta v0.1.0
This commit is contained in:
12
.gitignore
vendored
12
.gitignore
vendored
@@ -1,5 +1,11 @@
|
||||
config/default.toml
|
||||
/data
|
||||
/data/master.key
|
||||
/data/db.sqlite
|
||||
|
||||
master.key
|
||||
|
||||
db.sqlite
|
||||
|
||||
/systemd
|
||||
**/dist
|
||||
|
||||
@@ -19,10 +25,6 @@ target
|
||||
# rustc will dump stack traces when hitting an internal compiler error to PWD
|
||||
rustc-ice-*.txt
|
||||
|
||||
master.key
|
||||
|
||||
db.sqlite
|
||||
|
||||
node_modules/
|
||||
.node_modules/
|
||||
built/*
|
||||
|
||||
18
LICENSE
Normal file
18
LICENSE
Normal file
@@ -0,0 +1,18 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2026 whiskers
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
|
||||
associated documentation files (the "Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the
|
||||
following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial
|
||||
portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
|
||||
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
|
||||
EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
||||
USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
18
README.md
18
README.md
@@ -121,16 +121,16 @@ cg.cx is organized as a **Rust workspace** with 10 focused crates. This modular
|
||||
|
||||
## Tech Stack
|
||||
|
||||
| Layer | Technology |
|
||||
| ----------------- | ----------------------------------------------------------- |
|
||||
| **Backend** | Rust (edition 2021), Tokio async runtime |
|
||||
| **Web Server** | Axum 0.7, Tower HTTP middleware |
|
||||
| **Telegram Bot** | Teloxide 0.13 |
|
||||
| **Frontend** | Svelte 5, Vite 5 |
|
||||
| **Database** | SQLite 3 (WAL mode), `rusqlite` + `rusqlite_migration` |
|
||||
| Layer | Technology |
|
||||
| ----------------- | --------------------------------------------------------------------------- |
|
||||
| **Backend** | Rust (edition 2021), Tokio async runtime |
|
||||
| **Web Server** | Axum 0.7, Tower HTTP middleware |
|
||||
| **Telegram Bot** | Teloxide 0.13 |
|
||||
| **Frontend** | Svelte 5, Vite 5 |
|
||||
| **Database** | SQLite 3 (WAL mode), `rusqlite` + `rusqlite_migration` |
|
||||
| **Cryptography** | libsodium (via `sodiumoxide`), `aes-kw`, `blake3`, `argon2`, `hmac`, `sha2` |
|
||||
| **Serialization** | `serde`, `serde_json` |
|
||||
| **Observability** | `tracing` + `tracing-subscriber` |
|
||||
| **Serialization** | `serde`, `serde_json` |
|
||||
| **Observability** | `tracing` + `tracing-subscriber` |
|
||||
|
||||
---
|
||||
|
||||
|
||||
1
data/blacklisted_ids.json
Normal file
1
data/blacklisted_ids.json
Normal file
@@ -0,0 +1 @@
|
||||
{"ids": [], "updated_at": ""}
|
||||
1
data/whitelisted_ids.json
Normal file
1
data/whitelisted_ids.json
Normal file
@@ -0,0 +1 @@
|
||||
{"ids": [], "updated_at": ""}
|
||||
Reference in New Issue
Block a user