I wrote this script with @Emir David Bruges Belaides to analyze all the hackclub server member IDs and find out which ones, just by mentioning them, make the orpheus bot make a haiku out of their name! Demo is a WASM compiled binary for JS.
No followers yet
Once you ship this you can't edit the description of the project, but you'll be able to add more devlogs and re-ship it as you add new features!
Add a web demo using Vite and wasm-pack! The demo interfaces with the rust code using web assembly.
THE PARSER IS DONE! 81 is the final count!
I made a new haiku checking function and fixed the number renderer so and is not at the end of a number like: two hundred, before it would say two hundred and for 200.
Syllable estimation is now fully accurate to the ruby code and is WAY FASTER! Trillion correctly has 2 syllables.
New format function that properly collects numbers.
I also put the raw ID CSVs into the repo and added a guide for anyone to use it themselves.
Improved the parsing logic so it finds correct IDs now. The format function skipped numbers sometimes and didn't count SYLs right. UPDATE: It's now 16x faster because I removed regex!
Emir David Bruges Belaides and I did this together! (see thread: https://hackclub.slack.com/archives/C015M4L9AHW/p1751846721244419 WARNING: VERY LONG)
I published it since I made my version of the code, however we figured out the haiku creation system together!