feat: add Hono API with JWT authentication
- Implement REST API using Hono framework with token-based auth - Add JWT middleware for scope-based access control - Create version endpoints: launcher, downloader, patches, server - Add account lookup endpoints (by UUID or username) - Fetch server software with signed URLs and full version data - Add token signing utility script for testing - Support configurable account UUID for game session creation - Integrate API server with existing module system Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
317c886529
commit
65f900169b
11 changed files with 489 additions and 0 deletions
|
|
@ -12,8 +12,12 @@
|
|||
"start": "tsx src/index.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@hono/node-server": "^1.19.9",
|
||||
"@types/jsonwebtoken": "^9.0.10",
|
||||
"discord.js-selfbot-v13": "^3.7.1",
|
||||
"env-var": "^7.5.0",
|
||||
"hono": "^4.6.0",
|
||||
"jsonwebtoken": "^9.0.2",
|
||||
"tsx": "^4.20.3",
|
||||
"wrappergram": "^1.3.0"
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue