Implement Rust-based emote database and REST API

Co-authored-by: Ganonmaster <168445+Ganonmaster@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-03-18 13:18:40 +00:00
parent fd843535e6
commit 4fb17abb71
12 changed files with 4761 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
# mikebase configuration file
# All values can be overridden by environment variables using the APP__ prefix.
# Example: APP__DATABASE__URL=sqlite://mikebase.db
[database]
# SQLite example:
url = "sqlite://mikebase.db"
# PostgreSQL example:
# url = "postgresql://user:password@localhost/mikebase"
[server]
host = "0.0.0.0"
port = 3000
[s3]
endpoint = "https://s3.eu-central-1.wasabisys.com"
region = "eu-central-1"
bucket = "open3dlab-emoji"
access_key = "YOUR_ACCESS_KEY"
secret_key = "YOUR_SECRET_KEY"
# Base URL used to construct public image URLs in API responses.
public_url = "https://s3.eu-central-1.wasabisys.com/open3dlab-emoji"