Open comments for this post
devlog 5
added:
- widgets
- idle screen added with a clock
settings: the wallpaper picker. u can:
- pick a background color from swatches or go custom with a color picker
- change how long before the idle screen kicks in (30s to 5 min, or never)
- make the idle clock small medium or large
- toggle the date and the hint text on the idle screen
- give the idle screen its own background
- change ur name
everything saves so its all still how u left it when u come back
todo for next time:
- remember open windows and positions on refresh
- music player
- maybe idle screen wallpapers instead of just colors
Open comments for this post
devlog #4
big one today. built a whole shorts app and gave the OS a memory
shorts: its like tiktok but in my OS lol. it pulls actual live videos from youtube channels i picked (carterpcs, yahya alhihi, miwu science) thru their rss feeds. hid all the ugly yt player controls so it just loops clean like a real short
I also added GLOBAL likes. found a free counter api so when someone likes a video, everyone who visits the site sees that count go up. u also cant relike stuff bc ur device gets remembered. theres comments too with a slide up panel, and an add button where u can paste any shorts link and itll join ur feed
the OS knows who u are now. first time u load in it asks “what should we call you” on its own lil screen after boot, and next time it goes “Welcome back, [name]… UwU~” which I rly like lol
comments post as name#tag (like discord) so if two people are both named alex they dont get mixed up
also:
- updated the welcome window with my actual pfp and about me (entrepreneur surviving school, saving for a mac mini yeah yeah)
- videos pause when u close the window now
bugs ig
- yt embeds kept playing audio after closing the window. used postMessage pauseVideo
- my html edit broke the sketch icon and my desktop exploded lol
todo for next time:
- remember open windows and positions on refresh
- custom wallpaper picker (still lol)
- maybe a music player
Open comments for this post
You can now play chess against a bot!
Chose between different kinds of difficulties, and ask the coach to review your game!
Added a working chess board.
Open comments for this post
day 2
notes actually save now. used cookies so when u refresh ur notes are still there.
made a dock
windows are resizable now too
todo for next time:
- more apps
- custom wallpaper picker
Open comments for this post
uwuOS dev log
day 1
ok so today i started building my own OS in the browser… ig
made a boot screen first with a little loading bar that fills up fake progress lol.
got windows working too. you can drag them around by the header which was lowkey the hardest part. also made them stack properly so when you click one it comes to the front.
apps so far:
- welcome screen (links to my github, blazfxx)
- notes app where u can type stuff and add it to a list
- about window that does basically nothing but it looks official
went with a dark theme
bugs ig
- close button wasnt clickable bc the drag code was eating the clicks. fixed it
- clock kept was not clocking
todo for next time:
- save notes so they dont disappear on refresh
- maybe a dock at the bottom
- resizing windows
Accidently ended up spending a lot of time redoing the UI like non stop…. yeah im horrible with UIs 🌹
Open comments for this post
Started building the bot!
How does this work?
So basically, chess.com has its own bot for game reviews (unlimited for paid users) but it only looks at that one games details and helps you with that.
My website basically pulls in the data of your user through the public endpoint from chess.com. We get all game data and feed it to an AI.
I am building two different modes for it. 1. thats pretty “brutal” while the other is “nicer-er”. Everything will be free, but slow -> uses glm 5.1 from NIM. (If I do add a paid tier, it will include faster inference and stuff).
So currently, I got the the system prompts ready and a base of the website. (Gets game data and gives you a review)
I will be adding chess boards soon and a better UI!
Open comments for this post
Tried adding an AI chat feature to my slack bot but couldn’t get it to work…
Messages would send, but no output… and nothing in terminal.
Ok nevermind. Realized that;
- the model wasn’t working and was too slow.
- The code changes wouldn’t apply when bot is running -> needed a restart
Fixed by changing model and having output be printed in terminal to catch any errors
… This means you can ask the slackbot any question
This might be it for this slackbot… might move over to some kind of new project
Open comments for this post
Added 2 new commands to my slack project!
I added a rock paper scissors command: /blaze-rps
The user chooses an option from a list: rock, paper or scissors. Then, the bot chooses a random one. There is a hardcoded list in the code for saying what beats what.
… yep
Also added “flip a coin” which basically just picks a random option between heads and tails and tells the user the answer
Open comments for this post
New to slack bot
This is my first time making a slackbot app….
Decided t go with python as it is the easiest and I know it pretty well.
I started off by getting an understanding on how to even run a bot. I was more used to discord bots, and this was quite different, with us having to add commands on the webpage and such.
Once I got the hang of it, I created a bot.py and a tictactoe.py file. The tictactoe file had the base of how my tictactoe game worked and such while the bot.py was where the command system lived. It just had like, responses to commands, what happens if X happened… yeah
The one and only command I have for now is:
/3t
-> play the game with /3t start
-> place a piece with /3t move <1-9>
-> quit with /3t quit
I will continue this project under “slackbot” time