very intense game makes your keyboard die but it's a rest api
  • Python 92.3%
  • HTML 6.1%
  • Dockerfile 1.6%
Find a file
2026-06-23 04:07:44 +05:00
.github feat: scaffold structure with routes and models 2026-05-06 03:23:48 +05:00
proto/v1 chore: up-to-date protocol 2026-06-23 04:07:44 +05:00
resources/emails feat(core): finished api with some untested parts 2026-05-25 23:59:33 +05:00
src/vigmykd add fallbacks for old JWTs 2026-06-23 04:04:16 +05:00
tests feat: scaffold structure with routes and models 2026-05-06 03:23:48 +05:00
.env.example feat: repeating acked messages, logic fixes 2026-06-16 19:10:22 +05:00
.flake8 feat: matchmaking with UDP intercommunication 2026-06-14 18:32:47 +05:00
.gitattributes feat: scaffold structure with routes and models 2026-05-06 03:23:48 +05:00
.gitignore for some reason ratelimiting broke?? 2026-06-14 23:12:10 +05:00
CODE_OF_CONDUCT.md feat: scaffold structure with routes and models 2026-05-06 03:23:48 +05:00
CONTRIBUTING.md feat: scaffold structure with routes and models 2026-05-06 03:23:48 +05:00
docker-compose.yml chore: what the fuck 2026-06-15 03:18:10 +05:00
Dockerfile feat: properly working Docker 2026-06-14 21:27:34 +05:00
LICENSE feat: scaffold structure with routes and models 2026-05-06 03:23:48 +05:00
pyproject.toml feat: properly working Docker 2026-06-14 21:27:34 +05:00
README.md feat: matchmaking with UDP intercommunication 2026-06-14 18:32:47 +05:00
SECURITY.md feat: scaffold structure with routes and models 2026-05-06 03:23:48 +05:00

vigmykd-api

very intense game makes your keyboard die, but it's the REST API

on AI

not a single line of code was written by ai here. i take pride in my ability to cook up REST APIs and i will subsequently take great offence if i am even suggested to use ai to write code for me.

the only purpose that ai served was consulting me several times on sparsely documented APIs like motor (for which i had to look into pymongo docs instead) and some design choices for fastapi (mostly package structuring, etc). i went to great lengths to ensure that not a single line of code from ai got into here.

JWT keys

generate the keys using any method you feel like is your favorite, e.g.:

# generate a 2048-bit RSA private key
openssl genpkey -algorithm RSA -out private_key.pem -pkeyopt rsa_keygen_bits:2048

# extract the corresponding public key
openssl rsa -pubout -in private_key.pem -out public_key.pem

proto compilation

compile .proto files like this (example):

pwd
> ~/vigmykd-api
protoc --python_out=.\src\vigmykd\generated\. .\proto\v1\packet.proto