SpiteCLI banner

SpiteCLI

5 devlogs
19h 34m 27s

SpiteCLI is a Terminal UI for browsing Discord Channels and DMs of Discord Bots.
Usefull for debugging or as a fun tool.

To access the demo servers, use the following links:

This project uses AI

Used AI to create the temporary FastAPI for Demo Purposes, as well as to learn the curses library.

Demo Repository

Loading README...

Moritz

Shipped this project!

Hours: 19.57
Cookies: 🍪 132
Multiplier: 5.6 cookies/hr

I built this CLI interface for browsing discord channels of discord bots. it started out as a debug tool for another project of mine and quickly spiraled out of controll. I learned a lot about how terminals and text interfaces work, and encountered my first race condition in the wild.

Moritz

Much has changed since the last dev-log. I completely reworked the message display system. Messages now look way nicer, with reply messages and attachments being visible, and line splitting so the entire message is on screen at once. I worked out quite a few bugs with the proxy-server, created new discord demo servers for yall to explore, and removed some nasty race conditions from the application.

Attachment
0
Moritz

The UI now looks way better, you can actually read it at a glance due to the color coding nos. still some formatting issues to solve, but we’re getting there.

Attachment
0
Moritz

I added an at least readable UI (needs some improvement) and a very very helpful F1 page. I accidentally DoSed Discord because i fetched all messages from the current server 60 times a second. Oops :3

Some text wraps when it shouldnt, some text overlaps, some emojis dont get rendered, but thats all very solvable.

Attachment
Attachment
0
Moritz

Added more states to the state machine, did some error handling for different terminal sizes and color support, and made a nice loading animation.

Attachment
0
Moritz

Spent some time learning the curses library, made some usefull helper functions, and made a simple State Machine System.

Attachment
0