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
|
config/default.toml
|
||||||
/data
|
/data/master.key
|
||||||
|
/data/db.sqlite
|
||||||
|
|
||||||
|
master.key
|
||||||
|
|
||||||
|
db.sqlite
|
||||||
|
|
||||||
/systemd
|
/systemd
|
||||||
**/dist
|
**/dist
|
||||||
|
|
||||||
@@ -19,10 +25,6 @@ target
|
|||||||
# rustc will dump stack traces when hitting an internal compiler error to PWD
|
# rustc will dump stack traces when hitting an internal compiler error to PWD
|
||||||
rustc-ice-*.txt
|
rustc-ice-*.txt
|
||||||
|
|
||||||
master.key
|
|
||||||
|
|
||||||
db.sqlite
|
|
||||||
|
|
||||||
node_modules/
|
node_modules/
|
||||||
.node_modules/
|
.node_modules/
|
||||||
built/*
|
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.
|
||||||
@@ -122,7 +122,7 @@ cg.cx is organized as a **Rust workspace** with 10 focused crates. This modular
|
|||||||
## Tech Stack
|
## Tech Stack
|
||||||
|
|
||||||
| Layer | Technology |
|
| Layer | Technology |
|
||||||
| ----------------- | ----------------------------------------------------------- |
|
| ----------------- | --------------------------------------------------------------------------- |
|
||||||
| **Backend** | Rust (edition 2021), Tokio async runtime |
|
| **Backend** | Rust (edition 2021), Tokio async runtime |
|
||||||
| **Web Server** | Axum 0.7, Tower HTTP middleware |
|
| **Web Server** | Axum 0.7, Tower HTTP middleware |
|
||||||
| **Telegram Bot** | Teloxide 0.13 |
|
| **Telegram Bot** | Teloxide 0.13 |
|
||||||
|
|||||||
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