Skip to content

Conversation

@fccview
Copy link
Collaborator

@fccview fccview commented Jan 9, 2026

Once again I find myself doing a little refactor of things, I like modularity and I want scalability.

  • I have changed how the api works slightly, each endpoint will be its own file and this will allow scalability nicely, new developers will be able to come in and create new endpoints if they wish without destroying the codebase
  • Done the same thing for chat commands and added a quick easter egg command to prove it works well (it does indeed)
  • Added a version check, if there's a new version available it'll prompt the user, version is cached and checked daily once on page load, so users will never get rate limited (we can increase this for two/three times a day if needed).
  • Update api routes to use constants and cleaned up things a little
  • Added a test-api.js script so we can keep an eye on all endpoints without manually test them all every time

Hope it's not too much, I tend to go a little off the rails sometimes <3

@fccview fccview requested a review from lklynet January 9, 2026 10:32
Copy link
Owner

@lklynet lklynet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its... beautiful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants