Shipped this project!
In this 6 hours of work, I’ve added these:
- AI response streaming (finally!!)
- timer precision fix
I will continue to fix the stopwatch precision issue on the next ship
In this 6 hours of work, I’ve added these:
I will continue to fix the stopwatch precision issue on the next devlog
This is a mini-ship to add the sidequest “Lockin” to this project as I forgot to select it last ship.
But I’ve also updated the style of the website and fixed some fetching problems.
Changelog:
Ultimately, this update basically just made the website’s UI a little bit better (a bit innovated by iOS), and also fixed some bugs.
In this hour, the most I did was fixing, cleaning up the backend code, and increasing the border radius and reducing the border size to make the website less bulky
In this hour, the most I did was fixing, cleaning up the backend code, and stylizing the widgets
Log in to leave a comment
In this ship, I’ve enhanced many things! From bug fixed to animations to new features, all of them makes Piston AI better than ever!
Changelog:
In this ~8 hours of work was quite a hard time. But I’ve fixed almost everything in the timer and stopwatch boxes.
Log in to leave a comment
In this 1.5 hours of work, I’ve added the logics for the timer. It was quite hard, but it worked out anyways.
My next goal:
Add stopwatch logics
Add focus mode UI and logic
It’s gonna be harder, since I need to manage the storage caching.
The timer can also be paused, or reset.
Log in to leave a comment
In this 4 hours of work, I’ve worked on:
Upcoming plans:
Log in to leave a comment
In this ~14 hours of work, I’ve worked on:
Bug fixes:
Automatic width/height change when some of the elements overlap with the edges, to ensure that the elements don’t get cropped by the edges.
Other than that, the “create task” button has been changed to a static position (next to the title of “To-Do”) to avoid awkward positions like outside of the todo box.
Log in to leave a comment
I’ve just started this new project to learn a SolidJS.
In this commit, I’ve added a simple OOBE stage, which is still in progress. Will release an OOBE setup page in the next update
I also spent many time figuring out how to place the UI elements, but it’s. overall enjoyable!
Log in to leave a comment
In this new ship, I’ve updated many stuff!
Changelog:
I was really challenging as I actually had to solve many backend things like building Wails, and also requires patience when I had to update some of the functions to rendering better messages (renderResponse(output) in src.js)
This time, I’ve updated the AI box to use speech bubbles instead of pure text, since there have been complaints about the ugliness of the old versions
Also, I’ve built the Linux version of Wails so ALMOST everyone (well Linux ARM64 haven’t been built yet) can use Piston AI locally!
The reason that this devlog is 36 hours might seem impossible, but it’s an issue from FlavorTown itself, that it deducted ~36 hours from this project, and this devlog fixes it by adding back the 36 hours. This is not a fraud, and was verified by a FlavorTown staff.
Log in to leave a comment
After many many hours of work, I’ve finally successfully turned Piston AI from a website to a real webapp!
The reason why it took so long, is because of Tauri. I tried many ways to just embed the image files, changing the src.js to src.ts, and many other things.
But, I’ve decided to scrap the Tauri plan, and use Wails instead (uses Go instead of Rust). And in just 2-3 hours, I’ve finally embedded all the image files and modules to Piston AI with a working fetching system between the backend and the frontend!
What I will be working on in Piston AI, is creating a introduction page for Piston AI, for downloading the Piston AI binaries and also moving the original Piston AI website to a sub-page which will no longer be maintained since I’m moving on to the local version.
And compiling for Linux
Now it’s prepared to be shipped as a binary!!
Log in to leave a comment
In this ~4.5 hours of developing, I’ve added
Below are the official GitHub commits:
Log in to leave a comment
In this new update of shipping, I’ve added many stuff that made Piston AI better and more stable!
In this new update, I’ve completed the todoList, which I was working on before. You can now add any tasks pending! You can also create a task with a deadline, so you’d actually know you’ll have to finish that task by a date! It also will delete itself after the deadline has passed.
The most important part, is that all the tasks can be viewed by the AI, so you can literally ask it for guidance if… the task is homework lol
Log in to leave a comment
I’ve finally added the backend files to GitHub! It actually took a lot of time (about like 1.5 hours) since configuring Wrangler is PAINFUL!
And for the rest of the 1.5 hours, I’ve added a TODO list to the website. Also, no logic yet, and UI only (also painful for me to configure the position of the box). I also removed the alarm feature, since web-based alarms are… not convenient. You won’t see the box yet, since I’ve hidden it, but you can figure out the code and make it visible yourself!
The image below is the version of a visible TODO Box, which is just a preview (do this by pressing F12 to the dev console, make it in a separate window, type in
todoBox.style.visibility = “visible”
and hit enter. After that you will be able to see the box! (Bare minimal UI lol)
Log in to leave a comment
In this 3 hours of work, I’ve enhanced animations. But, most importantly. I’ve added the memory management back to Piston AI!! Now, just ask Piston like “Remember that my locker key is in my wallet”, and it will add the memory to your localStorage!!
Log in to leave a comment
In this new update, I’ve added motivative stuff, like daily quotes, better styling, like adding some linear gradient themes on widgets (inspired by iOS lol), and most importantly, I’ve placed the JavaScript scripts from the HTML file to another file “src.js” for easier debugging.
In this new update, I’ve made the hardcoded “Welcome back, (username)” to better greeting words like “Hey”, “Evening” and others, depending on the time!
I’ve also moved the JS code from index.html to an independent file “src.js”!
Btw the 23hrs of work, some of them is because I forgot to add them to this project when coding in Vim. It’s not a scam.
Log in to leave a comment
In this new update, I’ve been working on a new feature, the alarms function. Just like the older Python builds!! But, it’s still in-dev, so there’s only UI elements, not the logic and stuff. (Haven’t linked them yet)
Ofc, since this is a BETA build, I haven’t deployed the files to CloudFlare as a website yet, so stay tuned! Check the beta version out by downloading the source code from GitHub, and I’d recommend you to run it locally with Live Server (VSCode)
Log in to leave a comment
I’ve remade, literally every single thing! Everything is now shifted from Python to HTML, JS and CSS, with CloudFlare’s Workers AI as both STT and the main AI assistant! This is not the most stable version yet. I haven’t implemented all the commands, but telling the weather, time, and date, as well as clearing the chat works for now.
But, if you find the AI container annoying, click on it, and it will minimize itself!
Super Huge Update!!!!!
I’ve remade, basically every single thing. Everything is now shifted from Python to HTML, JS and CSS, with CloudFlare’s Workers AI as both STT and the main AI assistant! This is not the most stable version yet. I haven’t implemented all the commands, but telling the weather, time, and date, as well as clearing the chat works for now.
Btw, a container would pop up after you ask the AI. Click the container to minimize it.
Log in to leave a comment
I’ve replaced the plain STT engine with MicroWakeWord as the WakeWord engine. It’s more accurate, and prevents mis-detecting.
To train the model, you will first have to do “python setup.py”, and then it will guide you through training the model. You can either record “Hey Piston” as the wakeword, or choose your own wakeword. Just record your desired wakeword as it prompts you to.
Btw, don’t start saying the wakeword until “🔴 Recording… press ENTER to stop” pops up
And also, I’ve coded the script to abort the recognition when no one is talking. But if you said something, it would minus one in validCount, so the chat can go on.
Log in to leave a comment
In the previous 4.5 hours, I’ve rewritten the these things:
And yeah, I’ve also fixed the alarm.set.py, and tested to be successful. For AlarmGoOff.py, I’ve made it able to say the purpose (“label”) of alarm, and play a ringtone. Ringtone credit: pixabay.com
here’s an example format of an alarm in data/alarm/alarms.json. Feel free to edit anytime!
Log in to leave a comment
In the previous 7.5 hours of coding, I’ve added an alarm daemon, a weather app, and Piston’s main speech-to-text engine “VOSK” has been replaced by OpenAI’s FasterWhisper.
You can simply tell the AI to list, add and clear alarms in a natural way, e.g. “Wake me up at 8 in the morning.”
You can also ask the AI to tell you the weather like windspeed, temperature, and wind direction in your region.
For the STT model, it is now more accurate, and the recognition doesn’t suddenly stop when you’re still talking, by using the RMS technology to detect silence from the mic.