1 year ago
It's been a while since AquaShell finally reached a point where it is stable enough to be used for real-world applications. Meanwhile I have created various scripts that serve productive purposes. In this blog post I want to introduce some of them. For instance, I've created a Twitch Chatbot that can be very useful for various situations:
- Print useful links to various resources of the streamer
- Print GitHub stats of a repository
- Post some random quotes
- Let's users interact with each other
Furthermore I've recently created a script for the HortusFox community feature. The script checks if a new community photo is uploaded and - if that's the case - it will post it to Mastodon. The script is executed via a cronjob each 10 hours. While AquaShell is developed for Windows, in this case the script is executed with AquaShell using WINE on Ubuntu on a DigitalOcean droplet. And it works really fine.
* */10 * * * bash -c 'aquashell -e "scripts/mastodon/bot.dnys" >> /root/cronjob.log'
The executable file aquashell is a bash script that actually runs AquaShell under WINE passing possible arguments.
#!/bin/bash
cd /bin/AquaShell
WINEDEBUG=-all wine dnyAquaShell.exe "$@"
I'm looking forward to creating many more scripts and scripted applications using AquaShell.