main
Ares Next
Tracker P2P + busca de arquivos com hash. Backend Rust (axum) na Fase 1.
Deploy (Fase 1 — Coolify + Gitea)
- Repo:
https://git.hokmatech.com/Hokma-tech/ares-next.git(branchmain) - App Coolify:
ares-next/ envproduction, domíniohttps://ares.hokmatech.com - Build:
server/Dockerfilemulti-stage (musl),base_directory=/server,dockerfile_location=/Dockerfile - Volume:
/data→ host/data/aresnext(banco em/data/aresnext.dbviaARS_NEXT_DB) - DNS: registro A
ares→13.140.174.24no Cloudflare com proxy ON (HTTPS no edge + Origin CA no origin; SSL mode strict) - API pública:
https://ares.hokmatech.com/api/v1/{health,search,files,peers,stats}e WSwss://ares.hokmatech.com/api/v1/tracker/ws
Endpoints:
GET /api/v1/health— status do serviçoGET /api/v1/search?q=...&limit=...&sort=...— busca FTS5 com filtro e ordenaçãoGET /api/v1/files/{file_id}— registro do arquivoPOST /api/v1/announce— anúncio de arquivo (peer_id, name, description, type, extension, size_bytes, hash 64-hex, license)GET /api/v1/peers/{file_id}— pares on-line do arquivoGET /api/v1/stats— estatísticas globaisWS /api/v1/tracker/ws— registrar peer (msg{"type":"register","peer_id","file_id"}); broadcastpeer_online
Description
Languages
Rust
68.7%
HTML
30.3%
Dockerfile
1%