1
0
Fork 0
mirror of https://git.sr.ht/~ashkeel/strimertul-website synced 2024-11-23 21:32:20 +00:00

move releases to website
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Ash Keel 2023-11-12 01:49:01 +01:00
parent f08e277943
commit 828e2a89c0
No known key found for this signature in database
GPG key ID: 53A9E9A6035DD109
50 changed files with 1884 additions and 102 deletions

View file

@ -8,7 +8,7 @@ You can interact with any part of strimertül through its API. In fact the main
## Kilovolt
The strimertül's API is a [Kilovolt](https://github.com/strimertul/kilovolt) server, a pub/sub key-value store accessible via websocket. Check [this repository](https://github.com/strimertul/kilovolt-clients) for a list of officially supported kilovolt clients (or submit your own). You should be able to easily build a client yourself by just creating a websocket connection and using the [Kilovolt protocol](https://github.com/strimertul/kilovolt/blob/main/PROTOCOL.md).
The strimertül's API is a [Kilovolt](https://git.sr.ht/~ashkeel/kilovolt) server, a pub/sub key-value store accessible via websocket. Check [this page](https://man.sr.ht/~ashkeel/kilovolt/clients.md) for a list of officially supported kilovolt clients (or submit your own). You should be able to easily build a client yourself by just creating a websocket connection and using the [Kilovolt protocol](https://git.sr.ht/~ashkeel/kilovolt/tree/main/item/PROTOCOL.md).
## Available keys/RPC/events

View file

@ -10,6 +10,6 @@ The focus of strimertül is power users, so expect edges to be rougher that you
Check the guides on the menu to get started and explore strimertül's features. If you need help or have questions of a more specific nature, feel free to reach out at any of the following places:
- [GitHub issues](https://github.com/strimertul/strimertul/issues)
- [strimertul-devel Mailing list](https://lists.sr.ht/~ashkeel/strimertul-devel)
- [Discord server](https://nebula.cafe/discord)
- [Email at strimertul@nebula.cafe](mailto://strimertul@nebula.cafe)

View file

@ -7,8 +7,8 @@ menu:
You can use or build third-party tools to interact with strimertül and some of its underlying services like the chat bot through the exposed Kilovolt API. Kilovolt works via websocket text messages and there's two main options for using it:
- Use one of the [existing client libraries](https://github.com/strimertul/kilovolt-clients/blob/master/README.md)
- Read through the [protocol](https://github.com/strimertul/kilovolt/blob/main/PROTOCOL.md) and make your own client
- Use one of the [existing client libraries](https://man.sr.ht/~ashkeel/kilovolt/clients.md)
- Read through the [protocol](https://git.sr.ht/~ashkeel/kilovolt/tree/main/item/PROTOCOL.md) and make your own client
Once you have sorted out a way to connect and talk Kilovolt, connect to the endpoint for your strimertül instance using this format:

View file

@ -16,4 +16,4 @@ The executable will create files in the folder it's run from, so it's heavily di
## Build from source
To build from source, go to the [project page on GitHub](https://github.com/strimertul/strimertul) and follow the "Development" and "Building" sections in the README file.
To build from source, go to the [project page on sourcehut](https://git.sr.ht/~ashkeel/strimertul) and follow the "Development" and "Building" sections in the README file.

View file

@ -0,0 +1,3 @@
---
title: All releases
---

View file

@ -0,0 +1,17 @@
---
tag: v1.5.0
title: v1.5.0
date: 2021-09-18T20:31:38Z
prerelease: false
---
## Downloads
- [strimertul_linux_amd64](https://github.com/strimertul/strimertul/releases/download/v1.5.0/strimertul_linux_amd64) (18.86 MiB)
- [strimertul_linux_arm](https://github.com/strimertul/strimertul/releases/download/v1.5.0/strimertul_linux_arm) (14.71 MiB)
- [strimertul_windows_amd64.exe](https://github.com/strimertul/strimertul/releases/download/v1.5.0/strimertul_windows_amd64.exe) (16.75 MiB)
- Source code: [source.zip](https://api.github.com/repos/strimertul/strimertul/zipball/v1.5.0) / [source.tar.gz](https://api.github.com/repos/strimertul/strimertul/tarball/v1.5.0)
This release was originally published on GitHub and converted, you can find the original release here: [v1.5.0 on GitHub](https://github.com/strimertul/strimertul/releases/tag/v1.5.0)

View file

@ -0,0 +1,19 @@
---
tag: v1.5.1
title: v1.5.1
date: 2021-10-05T11:09:42Z
prerelease: false
---
### Added
- Stulbe integration for alerts
## Downloads
- [strimertul_linux_amd64](https://github.com/strimertul/strimertul/releases/download/v1.5.1/strimertul_linux_amd64) (18.97 MiB)
- [strimertul_linux_arm](https://github.com/strimertul/strimertul/releases/download/v1.5.1/strimertul_linux_arm) (14.79 MiB)
- [strimertul_windows_amd64.exe](https://github.com/strimertul/strimertul/releases/download/v1.5.1/strimertul_windows_amd64.exe) (16.86 MiB)
- Source code: [source.zip](https://api.github.com/repos/strimertul/strimertul/zipball/v1.5.1) / [source.tar.gz](https://api.github.com/repos/strimertul/strimertul/tarball/v1.5.1)
This release was originally published on GitHub and converted, you can find the original release here: [v1.5.1 on GitHub](https://github.com/strimertul/strimertul/releases/tag/v1.5.1)

View file

@ -0,0 +1,19 @@
---
tag: v1.5.2
title: v1.5.2
date: 2021-11-05T21:58:08Z
prerelease: false
---
### Added
- Chat timers
## Downloads
- [strimertul_linux_amd64](https://github.com/strimertul/strimertul/releases/download/v1.5.2/strimertul_linux_amd64) (19.01 MiB)
- [strimertul_linux_arm](https://github.com/strimertul/strimertul/releases/download/v1.5.2/strimertul_linux_arm) (14.79 MiB)
- [strimertul_windows_amd64.exe](https://github.com/strimertul/strimertul/releases/download/v1.5.2/strimertul_windows_amd64.exe) (16.90 MiB)
- Source code: [source.zip](https://api.github.com/repos/strimertul/strimertul/zipball/v1.5.2) / [source.tar.gz](https://api.github.com/repos/strimertul/strimertul/tarball/v1.5.2)
This release was originally published on GitHub and converted, you can find the original release here: [v1.5.2 on GitHub](https://github.com/strimertul/strimertul/releases/tag/v1.5.2)

View file

@ -0,0 +1,19 @@
---
tag: v1.5.3
title: v1.5.3
date: 2021-11-12T22:26:02Z
prerelease: false
---
### Added
- Added KV RPC `twitch/@send-chat-message` for writing text messages to chat
## Downloads
- [strimertul_linux_amd64](https://github.com/strimertul/strimertul/releases/download/v1.5.3/strimertul_linux_amd64) (19.01 MiB)
- [strimertul_linux_arm](https://github.com/strimertul/strimertul/releases/download/v1.5.3/strimertul_linux_arm) (14.79 MiB)
- [strimertul_windows_amd64.exe](https://github.com/strimertul/strimertul/releases/download/v1.5.3/strimertul_windows_amd64.exe) (16.90 MiB)
- Source code: [source.zip](https://api.github.com/repos/strimertul/strimertul/zipball/v1.5.3) / [source.tar.gz](https://api.github.com/repos/strimertul/strimertul/tarball/v1.5.3)
This release was originally published on GitHub and converted, you can find the original release here: [v1.5.3 on GitHub](https://github.com/strimertul/strimertul/releases/tag/v1.5.3)

View file

@ -0,0 +1,25 @@
---
tag: v1.6.0
title: v1.6.0
date: 2021-11-21T21:39:25Z
prerelease: false
---
### Added
- KV Authentication using Kilovolt v6, check out [the authentication documentation](https://github.com/strimertul/kilovolt/blob/main/PROTOCOL.md#authentication) for more info.
### Changed
- The webserver now restarts when the bind address is changed, and the Web UI should auto-redirect to the new URL.
- The static server will react to configuration changes and auto-restart instead of requiring strimertul to be closed and reopened manually.
- Added a couple buttons in the secret debug page to dump all keys and their content
## Downloads
- [strimertul_linux_amd64](https://github.com/strimertul/strimertul/releases/download/v1.6.0/strimertul_linux_amd64) (18.10 MiB)
- [strimertul_linux_arm](https://github.com/strimertul/strimertul/releases/download/v1.6.0/strimertul_linux_arm) (13.94 MiB)
- [strimertul_windows_amd64.exe](https://github.com/strimertul/strimertul/releases/download/v1.6.0/strimertul_windows_amd64.exe) (15.99 MiB)
- Source code: [source.zip](https://api.github.com/repos/strimertul/strimertul/zipball/v1.6.0) / [source.tar.gz](https://api.github.com/repos/strimertul/strimertul/tarball/v1.6.0)
This release was originally published on GitHub and converted, you can find the original release here: [v1.6.0 on GitHub](https://github.com/strimertul/strimertul/releases/tag/v1.6.0)

View file

@ -0,0 +1,19 @@
---
tag: v1.6.1
title: v1.6.1
date: 2021-11-24T10:57:16Z
prerelease: false
---
### Changed
- Twitch and Stulbe modules now reload/restart when their configuration changes instead of requiring strimertul to be closed and reopened manually.
## Downloads
- [strimertul_linux_amd64](https://github.com/strimertul/strimertul/releases/download/v1.6.1/strimertul_linux_amd64) (18.56 MiB)
- [strimertul_linux_arm](https://github.com/strimertul/strimertul/releases/download/v1.6.1/strimertul_linux_arm) (14.29 MiB)
- [strimertul_windows_amd64.exe](https://github.com/strimertul/strimertul/releases/download/v1.6.1/strimertul_windows_amd64.exe) (16.46 MiB)
- Source code: [source.zip](https://api.github.com/repos/strimertul/strimertul/zipball/v1.6.1) / [source.tar.gz](https://api.github.com/repos/strimertul/strimertul/tarball/v1.6.1)
This release was originally published on GitHub and converted, you can find the original release here: [v1.6.1 on GitHub](https://github.com/strimertul/strimertul/releases/tag/v1.6.1)

View file

@ -0,0 +1,20 @@
---
tag: v1.6.2
title: v1.6.2
date: 2021-11-24T11:46:22Z
prerelease: false
---
### Fixed
- Fixed oversight in bot timer cooldown calculation that made them never start
- Fixed timer configuration never getting applied when changed
## Downloads
- [strimertul_linux_amd64](https://github.com/strimertul/strimertul/releases/download/v1.6.2/strimertul_linux_amd64) (18.56 MiB)
- [strimertul_linux_arm](https://github.com/strimertul/strimertul/releases/download/v1.6.2/strimertul_linux_arm) (14.29 MiB)
- [strimertul_windows_amd64.exe](https://github.com/strimertul/strimertul/releases/download/v1.6.2/strimertul_windows_amd64.exe) (16.46 MiB)
- Source code: [source.zip](https://api.github.com/repos/strimertul/strimertul/zipball/v1.6.2) / [source.tar.gz](https://api.github.com/repos/strimertul/strimertul/tarball/v1.6.2)
This release was originally published on GitHub and converted, you can find the original release here: [v1.6.2 on GitHub](https://github.com/strimertul/strimertul/releases/tag/v1.6.2)

View file

@ -0,0 +1,20 @@
---
tag: v1.6.3
title: v1.6.3
date: 2021-11-30T16:44:45Z
prerelease: false
---
### Added
- ACL on bot commands are now fully working and not a placeholder anymore!
- ACL level "Subscriber" for Twitch subscribers
## Downloads
- [strimertul_linux_amd64](https://github.com/strimertul/strimertul/releases/download/v1.6.3/strimertul_linux_amd64) (18.56 MiB)
- [strimertul_linux_arm](https://github.com/strimertul/strimertul/releases/download/v1.6.3/strimertul_linux_arm) (14.29 MiB)
- [strimertul_windows_amd64.exe](https://github.com/strimertul/strimertul/releases/download/v1.6.3/strimertul_windows_amd64.exe) (16.47 MiB)
- Source code: [source.zip](https://api.github.com/repos/strimertul/strimertul/zipball/v1.6.3) / [source.tar.gz](https://api.github.com/repos/strimertul/strimertul/tarball/v1.6.3)
This release was originally published on GitHub and converted, you can find the original release here: [v1.6.3 on GitHub](https://github.com/strimertul/strimertul/releases/tag/v1.6.3)

View file

@ -0,0 +1,38 @@
---
tag: v1.7.0
title: v1.7.0
date: 2021-12-07T00:25:59Z
prerelease: false
---
From this release onward I will try to add a small paragraph explaining what each release contains, you're reading the first one right now!
This release brings chat alerts (follow/raid/sub/cheer) so you can have your bot thank viewers for the support they just gave you in your unique way! Functionality is mostly built, but the UI still needs some work.
For users who might not be able to use the back-end integration, I'm looking into integrating a way to get sub/resub/cheer/raid and hosting (which is currently lacking due to not being available as eventsub) from the chat itself.
## Changelog
### Added
- **Chat alerts based on webhooks**: You can now add follow/sub/cheer/raid messages in chat. Basic messages are fully functional, advanced features are still in works (such as variations for certain thresholds, e.g. a different raid message if the raid has more than X viewers coming in).
- Strimertul now prints its own version when starting up, useful for troubleshooting.
### Changed
- Timers do not have a "enabled" toggle anymore, they are always enabled (just non-functional if you have none).
### Fixed
- Twitch bot: fixed command checking, previous matching only checked for prefix (eg. !verylong could be called by writing !verylonglongbaaah)
- DB was not getting garbage collected, this is now fixed with a GC run every 15 minutes.
## Downloads
- [strimertul_linux_amd64](https://github.com/strimertul/strimertul/releases/download/v1.7.0/strimertul_linux_amd64) (17.92 MiB)
- [strimertul_linux_arm](https://github.com/strimertul/strimertul/releases/download/v1.7.0/strimertul_linux_arm) (15.93 MiB)
- [strimertul_windows_amd64.exe](https://github.com/strimertul/strimertul/releases/download/v1.7.0/strimertul_windows_amd64.exe) (18.23 MiB)
- Source code: [source.zip](https://api.github.com/repos/strimertul/strimertul/zipball/v1.7.0) / [source.tar.gz](https://api.github.com/repos/strimertul/strimertul/tarball/v1.7.0)
This release was originally published on GitHub and converted, you can find the original release here: [v1.7.0 on GitHub](https://github.com/strimertul/strimertul/releases/tag/v1.7.0)

View file

@ -0,0 +1,53 @@
---
tag: v2.0.0-rc1
title: v2.0.0-rc1
date: 2022-01-22T12:11:11Z
prerelease: true
---
# WARNING: This is a pre-release!
## Release notes
This release contains so much stuff that it deserved the big version bump: new UI, tons of new options for database maintenance and extra keys to play around with.
Please feel free to explore the new UI and contact me if you have any suggestions or issues to report. The secret debug page is still there, and it's still quite rough.
## You should (not) use this.. ?
I am on the verge on recommending this or not even at this early stage. On one hand, I haven't had enough time to test it myself, but on the other, BadgerDB currently has a VERY NASTY bug that corrupts the database files in a completely unrecoverable way if your PC turns off due to power loss and that has made me lose a lot of important stuff. Because of the gravity of the problem, I have rushed a backup system which is currently not in the best shape but does work.
Starting with this release, the default will be for strimertul to dump the entire database in a `backups` folder every hour (the interval can be changed via command line parameter, and you can also disable the process altogether). There is no rotation system yet, so you will have to clean up the old backups when the folder gets too big. I hope to address this issue before the main v2 release.
There's also two kinds of backups: Automated backups use BadgerDB's own binary format and they can be restored using the `-restore` argument when launching strimertul. If your database is corrupted, delete it (the `data` folder) before starting strimertul.
Another kind of backup is a JSON file containing a dictionary with all the key/value pairs, they use the `-import`/`-export` arguments. This is more for modifying the database offline than actual backup, but it could work as backups in a pinch.
## Changelog
### Added
- **New UI**: Strimertul now features a more slick and better organized UI.
- **Database operations**: You can now export and import the entire database as JSON files
- **Database backups**: The database will periodically save optimized copies of itself in a backup directory, directory and intervals are both configurable, though for the time being you might need to periodically clean it before it becomes too large.
- **Manual garbage collection**: You can now launch strimertul with `--run-gc` to manually trigger garbage collection for the database. This will launch strimertul, execute a round of garbage collection and exit.
- **Exposed internal metrics via keys**: `twitch/chat-activity` and `twitch/stream-status` now expose previously internal-only info about the current stream.
### Changed
- A lot of the command line parameters have changed syntax (eg. from -noheader to -no-header), please check the new formats using `-h` if you rely on them.
- Database schema has slightly changed, strimertul will auto-migrate to the new format if it detects old schema in use.
- Twitch chat history doesn't have an explicit toggle anymore, they are always enabled unless the `chat_history` setting is set to 0.
## Known issues
- The update checker doesn't check if the current version is newer than the last stable, so it will show up all the time.
## Downloads
- [strimertul_linux_amd64](https://github.com/strimertul/strimertul/releases/download/v2.0.0-rc1/strimertul_linux_amd64) (25.07 MiB)
- [strimertul_linux_arm](https://github.com/strimertul/strimertul/releases/download/v2.0.0-rc1/strimertul_linux_arm) (22.84 MiB)
- [strimertul_windows_amd64.exe](https://github.com/strimertul/strimertul/releases/download/v2.0.0-rc1/strimertul_windows_amd64.exe) (25.38 MiB)
- Source code: [source.zip](https://api.github.com/repos/strimertul/strimertul/zipball/v2.0.0-rc1) / [source.tar.gz](https://api.github.com/repos/strimertul/strimertul/tarball/v2.0.0-rc1)
This release was originally published on GitHub and converted, you can find the original release here: [v2.0.0-rc1 on GitHub](https://github.com/strimertul/strimertul/releases/tag/v2.0.0-rc1)

View file

@ -0,0 +1,39 @@
---
tag: v2.0.0-rc2
title: v2.0.0-rc2
date: 2022-02-01T11:37:20Z
prerelease: true
---
# WARNING: This is a pre-release!
## Release notes
No new features or specific bug fixes compared to [v2.0.0-rc1](https://github.com/strimertul/strimertul/releases/tag/v2.0.0-rc1), however a lot of work has been done to add support for alternative database drivers and the logging library has been switched to one that isn't unmaintained.
## Changelog (compared to v2.0.0-rc1)
### Added
- **Multiple database options**: Strimertul now supports multiple databases drivers. BadgerDB will remain as default (and currently the only option) for the time being but other databases are coming in the future.
### Changed
- The logging library has been changed to [zap](//go.uber.org/zap), the format of logs will therefore be wildly different.
### Removed
- `--run-gc` is a very BadgerDB specific option and has been removed. Database garbage collection is still run every 15 minutes or so when running badger so it shouldn't be an issue.
- Loyalty point migration from v1.2.0 and earlier has been removed. If you are somehow running such an old version of strimertul and using loyalty points, run any version of strimertul between v1.3.0 and v1.7.0 first to make sure all points are migrated to the new format.
## Known issues
- The update checker doesn't check if the current version is newer than the last stable, so it will show up all the time.
## Downloads
- [strimertul_linux_amd64](https://github.com/strimertul/strimertul/releases/download/v2.0.0-rc2/strimertul_linux_amd64) (24.83 MiB)
- [strimertul_linux_arm](https://github.com/strimertul/strimertul/releases/download/v2.0.0-rc2/strimertul_linux_arm) (22.66 MiB)
- [strimertul_windows_amd64.exe](https://github.com/strimertul/strimertul/releases/download/v2.0.0-rc2/strimertul_windows_amd64.exe) (25.09 MiB)
- Source code: [source.zip](https://api.github.com/repos/strimertul/strimertul/zipball/v2.0.0-rc2) / [source.tar.gz](https://api.github.com/repos/strimertul/strimertul/tarball/v2.0.0-rc2)
This release was originally published on GitHub and converted, you can find the original release here: [v2.0.0-rc2 on GitHub](https://github.com/strimertul/strimertul/releases/tag/v2.0.0-rc2)

View file

@ -0,0 +1,50 @@
---
tag: v2.0.0
title: v2.0.0
date: 2022-02-01T14:06:58Z
prerelease: false
---
## Release notes
Strimertul 2.0 is here! But what is 2.0 exactly?
A lot of work has gone into redesigning various aspect of the software to make it nicer to use and less prone to data loss.
### New UI
The UI has been rebuilt from the ground up with a more striking and consistent styling. It's still not as responsive as I'd like, but it's definitely something I can work towards now. The old UI was born out of necessity to have something out quickly, and made me suffer pretty much from the get go.
### Backups and exporting/importing
BadgerDB has some unresolved data loss issues. I have lost power and my database which caused me several inconveniences and almost ruined an event. This should just not happen. From v2.0.0, a backup system is in place and enabled by default (see details on changelog), plus the entire database system was overhauled to allow for multiple database drivers, so that anyone can switch from BadgerDB to other future providers with ease.
## Changelog
### Added
- **New UI**: Strimertul now features a more slick and better organized UI.
- **Multiple database options**: Strimertul now supports multiple databases drivers. BadgerDB will remain as default (and currently the only option) for the time being but other databases are coming in the future.
- **Database operations**: You can now export and import the entire database as JSON files
- **Database backups**: The database will periodically save optimized copies of itself in a backup directory. Backup directory, intervals and how many to keep at once are all configurable via new command line flags (Defaults: "backup" directory in the current working directory, taken every hour, up to 20 backups).
- **Exposed internal metrics via keys**: `twitch/chat-activity` and `twitch/stream-status` now expose previously internal-only info about the current stream.
### Changed
- The logging library has been changed to zap, the format of logs will therefore be wildly different.
- A lot of the command line parameters have changed syntax (eg. from -noheader to -no-header), please check the new formats using `-h` if you rely on them.
- Database schema has slightly changed, strimertul will auto-migrate to the new format if it detects old schema in use.
### Removed
- Twitch chat history doesn't have an explicit toggle anymore, they are always enabled unless the `chat_history` setting is set to 0.
- Loyalty point migration from v1.2.0 and earlier has been removed. If you are somehow running such an old version of strimertul and using loyalty points, run any version of strimertul between v1.3.0 and v1.7.0 first to make sure all points are migrated to the new format.
## Downloads
- [strimertul_linux_amd64](https://github.com/strimertul/strimertul/releases/download/v2.0.0/strimertul_linux_amd64) (24.83 MiB)
- [strimertul_linux_arm](https://github.com/strimertul/strimertul/releases/download/v2.0.0/strimertul_linux_arm) (22.66 MiB)
- [strimertul_windows_amd64.exe](https://github.com/strimertul/strimertul/releases/download/v2.0.0/strimertul_windows_amd64.exe) (25.10 MiB)
- Source code: [source.zip](https://api.github.com/repos/strimertul/strimertul/zipball/v2.0.0) / [source.tar.gz](https://api.github.com/repos/strimertul/strimertul/tarball/v2.0.0)
This release was originally published on GitHub and converted, you can find the original release here: [v2.0.0 on GitHub](https://github.com/strimertul/strimertul/releases/tag/v2.0.0)

View file

@ -0,0 +1,44 @@
---
tag: v2.1.0
title: v2.1.0
date: 2022-02-08T20:49:06Z
prerelease: false
---
## Release notes
First alternative driver release! [Pebble](https://github.com/cockroachdb/pebble) is a LevelDB-style KV store from Cockroach Labs. It's much more simple than BadgerDB, so you're trading performance (that small streamers probably don't need) for a more robust and compact database.
This release also fixes a very problematic bug that makes strimertul irresponsive after a while if streaming to Twitch (only v2.0.0 is affected). If you are using v2.0.0, I suggest you upgrade as soon as possible!
### Migrating driver
If you are currently running strimertul with BadgerDB (which is still the default, for compatibility reasons) you can export your database as a JSON file using the `-export` CLI argument, like this:
```sh
strimertul -export dump.json
```
You can then delete/move the database directory (by default, `./data`) and re-run strimertul with the following command:
```sh
strimertul -import dump.json -driver pebble
```
You won't have to specify `-driver pebble` after the first run as strimertul will auto-detect what database is in use when launched.
## Changelog
### Added
- **Pebble driver**: You can now use [Pebble](https://github.com/cockroachdb/pebble) as a database. Just use `-driver=pebble`
- **Auto driver detection**: The `-driver` option now defaults to `auto`, which will try to identify which database is in use. This means the `-driver` argument is realistically only needed when you first start strimertul. `auto` defaults to BadgerDB if no database is found (to preserve compatibility)
### Fixed
- Fixed nasty sync bug that would make strimertul unresponsive when it would detect streaming on Twitch.
## Downloads
- [strimertul_linux_amd64](https://github.com/strimertul/strimertul/releases/download/v2.1.0/strimertul_linux_amd64) (31.22 MiB)
- [strimertul_linux_arm](https://github.com/strimertul/strimertul/releases/download/v2.1.0/strimertul_linux_arm) (26.28 MiB)
- [strimertul_windows_amd64.exe](https://github.com/strimertul/strimertul/releases/download/v2.1.0/strimertul_windows_amd64.exe) (29.13 MiB)
- Source code: [source.zip](https://api.github.com/repos/strimertul/strimertul/zipball/v2.1.0) / [source.tar.gz](https://api.github.com/repos/strimertul/strimertul/tarball/v2.1.0)
This release was originally published on GitHub and converted, you can find the original release here: [v2.1.0 on GitHub](https://github.com/strimertul/strimertul/releases/tag/v2.1.0)

View file

@ -0,0 +1,29 @@
---
tag: v2.1.1
title: v2.1.1
date: 2022-03-24T09:22:06Z
prerelease: false
---
## Release notes
This is just a minor release with some dependencies updates before I embark into a bigger feature. Nothing important to note except that the chatbot got the biggest change and its message format is now slightly different.
## Changelog
### Added
- [pprof](https://github.com/google/pprof) endpoints have been added for taking CPU/memory snapshots at `/debug/pprof`
### Changed
- Updated dependencies, most notably the Twitch IRC bot has been bumped to v3 and now includes emoji positions for easier embedding of them in chat overlays.
## Downloads
- [strimertul_linux_amd64](https://github.com/strimertul/strimertul/releases/download/v2.1.1/strimertul_linux_amd64) (31.55 MiB)
- [strimertul_linux_arm](https://github.com/strimertul/strimertul/releases/download/v2.1.1/strimertul_linux_arm) (26.55 MiB)
- [strimertul_windows_amd64.exe](https://github.com/strimertul/strimertul/releases/download/v2.1.1/strimertul_windows_amd64.exe) (29.47 MiB)
- Source code: [source.zip](https://api.github.com/repos/strimertul/strimertul/zipball/v2.1.1) / [source.tar.gz](https://api.github.com/repos/strimertul/strimertul/tarball/v2.1.1)
This release was originally published on GitHub and converted, you can find the original release here: [v2.1.1 on GitHub](https://github.com/strimertul/strimertul/releases/tag/v2.1.1)

View file

@ -0,0 +1,76 @@
---
tag: v3.0.0-beta.1
title: v3.0.0-beta.1
date: 2022-11-25T18:38:05Z
prerelease: true
---
### This is a beta release!
Things still need ironing out, documentation is very outdated, you know the drill! Feel free to try it out and report any issue though!
Since some of the remaining works is related to CI building, I can only provide Windows amd64 binaries, apologies!
## Release notes
First beta of v3! This marks a huge step forward for strimertul, in particular because:
### Strimertul is now a GUI app
Something that's unusual (but not unheard of) is that strimertul is a command line application with a WebUI, but really should just be a GUI app. My personal experience with web development made the web ui much easier to develop with and I wasn't going to do Electron because of the many issues it brings (big file sizes, big memory usage, unpatched chromiums, etc.) however [Wails](https://wails.io/) strikes a perfect balance by using the OS' internal renderer (so if you're on Windows, that means Edge).
Builds should be light and snappy, please report back if that is not the case for you!
### Twitch integration with EventSub websocket
Ever since v1, the biggest hurdle to my plan of "single self-hosted .exe for all your streaming needs" was that EventSub, Twitch's event subscription service for notifications/alerts, required a publicly reacheable HTTP URL for the webhook transport, while a promised websockets transport was under development. This was solved by moving part of the logic on a hosted server but it was less than ideal.
I tried experimenting with ngrok and cloudflare ARGO tunnels but I couldn't come up with a satisfying solution.
Strimertul v3 uses the websocket transport (via beta endpoint, Twitch has not announced general availability for websocket eventsub yet at the time of writing) and is therefore fully autonomous!
### 🦀 BadgerDB is gone 🦀
An endless stream of headaches and first-time use issues, BadgerDB was my first choice for a database and my biggest regret so far. I've been using Pebble (the alternative database) for almost a year with no issues and I think it's time to tell this mammal goodbye!
If you need to migrate, run the following command in a Command prompt with strimertul v2:
```
.\strimertul_windows_amd64.exe -export > exported.json
```
check that `exported.json` is a correctly looking JSON file, move your `data` (or whatever database directory you are using) somewhere else,
then run this command on strimertul v3:
```
.\strimertul.exe import -f exported.json
```
and you should be good to go!
## Changelog
### Removed
- Stulbe support has been nuked across the board, see on Added for more notes
- Badger has been removed as a possible database, see v3 release notes on migration procedures.
### Added
- Added support for EventSub Websocket subscriptions on Twitch, making Twitch integration fully in-app without having to rely on third party servers. Check the "Events" tab in Twitch configuration for setting it up. The new keys for redeems are `twitch/ev/eventsub-event` and `twitch/eventsub-history`. History has been reduced to 50 to alleviate memory concerns.
- Application logs are now visible from the UI, check the little floating boxes in the top right!
### Changed
- Strimertul is now a GUI app using Wails
- The UI has been more tightly integrated with the underlying service meaning the kilovolt password will never be asked again
- Database operations (import/export/restore) are now done through a much nicer CLI interface rather than random flags, check `strimertul --help` for more info on usage.
- Changed behavior of database submodule to always return an empty key instead of NotExist errors.
### Fixed
- Fixed `game` command not working when the specified channel contained the @ symbol at the beginning.
- Fixed strimertul crashing at start if the database folder didn't exist and a database driver was not manually specified
- Fixed strimertul crashing after a minute of being open if Twitch was not configured.
## Downloads
- [strimertul.exe](https://github.com/strimertul/strimertul/releases/download/v3.0.0-beta.1/strimertul.exe) (11.94 MiB)
- Source code: [source.zip](https://api.github.com/repos/strimertul/strimertul/zipball/v3.0.0-beta.1) / [source.tar.gz](https://api.github.com/repos/strimertul/strimertul/tarball/v3.0.0-beta.1)
This release was originally published on GitHub and converted, you can find the original release here: [v3.0.0-beta.1 on GitHub](https://github.com/strimertul/strimertul/releases/tag/v3.0.0-beta.1)

View file

@ -0,0 +1,97 @@
---
tag: v3.0.0-beta.2
title: v3.0.0-beta.2
date: 2022-12-04T20:31:52Z
prerelease: true
---
### This is a beta release!
Things still need ironing out, documentation is very outdated, you know the drill! Feel free to try it out and report any issue though!
Since some of the remaining works is related to CI building, I can only provide Windows amd64 binaries, apologies!
### Since beta.1
Since the previous beta, the following has changed:
- Many UI dialogs are now positioned near the top rather than vertically centered to prevent elements from moving too much as the dialog size changes
- Many parts of the app should now react to configuration changes without requiring a full application restart.
- The cursor in redeem/goal ID fields will now keep its position when sanitizing names (e.g. turning a whitespace to a dash) instead of jumping to the end
- The scrollbar does not overlap the copy button in the log window
- A new app icon drawn by [Sonic_chan](https://twitter.com/Sonic__Chan), say hello to Renko, strimertul's mascot!
- The UI will now prevent users from overwriting existing bot commands/timers
- Fixed issue where console output and commands were not available on Windows
The following release notes match those of beta.1, with the changelog reporting a few more things added in beta.2.
## Release notes
It's strimertül v3! This marks a huge step forward for strimertul, in particular because:
### Strimertul is now a GUI app
Something that's unusual (but not unheard of) is that strimertul is a command line application with a WebUI, but really should just be a GUI app. My personal experience with web development made the web ui much easier to develop with and I wasn't going to do Electron because of the many issues it brings (big file sizes, big memory usage, unpatched chromiums, etc.) however [Wails](https://wails.io/) strikes a perfect balance by using the OS' internal renderer (so if you're on Windows, that means Edge).
Builds should be light and snappy, please report back if that is not the case for you!
### Twitch integration with EventSub websocket
Ever since v1, the biggest hurdle to my plan of "single self-hosted .exe for all your streaming needs" was that EventSub, Twitch's event subscription service for notifications/alerts, required a publicly reacheable HTTP URL for the webhook transport, while a promised websockets transport was under development. This was solved by moving part of the logic on a hosted server but it was less than ideal.
I tried experimenting with ngrok and cloudflare ARGO tunnels but I couldn't come up with a satisfying solution.
Strimertul v3 uses the websocket transport (via beta endpoint, Twitch has not announced general availability for websocket eventsub yet at the time of writing) and is therefore fully autonomous!
### 🦀 BadgerDB is gone 🦀
An endless stream of headaches and first-time use issues, BadgerDB was my first choice for a database and my biggest regret so far. I've been using Pebble (the alternative database) for almost a year with no issues and I think it's time to tell this mammal goodbye!
If you need to migrate, run the following command in a Command prompt with strimertul v2:
```
.\strimertul_windows_amd64.exe -export > exported.json
```
check that `exported.json` is a correctly looking JSON file, move your `data` (or whatever database directory you are using) somewhere else,
then run this command on strimertul v3:
```
.\strimertul.exe import -f exported.json
```
and you should be good to go!
## Changelog
### Removed
- Stulbe support has been nuked across the board, see on Added for more notes
- Badger has been removed as a possible database, see v3 release notes on migration procedures.
### Added
- Added support for EventSub Websocket subscriptions on Twitch, making Twitch integration fully in-app without having to rely on third party servers. Check the "Events" tab in Twitch configuration for setting it up. The new keys for redeems are `twitch/ev/eventsub-event` and `twitch/eventsub-history`. History has been reduced to 50 to alleviate memory concerns.
- Application logs are now visible from the UI, check the little floating boxes in the top right!
- A new app icon drawn by [Sonic_chan](https://twitter.com/Sonic__Chan), say hello to Renko, strimertul's mascot!
### Changed
- Strimertul is now a GUI app using Wails
- The UI has been more tightly integrated with the underlying service meaning the kilovolt password will never be asked again
- Database operations (import/export/restore) are now done through a much nicer CLI interface rather than random flags, check `strimertul --help` for more info on usage.
- Changed behavior of database submodule to always return an empty key instead of NotExist errors.
- Many UI dialogs are now positioned near the top rather than vertically centered to prevent elements from moving too much as the dialog size changes
- The UI will now prevent users from overwriting existing bot commands/timers
### Fixed
- Many parts of the app should now react to configuration changes without requiring a full application restart.
- The cursor in redeem/goal ID fields will now keep its position when sanitizing names (e.g. turning a whitespace to a dash) instead of jumping to the end
- The scrollbar does not overlap the copy button in the log window
- Fixed `game` command not working when the specified channel contained the @ symbol at the beginning.
- Fixed strimertul crashing at start if the database folder didn't exist and a database driver was not manually specified
- Fixed strimertul crashing after a minute of being open if Twitch was not configured.
## Downloads
- [strimertul-3beta2.exe](https://github.com/strimertul/strimertul/releases/download/v3.0.0-beta.2/strimertul-3beta2.exe) (12.60 MiB)
- Source code: [source.zip](https://api.github.com/repos/strimertul/strimertul/zipball/v3.0.0-beta.2) / [source.tar.gz](https://api.github.com/repos/strimertul/strimertul/tarball/v3.0.0-beta.2)
This release was originally published on GitHub and converted, you can find the original release here: [v3.0.0-beta.2 on GitHub](https://github.com/strimertul/strimertul/releases/tag/v3.0.0-beta.2)

View file

@ -0,0 +1,16 @@
---
tag: v3.0.0-beta.3-1
title: v3.0.0-beta.3-1
date: 2022-12-23T11:23:43Z
prerelease: true
---
CI builds for beta.3, a Linux build (macos tbd since we're having issues) and the Windows build does not trigger Windows Defender warnings anymore!
## Downloads
- [strimertul-linux-amd64](https://github.com/strimertul/strimertul/releases/download/v3.0.0-beta.3-1/strimertul-linux-amd64) (12.61 MiB)
- [strimertul-windows.exe](https://github.com/strimertul/strimertul/releases/download/v3.0.0-beta.3-1/strimertul-windows.exe) (25.61 MiB)
- Source code: [source.zip](https://api.github.com/repos/strimertul/strimertul/zipball/v3.0.0-beta.3-1) / [source.tar.gz](https://api.github.com/repos/strimertul/strimertul/tarball/v3.0.0-beta.3-1)
This release was originally published on GitHub and converted, you can find the original release here: [v3.0.0-beta.3-1 on GitHub](https://github.com/strimertul/strimertul/releases/tag/v3.0.0-beta.3-1)

View file

@ -0,0 +1,105 @@
---
tag: v3.0.0-beta.3
title: v3.0.0-beta.3
date: 2022-12-22T23:46:19Z
prerelease: true
---
### This is a beta release!
Things still need ironing out, documentation is very outdated, you know the drill! Feel free to try it out and report any issue though!
Since some of the remaining works is related to CI building, I can only provide Windows amd64 binaries, apologies!
### Since beta.2
Since the previous beta, the following has changed:
- Added onboarding via guided procedure on setting up Twitch integration.
- Added a language selector and a fully finished Italian translation
- Added a button to test if the specified Twitch app Client ID and secret are valid
- Added Reveal/Hide button to password fields like secret keys and access tokens
- Running kilovolt without a password is now heavily discouraged and a big warning will try to stop you
- A random Kilovolt password is now generated on first boot instead of leaving the server unprotected
The following release notes mostly match beta.2, with the extra bits added in beta.3.
## Release notes
It's strimertül v3! This marks a huge step forward for strimertül, in particular because:
### Strimertül is now a GUI app
Something that's unusual (but not unheard of) is that strimertül is a command line application with a WebUI, but really should just be a GUI app. My personal experience with web development made the web ui much easier to develop with and I wasn't going to do Electron because of the many issues it brings (big file sizes, big memory usage, unpatched chromiums, etc.) however [Wails](https://wails.io/) strikes a perfect balance by using the OS' internal renderer (so if you're on Windows, that means Edge).
Builds should be light and snappy, please report back if that is not the case for you!
### First user experience
Setting up strimertül is a bit more complex experience than competing solutions and the first user experience hasn't been focused on until now. Booting up strimertül for the first time will now being a guided setup procedure (called onboarding) with (hopefully) helpful step-by-step tasks to get started with strimertül
### Twitch integration with EventSub websocket
Ever since v1, the biggest hurdle to my plan of "single self-hosted .exe for all your streaming needs" was that EventSub, Twitch's event subscription service for notifications/alerts, required a publicly reacheable HTTP URL for the webhook transport, while a promised websockets transport was under development. This was solved by moving part of the logic on a hosted server but it was less than ideal.
I tried experimenting with ngrok and cloudflare ARGO tunnels but I couldn't come up with a satisfying solution.
strimertül v3 uses the websocket transport (via beta endpoint, Twitch has not announced general availability for websocket eventsub yet at the time of writing) and is therefore fully autonomous!
### 🦀 BadgerDB is gone 🦀
An endless stream of headaches and first-time use issues, BadgerDB was my first choice for a database and my biggest regret so far. I've been using Pebble (the alternative database) for almost a year with no issues and I think it's time to tell this mammal goodbye!
If you need to migrate, run the following command in a Command prompt with strimertül v2:
```
.\strimertul_windows_amd64.exe -export > exported.json
```
check that `exported.json` is a correctly looking JSON file, move your `data` (or whatever database directory you are using) somewhere else,
then run this command on strimertül v3:
```
.\strimertul.exe import -f exported.json
```
and you should be good to go!
## Changelog
### Added
- Added support for EventSub Websocket subscriptions on Twitch, making Twitch integration fully in-app without having to rely on third party servers. Check the "Events" tab in Twitch configuration for setting it up. The new keys for redeems are `twitch/ev/eventsub-event` and `twitch/eventsub-history`. History has been reduced to 50 to alleviate memory concerns.
- A new onboarding procedure will walk first time users through setting up Twitch integration, including bot credentials (by default, the same user is used as bot).
- Application logs are now visible from the UI, check the little floating boxes in the top right!
- A new app icon drawn by [Sonic_chan](https://twitter.com/Sonic__Chan), say hello to Renko, strimertul's mascot!
- Hidden fields (Client secret, Kilovolt password) now have a "Reveal" toggle to show the hidden value
- Added a "Test connection" button in the Twitch API access page to check if the provided Client ID and secret are valid and functional
- Added language selection (so far English and Italian are the only supported languages)
### Changed
- Strimertul is now a GUI app using Wails
- The UI has been more tightly integrated with the underlying service meaning the kilovolt password will never be asked again
- Database operations (import/export/restore) are now done through a much nicer CLI interface rather than random flags, check `strimertul --help` for more info on usage.
- Changed behavior of database submodule to always return an empty key instead of NotExist errors.
- Many UI dialogs are now positioned near the top rather than vertically centered to prevent elements from moving too much as the dialog size changes
- The UI will now prevent users from overwriting existing bot commands/timers
- A password for the kilovolt server will be auto-generated when starting strimertul for the first time
- A big scary dialog will appear when changing the server config to have an empty kilovolt password
### Fixed
- Many parts of the app should now react to configuration changes without requiring a full application restart.
- The cursor in redeem/goal ID fields will now keep its position when sanitizing names (e.g. turning a whitespace to a dash) instead of jumping to the end
- The scrollbar does not overlap the copy button in the log window
- Fixed `game` command not working when the specified channel contained the @ symbol at the beginning.
- Fixed strimertul crashing at start if the database folder didn't exist and a database driver was not manually specified
- Fixed strimertul crashing after a minute of being open if Twitch was not configured.
### Removed
- Stulbe support has been removed across the board, see on Added for more notes
- Badger has been removed as a possible database, see v3 release notes on migration procedures.
- The link to Ash Keel's Twitter profile has been removed
## Downloads
- [strimertul.exe](https://github.com/strimertul/strimertul/releases/download/v3.0.0-beta.3/strimertul.exe) (12.31 MiB)
- Source code: [source.zip](https://api.github.com/repos/strimertul/strimertul/zipball/v3.0.0-beta.3) / [source.tar.gz](https://api.github.com/repos/strimertul/strimertul/tarball/v3.0.0-beta.3)
This release was originally published on GitHub and converted, you can find the original release here: [v3.0.0-beta.3 on GitHub](https://github.com/strimertul/strimertul/releases/tag/v3.0.0-beta.3)

View file

@ -0,0 +1,108 @@
---
tag: v3.0.0-rc.1
title: v3.0.0-rc.1
date: 2022-12-24T14:54:07Z
prerelease: true
---
### This is an unfinished release!
All known bugs have been squashed, but documentation is still quite rough! Feel free to try it out and report any issue though!
We finally got macOS and Linux binaries, I haven't tested those so please report any findings if you try them out!
### Since beta.3
Since the previous beta, the following has changed:
- We now supply CI-built releases for multiple platforms, with the following notes:
- The Windows build should trigger Windows defender less often (we also updated UPX to 4.0.1)
- The macOS release is not notarized, so you will probably need to mess with Gatekeeper
- Fixed issue where changing Twitch bot settings would not close the existing instance leading to duplicate messages/events
- Fixed issue where deleted commands would still work until strimertül was restarted
- Clicking the log icons in the top right now will default to show any logs of that level and up, rather than just the level (eg. clicking the info bubble will show info+warning+errors)
The following release notes mostly match beta.3, with the extra bits added in rc.1.
## Release notes
It's strimertül v3! This marks a huge step forward for strimertül, in particular because:
### Strimertül is now a GUI app
Something that's unusual (but not unheard of) is that strimertül is a command line application with a WebUI, but really should just be a GUI app. My personal experience with web development made the web ui much easier to develop with and I wasn't going to do Electron because of the many issues it brings (big file sizes, big memory usage, unpatched chromiums, etc.) however [Wails](https://wails.io/) strikes a perfect balance by using the OS' internal renderer (so if you're on Windows, that means Edge).
Builds should be light and snappy, please report back if that is not the case for you!
### First user experience
Setting up strimertül is a bit more complex experience than competing solutions and the first user experience hasn't been focused on until now. Booting up strimertül for the first time will now being a guided setup procedure (called onboarding) with (hopefully) helpful step-by-step tasks to get started with strimertül
### Twitch integration with EventSub websocket
Ever since v1, the biggest hurdle to my plan of "single self-hosted .exe for all your streaming needs" was that EventSub, Twitch's event subscription service for notifications/alerts, required a publicly reacheable HTTP URL for the webhook transport, while a promised websockets transport was under development. This was solved by moving part of the logic on a hosted server but it was less than ideal.
I tried experimenting with ngrok and cloudflare ARGO tunnels but I couldn't come up with a satisfying solution.
strimertül v3 uses the websocket transport (via beta endpoint, Twitch has not announced general availability for websocket eventsub yet at the time of writing) and is therefore fully autonomous!
### 🦀 BadgerDB is gone 🦀
An endless stream of headaches and first-time use issues, BadgerDB was my first choice for a database and my biggest regret so far. I've been using Pebble (the alternative database) for almost a year with no issues and I think it's time to tell this mammal goodbye!
If you need to migrate, run the following command in a Command prompt with strimertül v2:
```
.\strimertul_windows_amd64.exe -export > exported.json
```
check that `exported.json` is a correctly looking JSON file, move your `data` (or whatever database directory you are using) somewhere else,
then run this command on strimertül v3:
```
.\strimertul.exe import -f exported.json
```
and you should be good to go!
## Changelog
### Added
- Added support for EventSub Websocket subscriptions on Twitch, making Twitch integration fully in-app without having to rely on third party servers. Check the "Events" tab in Twitch configuration for setting it up. The new keys for redeems are `twitch/ev/eventsub-event` and `twitch/eventsub-history`. History has been reduced to 50 to alleviate memory concerns.
- A new onboarding procedure will walk first time users through setting up Twitch integration, including bot credentials (by default, the same user is used as bot).
- Application logs are now visible from the UI, check the little floating boxes in the top right!
- A new app icon drawn by [Sonic_chan](https://twitter.com/Sonic__Chan), say hello to Renko, strimertul's mascot!
- Hidden fields (Client secret, Kilovolt password) now have a "Reveal" toggle to show the hidden value
- Added a "Test connection" button in the Twitch API access page to check if the provided Client ID and secret are valid and functional
- Added language selection (so far English and Italian are the only supported languages)
### Changed
- Strimertul is now a GUI app using Wails
- The UI has been more tightly integrated with the underlying service meaning the kilovolt password will never be asked again
- Database operations (import/export/restore) are now done through a much nicer CLI interface rather than random flags, check `strimertul --help` for more info on usage.
- Changed behavior of database submodule to always return an empty key instead of NotExist errors.
- Many UI dialogs are now positioned near the top rather than vertically centered to prevent elements from moving too much as the dialog size changes
- The UI will now prevent users from overwriting existing bot commands/timers
- A password for the kilovolt server will be auto-generated when starting strimertul for the first time
- A big scary dialog will appear when changing the server config to have an empty kilovolt password
### Fixed
- Many parts of the app should now react to configuration changes without requiring a full application restart.
- The cursor in redeem/goal ID fields will now keep its position when sanitizing names (e.g. turning a whitespace to a dash) instead of jumping to the end
- The scrollbar does not overlap the copy button in the log window
- Fixed `game` command not working when the specified channel contained the @ symbol at the beginning.
- Fixed strimertul crashing at start if the database folder didn't exist and a database driver was not manually specified
- Fixed strimertul crashing after a minute of being open if Twitch was not configured.
- Fixed issue where deleted commands would still be functional until strimertul was restarted
### Removed
- Stulbe support has been removed across the board, see on Added for more notes
- Badger has been removed as a possible database, see v3 release notes on migration procedures.
- The link to Ash Keel's Twitter profile has been removed
## Downloads
- [strimertul-linux-amd64](https://github.com/strimertul/strimertul/releases/download/v3.0.0-rc.1/strimertul-linux-amd64) (24.44 MiB)
- [strimertul.dmg](https://github.com/strimertul/strimertul/releases/download/v3.0.0-rc.1/strimertul.dmg) (28.15 MiB)
- [strimertul.exe](https://github.com/strimertul/strimertul/releases/download/v3.0.0-rc.1/strimertul.exe) (25.61 MiB)
- Source code: [source.zip](https://api.github.com/repos/strimertul/strimertul/zipball/v3.0.0-rc.1) / [source.tar.gz](https://api.github.com/repos/strimertul/strimertul/tarball/v3.0.0-rc.1)
This release was originally published on GitHub and converted, you can find the original release here: [v3.0.0-rc.1 on GitHub](https://github.com/strimertul/strimertul/releases/tag/v3.0.0-rc.1)

View file

@ -0,0 +1,90 @@
---
tag: v3.0.0
title: v3.0.0
date: 2023-01-08T23:12:28Z
prerelease: false
---
## Release notes
It's strimertül v3! This marks a huge step forward for strimertül, in particular because:
### Strimertül is now a GUI app
Something that's unusual (but not unheard of) is that strimertül is a command line application with a WebUI, but really should just be a GUI app. My personal experience with web development made the web ui much easier to develop with and I wasn't going to do Electron because of the many issues it brings (big file sizes, big memory usage, unpatched chromiums, etc.) however [Wails](https://wails.io/) strikes a perfect balance by using the OS' internal renderer (so if you're on Windows, that means Edge).
Builds should be light and snappy, please report back if that is not the case for you!
### First user experience
Setting up strimertül is a bit more complex experience than competing solutions and the first user experience hasn't been focused on until now. Booting up strimertül for the first time will now being a guided setup procedure (called onboarding) with (hopefully) helpful step-by-step tasks to get started with strimertül
### Twitch integration with EventSub websocket
Ever since v1, the biggest hurdle to my plan of "single self-hosted .exe for all your streaming needs" was that EventSub, Twitch's event subscription service for notifications/alerts, required a publicly reacheable HTTP URL for the webhook transport, while a promised websockets transport was under development. This was solved by moving part of the logic on a hosted server but it was less than ideal.
I tried experimenting with ngrok and cloudflare ARGO tunnels but I couldn't come up with a satisfying solution.
strimertül v3 uses the websocket transport (via beta endpoint, Twitch has not announced general availability for websocket eventsub yet at the time of writing) and is therefore fully autonomous!
### 🦀 BadgerDB is gone 🦀
An endless stream of headaches and first-time use issues, BadgerDB was my first choice for a database and my biggest regret so far. I've been using Pebble (the alternative database) for almost a year with no issues and I think it's time to tell this mammal goodbye!
If you need to migrate, run the following command in a Command prompt with strimertül v2:
```
.\strimertul_windows_amd64.exe -export > exported.json
```
check that `exported.json` is a correctly looking JSON file, move your `data` (or whatever database directory you are using) somewhere else,
then run this command on strimertül v3:
```
.\strimertul.exe import -f exported.json
```
and you should be good to go!
## Changelog
### Added
- Added support for EventSub Websocket subscriptions on Twitch, making Twitch integration fully in-app without having to rely on third party servers. Check the "Events" tab in Twitch configuration for setting it up. The new keys for redeems are `twitch/ev/eventsub-event` and `twitch/eventsub-history`. History has been reduced to 50 to alleviate memory concerns.
- A new onboarding procedure will walk first time users through setting up Twitch integration, including bot credentials (by default, the same user is used as bot).
- Application logs are now visible from the UI, check the little floating boxes in the top right!
- A new app icon drawn by [Sonic_chan](https://twitter.com/Sonic__Chan), say hello to Renko, strimertul's mascot!
- Hidden fields (Client secret, Kilovolt password) now have a "Reveal" toggle to show the hidden value
- Added a "Test connection" button in the Twitch API access page to check if the provided Client ID and secret are valid and functional
- Added language selection (so far English and Italian are the only supported languages)
### Changed
- Strimertul is now a GUI app using Wails
- The UI has been more tightly integrated with the underlying service meaning the kilovolt password will never be asked again
- Database operations (import/export/restore) are now done through a much nicer CLI interface rather than random flags, check `strimertul --help` for more info on usage.
- Changed behavior of database submodule to always return an empty key instead of NotExist errors.
- Many UI dialogs are now positioned near the top rather than vertically centered to prevent elements from moving too much as the dialog size changes
- The UI will now prevent users from overwriting existing bot commands/timers
- A password for the kilovolt server will be auto-generated when starting strimertul for the first time
- A big scary dialog will appear when changing the server config to have an empty kilovolt password
### Fixed
- Many parts of the app should now react to configuration changes without requiring a full application restart.
- The cursor in redeem/goal ID fields will now keep its position when sanitizing names (e.g. turning a whitespace to a dash) instead of jumping to the end
- The scrollbar does not overlap the copy button in the log window
- Fixed `game` command not working when the specified channel contained the @ symbol at the beginning.
- Fixed strimertul crashing at start if the database folder didn't exist and a database driver was not manually specified
- Fixed strimertul crashing after a minute of being open if Twitch was not configured.
- Fixed issue where deleted commands would still be functional until strimertul was restarted
### Removed
- Stulbe support has been removed across the board, see on Added for more notes
- Badger has been removed as a possible database, see v3 release notes on migration procedures.
- The link to Ash Keel's Twitter profile has been removed
## Downloads
- [strimertul-linux-amd64](https://github.com/strimertul/strimertul/releases/download/v3.0.0/strimertul-linux-amd64) (24.44 MiB)
- [strimertul.dmg](https://github.com/strimertul/strimertul/releases/download/v3.0.0/strimertul.dmg) (28.78 MiB)
- [strimertul.exe](https://github.com/strimertul/strimertul/releases/download/v3.0.0/strimertul.exe) (25.61 MiB)
- Source code: [source.zip](https://api.github.com/repos/strimertul/strimertul/zipball/v3.0.0) / [source.tar.gz](https://api.github.com/repos/strimertul/strimertul/tarball/v3.0.0)
This release was originally published on GitHub and converted, you can find the original release here: [v3.0.0 on GitHub](https://github.com/strimertul/strimertul/releases/tag/v3.0.0)

View file

@ -0,0 +1,75 @@
---
tag: v3.1.0-beta.1
title: v3.1.0-beta.1
date: 2023-02-16T00:15:33Z
prerelease: true
---
**UPGRADE NOTE**: If upgrading from an earlier version, please re-authenticate your user to make sure it has a necessary new permission for the loyalty system to work.
## Release Notes
### New feature: Recent events and replay button
![Event list](https://user-images.githubusercontent.com/83539179/219223537-dde6c8ab-6272-4c58-bc3d-8d52aee5f1b2.png)
The dashboard is now less empty thanks to a list of recent events. Keep in mind that this list only refers to events that have happened while strimertül is open and its current main purpose is for the replay feature. By clicking the icon on the right the event will be re-broadcasted on the kilovolt server, e.g. for testing overlays.
Up to 100 events are shown in the list. Please be aware that some events are not combined (Twitch gift subs show up as two events, for example.)
### New feature: Extensions
![Extension editor](https://user-images.githubusercontent.com/83539179/219224144-4baa0b66-b705-45ba-84d1-16241a6b0252.png)
One of strimertül strongest points is how extensible and modular it is, however sometimes taking advantage of that requires building external applications which add more and more steps to get a stream going. Extensions are scripts that are run within strimertül. They are similar to [userscripts](https://en.wikipedia.org/wiki/Userscript) but support Typescript and run in their own dedicated thread.
An integrated editor (using Monaco, the same technology used by Visual Studio Code) will let you prototype to your hearts content but you can always use whatever editor you prefer. Scripts are stored in Kilovolt and not in any filesystem, there is currently no way to import/export scripts but it's the next feature in the list to add.
Extensions also provide a way to implement features in an experimental way before integrating into the core of the app, which should lead to faster testing and less buggy code overall.
Documentation is a work in progress and general documentation will be the core focus of the project for a while. A script repository is also planned.
### Fixed: Loyalty system
The loyalty system became non functional after Twitch removed support for listing chatters from the IRC chat. The loyalty poll now calls the Twitch API so it works again. You will need to authenticate your user again however, as the new API requires a new permission!
### Many many many fixes
Several very disruptive bugs have been found in strimertül and fixed, most of these would lead to limited or no functionality after some time and therefore had to be dealt with immediately. If you had issues with strimertül 3.0.0, give this one a shot!
## Known issues
- #55 Sometimes the authenticated user disappears requiring reauthentication, this is being investigated
- #48 The loyalty configuration page does not set the correct interval when opened the first time, clicking to another page and then back fixes it
## Changelog
### Added
- Added recent event list in the dashboard, please be aware that this list only refers to events that have happened while strimertul was open and is mostly for development/troubleshooting
- Added way to "replay" events, useful for overlay interactions
- Added extensions with a built-in editor (docs soon tm)
### Changed
- Bumped recent event limit to 100 to deal with some spammy events
- When closing the app a quick dialog will ask you if you are really sure (it's not a trick I just keep doing it by mistake). Sometimes it does it twice, it's a known issue.
### Fixed
- Fixed some values in the UI not updating or being assigned upon first load
- The loyalty system was non-functional after an internal rewrite in 3.0.0, this has been fixed
- Fixed a crash due to Twitch returning corrupted responses to status polling
- Fixed issue where the LIVE stream preview would overlap dialog windows
- Fixed leaked iterators on the backup procedure
- Fixed eventsub websocket reconnection not being handled properly
## Downloads
- [strimertul-linux-amd64](https://github.com/strimertul/strimertul/releases/download/v3.1.0-beta.1/strimertul-linux-amd64) (28.15 MiB)
- [strimertul.dmg](https://github.com/strimertul/strimertul/releases/download/v3.1.0-beta.1/strimertul.dmg) (31.82 MiB)
- [strimertul.exe](https://github.com/strimertul/strimertul/releases/download/v3.1.0-beta.1/strimertul.exe) (29.26 MiB)
- Source code: [source.zip](https://api.github.com/repos/strimertul/strimertul/zipball/v3.1.0-beta.1) / [source.tar.gz](https://api.github.com/repos/strimertul/strimertul/tarball/v3.1.0-beta.1)
This release was originally published on GitHub and converted, you can find the original release here: [v3.1.0-beta.1 on GitHub](https://github.com/strimertul/strimertul/releases/tag/v3.1.0-beta.1)

View file

@ -0,0 +1,77 @@
---
tag: v3.1.0
title: v3.1.0
date: 2023-02-21T16:08:21Z
prerelease: false
---
**UPGRADE NOTE**: If upgrading from an earlier version, please re-authenticate your user to make sure it has a necessary new permission for the loyalty system to work.
## Release Notes
### New feature: Recent events and replay button
![Event list](https://user-images.githubusercontent.com/83539179/219223537-dde6c8ab-6272-4c58-bc3d-8d52aee5f1b2.png)
The dashboard is now less empty thanks to a list of recent events. Keep in mind that this list only refers to events that have happened while strimertül is open and its current main purpose is for the replay feature. By clicking the icon on the right the event will be re-broadcasted on the kilovolt server, e.g. for testing overlays.
Up to 100 events are shown in the list. Please be aware that some events are not combined (Twitch gift subs show up as two events, for example.)
### New feature: Extensions
![Extension editor](https://user-images.githubusercontent.com/83539179/219224144-4baa0b66-b705-45ba-84d1-16241a6b0252.png)
One of strimertül strongest points is how extensible and modular it is, however sometimes taking advantage of that requires building external applications which add more and more steps to get a stream going. Extensions are scripts that are run within strimertül. They are similar to [userscripts](https://en.wikipedia.org/wiki/Userscript) but support Typescript and run in their own dedicated thread.
An integrated editor (using Monaco, the same technology used by Visual Studio Code) will let you prototype to your hearts content but you can always use whatever editor you prefer. Scripts are stored in Kilovolt and not in any filesystem, there is currently no way to import/export scripts but it's the next feature in the list to add.
Extensions also provide a way to implement features in an experimental way before integrating into the core of the app, which should lead to faster testing and less buggy code overall.
Documentation is a work in progress and general documentation will be the core focus of the project for a while. A script repository is also planned.
### Fixed: Loyalty system
The loyalty system became non functional after Twitch removed support for listing chatters from the IRC chat. The loyalty poll now calls the Twitch API so it works again. You will need to authenticate your user again however, as the new API requires a new permission!
### Many many many fixes
Several very disruptive bugs have been found in strimertül and fixed, most of these would lead to limited or no functionality after some time and therefore had to be dealt with immediately. If you had issues with strimertül 3.0.0, give this one a shot!
## Known issues
- #55 Sometimes the authenticated user disappears requiring reauthentication, this is being investigated
- #48 The loyalty configuration page does not set the correct interval when opened the first time, clicking to another page and then back fixes it
## Changelog
### Added
- Added recent event list in the dashboard, please be aware that this list only refers to events that have happened while strimertul was open and is mostly for development/troubleshooting
- Added way to "replay" events, useful for overlay interactions
- Added extensions with a built-in editor (docs soon tm)
### Changed
- Bumped recent event limit to 100 to deal with some spammy events
- When closing the app a quick dialog will ask you if you are really sure (it's not a trick I just keep doing it by mistake). Sometimes it does it twice, it's a known issue.
### Fixed
- Fixed some values in the UI not updating or being assigned upon first load
- The loyalty system was non-functional after an internal rewrite in 3.0.0, this has been fixed
- Fixed a crash due to Twitch returning corrupted responses to status polling
- Fixed issue where the LIVE stream preview would overlap dialog windows
- Fixed leaked iterators on the backup procedure
- Fixed eventsub websocket reconnection not being handled properly
- Fixed bug where the interval in the loyalty configuration page would often not be set to the correct/current value
- Fixed bug where the loyalty config page had a wrong set interval on first load
- Fixed the formatting of log data so long lines are still contained in the dialog instead of clipping offscreen
## Downloads
- [strimertul-linux-amd64](https://github.com/strimertul/strimertul/releases/download/v3.1.0/strimertul-linux-amd64) (28.28 MiB)
- [strimertul.dmg](https://github.com/strimertul/strimertul/releases/download/v3.1.0/strimertul.dmg) (31.91 MiB)
- [strimertul.exe](https://github.com/strimertul/strimertul/releases/download/v3.1.0/strimertul.exe) (29.27 MiB)
- Source code: [source.zip](https://api.github.com/repos/strimertul/strimertul/zipball/v3.1.0) / [source.tar.gz](https://api.github.com/repos/strimertul/strimertul/tarball/v3.1.0)
This release was originally published on GitHub and converted, you can find the original release here: [v3.1.0 on GitHub](https://github.com/strimertul/strimertul/releases/tag/v3.1.0)

View file

@ -0,0 +1,25 @@
---
tag: v3.1.1
title: v3.1.1
date: 2023-02-23T10:18:11Z
prerelease: false
---
This release is a hotfix to a Twitch deprecation that breaks event notifications, you should upgrade ASAP and re-authenticate your user!
## Changelog
UPGRADE NOTE: If upgrading from an earlier version, please re-authenticate your user to make sure it has a necessary new permission for event notifications to work (even from 3.1.0).
### Fixed
- Fixed issue where event notification would not work due to Twitch deprecating the `channel.follows` V1 topic
- Fixed more database leaks
## Downloads
- [strimertul-linux-amd64](https://github.com/strimertul/strimertul/releases/download/v3.1.1/strimertul-linux-amd64) (28.34 MiB)
- [strimertul.dmg](https://github.com/strimertul/strimertul/releases/download/v3.1.1/strimertul.dmg) (32.04 MiB)
- [strimertul.exe](https://github.com/strimertul/strimertul/releases/download/v3.1.1/strimertul.exe) (29.33 MiB)
- Source code: [source.zip](https://api.github.com/repos/strimertul/strimertul/zipball/v3.1.1) / [source.tar.gz](https://api.github.com/repos/strimertul/strimertul/tarball/v3.1.1)
This release was originally published on GitHub and converted, you can find the original release here: [v3.1.1 on GitHub](https://github.com/strimertul/strimertul/releases/tag/v3.1.1)

View file

@ -0,0 +1,23 @@
---
tag: v3.1.2
title: v3.1.2
date: 2023-03-05T19:25:55Z
prerelease: false
---
This release addresses (but sadly doesn't completely solve) an issue with user access token sometimes not being valid when starting strimertül. There's a bigger underlying issue with the refresh logic but this should hopefully stop the issue for most uses (until your stream goes over 24h)
## Changelog
### Fixed
- Fixed some auth token shenanigans where a valid access token would not be generated when starting the app
## Downloads
- [strimertul-linux-amd64](https://github.com/strimertul/strimertul/releases/download/v3.1.2/strimertul-linux-amd64) (28.34 MiB)
- [strimertul.dmg](https://github.com/strimertul/strimertul/releases/download/v3.1.2/strimertul.dmg) (32.72 MiB)
- [strimertul.exe](https://github.com/strimertul/strimertul/releases/download/v3.1.2/strimertul.exe) (29.33 MiB)
- Source code: [source.zip](https://api.github.com/repos/strimertul/strimertul/zipball/v3.1.2) / [source.tar.gz](https://api.github.com/repos/strimertul/strimertul/tarball/v3.1.2)
This release was originally published on GitHub and converted, you can find the original release here: [v3.1.2 on GitHub](https://github.com/strimertul/strimertul/releases/tag/v3.1.2)

View file

@ -0,0 +1,28 @@
---
tag: v3.1.3
title: v3.1.3
date: 2023-03-14T12:50:43Z
prerelease: false
---
This small release addresses a database breaking problem in the UI and adds extra logging for crashes.
## Changelog
### Changed
- A new log file called `strimertul-panic.log` is now created for panic information. Please attach this (as well as `strimertul.log`) when reporting crashes!
### Fixed
- Fixed changing chat history breaking the database
- Fixed panic on eventsub reconnections
## Downloads
- [strimertul-linux-amd64](https://github.com/strimertul/strimertul/releases/download/v3.1.3/strimertul-linux-amd64) (28.34 MiB)
- [strimertul.dmg](https://github.com/strimertul/strimertul/releases/download/v3.1.3/strimertul.dmg) (32.04 MiB)
- [strimertul.exe](https://github.com/strimertul/strimertul/releases/download/v3.1.3/strimertul.exe) (29.34 MiB)
- Source code: [source.zip](https://api.github.com/repos/strimertul/strimertul/zipball/v3.1.3) / [source.tar.gz](https://api.github.com/repos/strimertul/strimertul/tarball/v3.1.3)
This release was originally published on GitHub and converted, you can find the original release here: [v3.1.3 on GitHub](https://github.com/strimertul/strimertul/releases/tag/v3.1.3)

View file

@ -0,0 +1,26 @@
---
tag: v3.1.4
title: v3.1.4
date: 2023-03-31T09:24:14Z
prerelease: false
---
This small release addresses some bugs encountered while testing some features more thoroughly.
## Changelog
### Fixed
- The "Give points" dialog will now convert mixed case names to be lowercase instead of adding broken entries.
- The loyalty points entry were assigned incorrectly upon startup, this has been fixed
- Fixed having multiple messages for an alert use non-compiled templates
## Downloads
- [strimertul-linux-amd64](https://github.com/strimertul/strimertul/releases/download/v3.1.4/strimertul-linux-amd64) (27.92 MiB)
- [strimertul.dmg](https://github.com/strimertul/strimertul/releases/download/v3.1.4/strimertul.dmg) (31.89 MiB)
- [strimertul.exe](https://github.com/strimertul/strimertul/releases/download/v3.1.4/strimertul.exe) (29.03 MiB)
- Source code: [source.zip](https://api.github.com/repos/strimertul/strimertul/zipball/v3.1.4) / [source.tar.gz](https://api.github.com/repos/strimertul/strimertul/tarball/v3.1.4)
This release was originally published on GitHub and converted, you can find the original release here: [v3.1.4 on GitHub](https://github.com/strimertul/strimertul/releases/tag/v3.1.4)

View file

@ -0,0 +1,26 @@
---
tag: v3.1.5
title: v3.1.5
date: 2023-03-31T11:02:45Z
prerelease: false
---
Wanted to keep some of this for 3.2.x but noticed an issue with how CI works after releasing 3.1.4, so here you go, a version that actually has update check working!
## Changelog
### Fixed
- Updated wails so the window should not flash "connection refused" when opened
- The compiled binary now has the proper version and update notices should work again
## Downloads
- [strimertul-linux-amd64](https://github.com/strimertul/strimertul/releases/download/v3.1.5/strimertul-linux-amd64) (27.97 MiB)
- [strimertul.dmg](https://github.com/strimertul/strimertul/releases/download/v3.1.5/strimertul.dmg) (31.96 MiB)
- [strimertul.exe](https://github.com/strimertul/strimertul/releases/download/v3.1.5/strimertul.exe) (29.02 MiB)
- Source code: [source.zip](https://api.github.com/repos/strimertul/strimertul/zipball/v3.1.5) / [source.tar.gz](https://api.github.com/repos/strimertul/strimertul/tarball/v3.1.5)
This release was originally published on GitHub and converted, you can find the original release here: [v3.1.5 on GitHub](https://github.com/strimertul/strimertul/releases/tag/v3.1.5)

View file

@ -0,0 +1,60 @@
---
tag: v3.2.0-beta.1
title: v3.2.0-beta.1
date: 2023-04-20T08:19:00Z
prerelease: true
---
This is a **BETA RELEASE**, it's not feature complete and might be unstable!
I'm not sure what the final point of 3.2 is, but the biggest stuff is already in.
## Release notes
3.2 was supposed to be a bigger release focused on quality of life changes but most of them I managed to sneak in 3.1.x, so only the big stuff remained out. There's still a couple big features I want to build but I want to get this out as soon as possible since it heavily increases my confidence that I'm shipping something reliable and easy for me to troubleshoot when people have problems.
### Interactive authentication
The existing way for external applications to speak to strimertul has worked great for background apps like OBS overlays but it's a pain in the ass for one-off applications like web tools. To make that process more seamless, applications that don't have the strimertul password but want to access it can now ask the user directly through strimertul itself!
![Picture of the authorization dialog for external apps](https://user-images.githubusercontent.com/83539179/233301387-4e0a80a9-545e-449a-a53c-c86d69ab7585.png)
All the info is provided by the application so in order to combat potentially malicious software, apps can provide a randomly generated verification code. This is hardly a bulletproof solution but for now it's better than nothing.
**For developers:** Expect docs and samples soon (definitely before public release)!
### Fatal error dialog and recovery options
When reaching a fatal error, strimertül would just crash and stop working. Now it will show this dialog:
![Picture of the fatal error screen of doom](https://user-images.githubusercontent.com/83539179/233303018-44441262-1548-4f20-844d-ab724d747883.png)
This fatal error screen provides a flow for users to submit error reports (which contain no user identifiable data!) and, if the error persists, restore a previously backed up copy of the database.
Note that if this dialog is unavailable to you there is still the command line flow to manage your database (which includes restore/import/export routines), try `strimertul help` in your terminal of choice! (not a new thing, I figure I'd just mention this)
BTW did you know strimertul backs up the entire database every hour and keeps the 20 most recent copies? You can tune this behavior via command line flags and environment variables (maybe soon with a proper UI?)
## Changelog
### Added
- A new error page will appear if strimertul encounters a fatal error (previously this used to just crash). The error page contains both a way to send an error report with app logs and a way to restore the database to an earlier saved copy.
- Added link to the user guide in the main page
- Support for interactive authentication. This allows third party apps to ask for access to strimertul without having to manually share a password
### Changed
- A lot of log messages now are better formatted and more informative
- EventSub connections will auto restart if they drop for unexpected reasons (network hiccups and unexpected closes)
**All changes**: https://github.com/strimertul/strimertul/compare/v3.1.5...v3.2.0-beta.1
## Downloads
- [strimertul-linux-amd64](https://github.com/strimertul/strimertul/releases/download/v3.2.0-beta.1/strimertul-linux-amd64) (28.28 MiB)
- [strimertul.dmg](https://github.com/strimertul/strimertul/releases/download/v3.2.0-beta.1/strimertul.dmg) (32.26 MiB)
- [strimertul.exe](https://github.com/strimertul/strimertul/releases/download/v3.2.0-beta.1/strimertul.exe) (29.33 MiB)
- Source code: [source.zip](https://api.github.com/repos/strimertul/strimertul/zipball/v3.2.0-beta.1) / [source.tar.gz](https://api.github.com/repos/strimertul/strimertul/tarball/v3.2.0-beta.1)
This release was originally published on GitHub and converted, you can find the original release here: [v3.2.0-beta.1 on GitHub](https://github.com/strimertul/strimertul/releases/tag/v3.2.0-beta.1)

View file

@ -0,0 +1,72 @@
---
tag: v3.2.0-rc.1
title: v3.2.0-rc.1
date: 2023-04-25T08:39:05Z
prerelease: true
---
This is a **RELEASE CANDIDATE**, it's feature complete but might be unstable!
Not much has changed since beta.1, but notably:
- Number input boxes are less of a pain to use and more forgiving when changing the value with a keyboard
- The UPDATE AVAILABLE banner now should work fine in prereleases (such as this one!)
- Log messages have been made nicer
- The interactive authentication dialog now is fully localized
The following is mostly copied from the previous beta:
## Release notes
3.2 was supposed to be a bigger release focused on quality of life changes but most of them I managed to sneak in 3.1.x, so only the big stuff remained out. There's still a couple big features I want to build but I want to get this out as soon as possible since it heavily increases my confidence that I'm shipping something reliable and easy for me to troubleshoot when people have problems.
### Interactive authentication
The existing way for external applications to speak to strimertul has worked great for background apps like OBS overlays but it's a pain in the ass for one-off applications like web tools. To make that process more seamless, applications that don't have the strimertul password but want to access it can now ask the user directly through strimertul itself!
![Picture of the authorization dialog for external apps](https://user-images.githubusercontent.com/83539179/233301387-4e0a80a9-545e-449a-a53c-c86d69ab7585.png)
All the info is provided by the application so in order to combat potentially malicious software, apps can provide a randomly generated verification code. This is hardly a bulletproof solution but for now it's better than nothing.
**For developers:** Expect docs and samples soon (definitely before public release)!
### Fatal error dialog and recovery options
When reaching a fatal error, strimertül would just crash and stop working. Now it will show this dialog:
![Picture of the fatal error screen of doom](https://user-images.githubusercontent.com/83539179/233303018-44441262-1548-4f20-844d-ab724d747883.png)
This fatal error screen provides a flow for users to submit error reports (which contain no user identifiable data!) and, if the error persists, restore a previously backed up copy of the database.
Note that if this dialog is unavailable to you there is still the command line flow to manage your database (which includes restore/import/export routines), try `strimertul help` in your terminal of choice! (not a new thing, I figure I'd just mention this)
BTW did you know strimertul backs up the entire database every hour and keeps the 20 most recent copies? You can tune this behavior via command line flags and environment variables (maybe soon with a proper UI?)
## Changelog
### Added
- A new error page will appear if strimertul encounters a fatal error (previously this used to just crash). The error page contains both a way to send an error report with app logs and a way to restore the database to an earlier saved copy.
- Added link to the user guide in the main page
- Support for interactive authentication. This allows third party apps to ask for access to strimertul without having to manually share a password
### Changed
- A lot of log messages now are better formatted and more informative
- EventSub connections will auto restart if they drop for unexpected reasons (network hiccups and unexpected closes)
### Fixed
- The UPDATE AVAILABLE banner in prerelease builds now works properly by only appearing when a newer prerelease (or stable) version is available to download.
- Numeric input boxes in the UI should now be less of a pain to use
**All changes**: <https://github.com/strimertul/strimertul/compare/v3.1.5...v3.2.0-rc.1>
## Downloads
- [strimertul-linux-amd64](https://github.com/strimertul/strimertul/releases/download/v3.2.0-rc.1/strimertul-linux-amd64) (28.28 MiB)
- [strimertul.dmg](https://github.com/strimertul/strimertul/releases/download/v3.2.0-rc.1/strimertul.dmg) (32.27 MiB)
- [strimertul.exe](https://github.com/strimertul/strimertul/releases/download/v3.2.0-rc.1/strimertul.exe) (29.33 MiB)
- Source code: [source.zip](https://api.github.com/repos/strimertul/strimertul/zipball/v3.2.0-rc.1) / [source.tar.gz](https://api.github.com/repos/strimertul/strimertul/tarball/v3.2.0-rc.1)
This release was originally published on GitHub and converted, you can find the original release here: [v3.2.0-rc.1 on GitHub](https://github.com/strimertul/strimertul/releases/tag/v3.2.0-rc.1)

View file

@ -0,0 +1,61 @@
---
tag: v3.2.0
title: v3.2.0
date: 2023-05-03T12:30:18Z
prerelease: false
---
## Release notes
3.2 was supposed to be a bigger release focused on quality of life changes but most of them I managed to sneak in 3.1.x, so only the big stuff remained out. There's still a couple big features I want to build but I want to get this out as soon as possible since it heavily increases my confidence that I'm shipping something reliable and easy for me to troubleshoot when people have problems.
### Interactive authentication
The existing way for external applications to speak to strimertul has worked great for background apps like OBS overlays but it's a pain in the ass for one-off applications like web tools. To make that process more seamless, applications that don't have the strimertul password but want to access it can now ask the user directly through strimertul itself!
![Picture of the authorization dialog for external apps](https://user-images.githubusercontent.com/83539179/233301387-4e0a80a9-545e-449a-a53c-c86d69ab7585.png)
All the info is provided by the application so in order to combat potentially malicious software, apps can provide a randomly generated verification code. This is hardly a bulletproof solution but for now it's better than nothing.
**For developers:** Expect docs and samples soon (definitely before public release)!
### Fatal error dialog and recovery options
When reaching a fatal error, strimertül would just crash and stop working. Now it will show this dialog:
![Picture of the fatal error screen of doom](https://user-images.githubusercontent.com/83539179/233303018-44441262-1548-4f20-844d-ab724d747883.png)
This fatal error screen provides a flow for users to submit error reports (which contain no user identifiable data!) and, if the error persists, restore a previously backed up copy of the database.
Note that if this dialog is unavailable to you there is still the command line flow to manage your database (which includes restore/import/export routines), try `strimertul help` in your terminal of choice! (not a new thing, I figure I'd just mention this)
BTW did you know strimertul backs up the entire database every hour and keeps the 20 most recent copies? You can tune this behavior via command line flags and environment variables (maybe soon with a proper UI?)
## Changelog
### Added
- A new error page will appear if strimertul encounters a fatal error (previously this used to just crash). The error page contains both a way to send an error report with app logs and a way to restore the database to an earlier saved copy.
- Added link to the user guide in the main page
- Support for interactive authentication. This allows third party apps to ask for access to strimertul without having to manually share a password
### Changed
- A lot of log messages now are better formatted and more informative
- EventSub connections will auto restart if they drop for unexpected reasons (network hiccups and unexpected closes)
### Fixed
- The UPDATE AVAILABLE banner in prerelease builds now works properly by only appearing when a newer prerelease (or stable) version is available to download.
- Numeric input boxes in the UI should now be less of a pain to use
**All changes**: <https://github.com/strimertul/strimertul/compare/v3.1.5...v3.2.0-rc.1>
## Downloads
- [strimertul-linux-amd64](https://github.com/strimertul/strimertul/releases/download/v3.2.0/strimertul-linux-amd64) (28.28 MiB)
- [strimertul.dmg](https://github.com/strimertul/strimertul/releases/download/v3.2.0/strimertul.dmg) (32.27 MiB)
- [strimertul.exe](https://github.com/strimertul/strimertul/releases/download/v3.2.0/strimertul.exe) (29.33 MiB)
- Source code: [source.zip](https://api.github.com/repos/strimertul/strimertul/zipball/v3.2.0) / [source.tar.gz](https://api.github.com/repos/strimertul/strimertul/tarball/v3.2.0)
This release was originally published on GitHub and converted, you can find the original release here: [v3.2.0 on GitHub](https://github.com/strimertul/strimertul/releases/tag/v3.2.0)

View file

@ -0,0 +1,23 @@
---
tag: v3.2.1
title: v3.2.1
date: 2023-05-17T17:20:47Z
prerelease: false
---
Small release cause I missed a deprecation window, so you all need to upgrade to keep using the twitch integration
## Changelog
### Fixed
- Fixed the eventsub connection to not use the now broken beta URL
## Downloads
- [strimertul-linux-amd64](https://github.com/strimertul/strimertul/releases/download/v3.2.1/strimertul-linux-amd64) (28.29 MiB)
- [strimertul.dmg](https://github.com/strimertul/strimertul/releases/download/v3.2.1/strimertul.dmg) (32.26 MiB)
- [strimertul.exe](https://github.com/strimertul/strimertul/releases/download/v3.2.1/strimertul.exe) (29.35 MiB)
- Source code: [source.zip](https://api.github.com/repos/strimertul/strimertul/zipball/v3.2.1) / [source.tar.gz](https://api.github.com/repos/strimertul/strimertul/tarball/v3.2.1)
This release was originally published on GitHub and converted, you can find the original release here: [v3.2.1 on GitHub](https://github.com/strimertul/strimertul/releases/tag/v3.2.1)

View file

@ -0,0 +1,37 @@
---
tag: v3.3.0-alpha.2
title: v3.3.0-alpha.2
date: 2023-05-17T17:48:22Z
prerelease: true
---
## Release notes
**Heads up**, you will need to re-authenticate your Twitch account to make the following features work!
### Chat responses as replies, whispers and announcements
Chat commands can now be sent as replies to the original chat message, whispers to the user that called the message or channel-wide announcements!
Here's an example of what is looks like:
![ui](https://github.com/strimertul/strimertul/assets/83539179/a5333228-0d93-4e85-900a-f415dcaf3b9b)
![in-chat](https://github.com/strimertul/strimertul/assets/83539179/440fbd05-b9c5-410f-9152-5d44c50d2363)
**Note:** You can't send whispers to yourself on Twitch, so when testing commands make sure you're using a different account than what's set as the bot account
## Changelog
### Added
- Custom chat commands can now be sent as replies, whispers and announcements. Due to some API shenanigans yet to be solved, the latter two will always be sent from your main account, not the bot account (if they are different)
## Downloads
- [strimertul-linux-amd64](https://github.com/strimertul/strimertul/releases/download/v3.3.0-alpha.2/strimertul-linux-amd64) (28.31 MiB)
- [strimertul.dmg](https://github.com/strimertul/strimertul/releases/download/v3.3.0-alpha.2/strimertul.dmg) (32.28 MiB)
- [strimertul.exe](https://github.com/strimertul/strimertul/releases/download/v3.3.0-alpha.2/strimertul.exe) (29.37 MiB)
- Source code: [source.zip](https://api.github.com/repos/strimertul/strimertul/zipball/v3.3.0-alpha.2) / [source.tar.gz](https://api.github.com/repos/strimertul/strimertul/tarball/v3.3.0-alpha.2)
This release was originally published on GitHub and converted, you can find the original release here: [v3.3.0-alpha.2 on GitHub](https://github.com/strimertul/strimertul/releases/tag/v3.3.0-alpha.2)

View file

@ -0,0 +1,46 @@
---
tag: v3.3.0-alpha.3
title: v3.3.0-alpha.3
date: 2023-05-30T11:47:13Z
prerelease: true
---
## Release notes
**Heads up**, you will need to re-authenticate your Twitch account to make the following features work!
### Chat responses as replies, whispers and announcements
Chat commands can now be sent as replies to the original chat message, whispers to the user that called the message or channel-wide announcements!
Here's an example of what is looks like:
![ui](https://github.com/strimertul/strimertul/assets/83539179/a5333228-0d93-4e85-900a-f415dcaf3b9b)
![in-chat](https://github.com/strimertul/strimertul/assets/83539179/440fbd05-b9c5-410f-9152-5d44c50d2363)
**Note:** You can't send whispers to yourself on Twitch, so when testing commands make sure you're using a different account than what's set as the bot account
## Changelog
### Added
- Custom chat commands can now be sent as replies, whispers and announcements. Due to some API shenanigans yet to be solved, the latter two will always be sent from your main account, not the bot account (if they are different)
### Changed
- Chat command cooldown can now be tweaked in the bot settings screen. (This is not per-user o per-command just yet)
### Fixed
- Fixed some minor bugs regarding backup file sorting and migration procedures
- Fixed bot cooldown being unreliable due to depending on multiple time sources
- Spaces at beginning of messages are now ignored for command checking (e.g. " !lurk" will match !lurk)
## Downloads
- [strimertul-linux-amd64](https://github.com/strimertul/strimertul/releases/download/v3.3.0-alpha.3/strimertul-linux-amd64) (28.31 MiB)
- [strimertul.dmg](https://github.com/strimertul/strimertul/releases/download/v3.3.0-alpha.3/strimertul.dmg) (32.29 MiB)
- [strimertul.exe](https://github.com/strimertul/strimertul/releases/download/v3.3.0-alpha.3/strimertul.exe) (29.37 MiB)
- Source code: [source.zip](https://api.github.com/repos/strimertul/strimertul/zipball/v3.3.0-alpha.3) / [source.tar.gz](https://api.github.com/repos/strimertul/strimertul/tarball/v3.3.0-alpha.3)
This release was originally published on GitHub and converted, you can find the original release here: [v3.3.0-alpha.3 on GitHub](https://github.com/strimertul/strimertul/releases/tag/v3.3.0-alpha.3)

View file

@ -0,0 +1,69 @@
---
tag: v3.3.0-beta.1
title: v3.3.0-beta.1
date: 2023-10-29T17:05:48Z
prerelease: true
---
## Release notes
### Light mode
While updating my dependencies I noticed the color scheme library I use had some changes so I had to go and tweak colors everywhere, it's still not 100% done but since I was there I added a light mode because uh… well…
…anyway here you go:
| Dark mode | Light mode |
| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| ![strimertul-dev_20231029_172433](https://github.com/strimertul/strimertul/assets/83539179/d21390a0-92ed-48dd-a1de-1b64076bfd81) | ![strimertul-dev_20231029_172428](https://github.com/strimertul/strimertul/assets/83539179/b86a312f-9436-4b74-8611-8e36bdc977f1) |
### Chat responses as replies, whispers and announcements
**Heads up**, you will need to re-authenticate your Twitch account to make the following to work!
Chat commands can now be sent as replies to the original chat message, whispers to the user that called the message or channel-wide announcements!
Here's an example of what is looks like:
![ui](https://github.com/strimertul/strimertul/assets/83539179/a5333228-0d93-4e85-900a-f415dcaf3b9b)
![in-chat](https://github.com/strimertul/strimertul/assets/83539179/440fbd05-b9c5-410f-9152-5d44c50d2363)
**Note:** You can't send whispers to yourself on Twitch, so when testing commands make sure you're using a different account than what's set as the bot account
### Hiding viewer count
A requested feature was to be able to hide the number of viewers in your current stream, so now you'll see a "Hide" button next to it in the dashboard. This setting is saved so it will persist for your next streams as well.
### Consistency fixes
Language and theme are now saved in multiple places so the loading screen and the fatal error screen can both match your chosen theme and language.
## Changelog
### Added
- Added a light theme, can be set during onboarding or in the UI settings
- The fatal error screen now uses the user configured language and theme
- Added the ability to hide viewer count in the dashboard
- Custom chat commands can now be sent as replies, whispers and announcements. Due to some API shenanigans yet to be solved, the latter two will always be sent from your main account, not the bot account (if they are different)
- Added a structured RPC `twitch/bot/@send-message` for sending messages as replies, announcements and whispers.
### Changed
- Chat command cooldown can now be tweaked in the bot settings screen. (This is not per-user o per-command just yet)
- The UI is overall a bit darker, this is still being tweaked, let me know if you're having trouble with it
### Fixed
- Fixed some minor bugs regarding backup file sorting and migration procedures
- Fixed bot cooldown being unreliable due to depending on multiple time sources
- Spaces at beginning of messages are now ignored for command checking (e.g. " !lurk" will match !lurk)
## Downloads
- [strimertul-linux-amd64](https://github.com/strimertul/strimertul/releases/download/v3.3.0-beta.1/strimertul-linux-amd64) (28.45 MiB)
- [strimertul.dmg](https://github.com/strimertul/strimertul/releases/download/v3.3.0-beta.1/strimertul.dmg) (32.51 MiB)
- [strimertul.exe](https://github.com/strimertul/strimertul/releases/download/v3.3.0-beta.1/strimertul.exe) (29.85 MiB)
- Source code: [source.zip](https://api.github.com/repos/strimertul/strimertul/zipball/v3.3.0-beta.1) / [source.tar.gz](https://api.github.com/repos/strimertul/strimertul/tarball/v3.3.0-beta.1)
This release was originally published on GitHub and converted, you can find the original release here: [v3.3.0-beta.1 on GitHub](https://github.com/strimertul/strimertul/releases/tag/v3.3.0-beta.1)

View file

@ -0,0 +1,76 @@
---
tag: v3.3.0
title: v3.3.0
date: 2023-11-03T13:22:55Z
prerelease: false
downloads:
- target: Windows 64bit
url: https://github.com/strimertul/strimertul/releases/download/v3.3.0/strimertul.exe
- target: Linux AMD64
url: https://github.com/strimertul/strimertul/releases/download/v3.3.0/strimertul-linux-amd64
- target: macOS
url: https://github.com/strimertul/strimertul/releases/download/v3.3.0/strimertul.dmg
---
## Release notes
### Light mode
While updating my dependencies I noticed the color scheme library I use had some changes so I had to go and tweak colors everywhere, it's still not 100% done but since I was there I added a light mode because uh… well…
…anyway here you go:
| Dark mode | Light mode |
| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |
| ![Light theme](https://github.com/strimertul/strimertul/assets/83539179/d21390a0-92ed-48dd-a1de-1b64076bfd81) | ![Dark theme](https://github.com/strimertul/strimertul/assets/83539179/b86a312f-9436-4b74-8611-8e36bdc977f1) |
### Chat responses as replies, whispers and announcements
**Heads up**, you will need to re-authenticate your Twitch account to make the following to work!
Chat commands can now be sent as replies to the original chat message, whispers to the user that called the message or channel-wide announcements!
Here's an example of what is looks like:
![ui](https://github.com/strimertul/strimertul/assets/83539179/a5333228-0d93-4e85-900a-f415dcaf3b9b)
![in-chat](https://github.com/strimertul/strimertul/assets/83539179/440fbd05-b9c5-410f-9152-5d44c50d2363)
**Note:** You can't send whispers to yourself on Twitch, so when testing commands make sure you're using a different account than what's set as the bot account
### Hiding viewer count
A requested feature was to be able to hide the number of viewers in your current stream, so now you'll see a "Hide" button next to it in the dashboard. This setting is saved so it will persist for your next streams as well.
### Consistency fixes
Language and theme are now saved in multiple places so the loading screen and the fatal error screen can both match your chosen theme and language.
## Changelog
### Added
- Added a light theme, can be set during onboarding or in the UI settings
- The fatal error screen now uses the user configured language and theme
- Added the ability to hide viewer count in the dashboard
- Custom chat commands can now be sent as replies, whispers and announcements. Due to some API shenanigans yet to be solved, the latter two will always be sent from your main account, not the bot account (if they are different)
- Added a structured RPC `twitch/bot/@send-message` for sending messages as replies, announcements and whispers.
### Changed
- Chat command cooldown can now be tweaked in the bot settings screen. (This is not per-user o per-command just yet)
- The UI is overall a bit darker, this is still being tweaked, let me know if you're having trouble with it
### Fixed
- Fixed some minor bugs regarding backup file sorting and migration procedures
- Fixed bot cooldown being unreliable due to depending on multiple time sources
- Spaces at beginning of messages are now ignored for command checking (e.g. " !lurk" will match !lurk)
## Downloads
- [strimertul-linux-amd64](https://github.com/strimertul/strimertul/releases/download/v3.3.0/strimertul-linux-amd64) (28.45 MiB)
- [strimertul.dmg](https://github.com/strimertul/strimertul/releases/download/v3.3.0/strimertul.dmg) (32.52 MiB)
- [strimertul.exe](https://github.com/strimertul/strimertul/releases/download/v3.3.0/strimertul.exe) (29.85 MiB)
- Source code: [source.zip](https://api.github.com/repos/strimertul/strimertul/zipball/v3.3.0) / [source.tar.gz](https://api.github.com/repos/strimertul/strimertul/tarball/v3.3.0)
This release was originally published on GitHub and converted, you can find the original release here: [v3.3.0 on GitHub](https://github.com/strimertul/strimertul/releases/tag/v3.3.0)

View file

@ -9,78 +9,33 @@
interaction!
</p>
<div id="download">
<noscript>
<a href="https://github.com/strimertul/strimertul/releases/latest">
Check out the latest version on GitHub
</a>
</noscript>
<div class="hidden" id="download-template">
<h2>
Latest stable release:
<a href="https://github.com/strimertul/strimertul/releases/latest"
><span data-field="name"></span> (<time data-field="date"></time
>)</a
>
</h2>
<div class="download-list"><b>Downloads:</b></div>
<div id="download-template">
{{ $releases := where .Site.RegularPages "Section" "releases" }}
{{ $stable := where $releases "Params.prerelease" false }}
{{ $latest := index $stable 0 }}
{{ with $latest }}
<h2>
Latest stable release:
<a href="{{ .RelPermalink }}"
><span data-field="name">{{ .Title }}</span> (<time
date="{{ .Date | time.Format "2006-01-02" }}"
>{{ .Date | time.Format "2006-01-02" }}</time
>)</a
>
</h2>
{{ with .Params.downloads }}
<div class="download-list">
<b>Downloads:</b>
{{ range . }}
<a class="download-link" href="{{ .url }}">{{ .target }}</a>
{{ end }}
</div>
{{ end }}
{{ end }}
<p>or browse <a href="/releases">all releases</a></p>
</div>
</div>
<script>
const platforms = [
{
filter: ".exe",
name: "Windows 64-bit",
},
{
filter: ".dmg",
name: "macOS Universal",
},
{
filter: "linux",
name: "Linux AMD64",
},
];
(async function () {
const releaseblock = document.getElementById("download-template");
const latest = await (
await fetch(
"https://api.github.com/repos/strimertul/strimertul/releases/latest"
)
).json();
// Poor's man angularjs
const data = {
...latest,
date: new Date(latest.published_at).toLocaleDateString(),
};
releaseblock.querySelectorAll("*[data-field]").forEach((el) => {
const { field } = el.dataset;
if (field in data) {
el.innerHTML = data[field];
}
});
// Make those links
const downloadLinks = releaseblock.querySelector(".download-list");
latest.assets
.map((asset) => [
platforms.findIndex(({ filter }) =>
asset.name.includes(filter)
),
asset.browser_download_url,
])
.filter(([index]) => index >= 0)
.sort(([a], [b]) => a - b)
.forEach(([index, url]) => {
const link = document.createElement("a");
link.classList.add("download-link");
link.href = url;
link.appendChild(
document.createTextNode(platforms[index].name)
);
downloadLinks.appendChild(link);
});
releaseblock.classList.remove("hidden");
})();
</script>
</div>
</section>
<section class="features">
@ -94,18 +49,16 @@
chat messages and more through a single websocket interface. The
API strives for simplicity with a
<a
href="https://github.com/strimertul/kilovolt/blob/main/PROTOCOL.md"
href="https://git.sr.ht/~ashkeel/kilovolt/tree/main/item/PROTOCOL.md"
>documented protocol</a
>, but there are also officially supported bindings for popular
languages such as
<a href="https://github.com/strimertul/kilovolt-client-ts"
<a href="https://git.sr.ht/~ashkeel/kilovolt-client-ts"
>Typescript</a
>,
<a href="https://github.com/strimertul/kilovolt-client-go"
>Go</a
>
<a href="https://git.sr.ht/~ashkeel/kilovolt-client-go">Go</a>
and
<a href="https://github.com/strimertul/kilovolt-client-python"
<a href="https://git.sr.ht/~ashkeel/kilovolt-client-python"
>Python</a
>.
</p>
@ -159,7 +112,7 @@
<p>
strimertül is free and open source under the
<a
href="https://github.com/strimertul/strimertul/blob/master/LICENSE"
href="https://git.sr.ht/~ashkeel/strimertul/tree/master/item/LICENSE"
>AGPLv3</a
>, a strong
<a href="https://en.wikipedia.org/wiki/Copyleft"

View file

@ -20,20 +20,6 @@
{{ .Name }}
</a>
{{ end }}
<a href="https://github.com/strimertul/strimertul">
<svg
xmlns="http://www.w3.org/2000/svg"
width="32"
style="padding-right: 1px;margin-left:0"
viewBox="-32 -32 160 160"
>
<path
fill="#fff"
fill-rule="evenodd"
d="M49 0A49 49 0 0034 96c2 0 3-1 3-2V84c-14 3-17-5-17-5-2-6-5-8-5-8-5-3 0-3 0-3 5 1 8 5 8 5 4 8 11 6 14 4 0-3 2-5 3-6-11-1-22-5-22-24 0-6 2-10 5-14-1-1-2-6 0-13 0 0 4-1 14 5a47 47 0 0112-1l12 1c9-6 13-5 13-5 3 7 1 12 1 13 3 4 5 8 5 14 0 19-11 23-22 24 1 1 3 4 3 9v14c0 1 1 2 3 2 20-7 34-25 34-47C98 22 76 0 49 0z"
clip-rule="evenodd"
></path></svg
>GitHub</a
>
<a href="https://git.sr.ht/~ashkeel/strimertul">Source code</a>
</nav>
</header>

View file

@ -0,0 +1,30 @@
<div id="image-modal" class="modal">
<button class="modal-close" onclick="closeModal()">close</button>
<div class="modal-content">
<img
class="modal-pic"
id="modalPic"
onclick="closeModal()"
style="max-width: 100%; max-height: 80vh; margin: auto;"
/>
</div>
</div>
<script>
// Open the Modal
function openModal(clicked_id) {
var src = document.getElementById(clicked_id).src;
if (src.includes("#")) {
src = src.substring(0, src.indexOf("#"));
}
document.getElementById("modalPic").src = src;
document.getElementById("image-modal").style.display = "block";
}
// Close the Modal
function closeModal() {
// prevents flashing last modal image while new id is loading on open
document.getElementById("modalPic").src = "";
document.getElementById("image-modal").style.display = "none";
}
</script>

View file

@ -0,0 +1,18 @@
<!-- Images that use the standard image format for markdown will be displayed in a
magnific modal popup. Use format ![alt text](/path/to/image.img) -->
<!-- Place this file in layouts > _default > _markup > render-image.html -->
<!-- Also place the image-modal.css and partial/image-modal.html appropriately. -->
<!-- Id for the image on the page is set to a random 6 numbers, chosen from 1 to 500 -->
<!-- Onclick opens the modal, and displays/overlays the the image that has the id for the
clicked image. -->
<!-- attribution appreciated. github: zjeaton web: https://froglegs.co -->
<div class="md__image">
<img
id="{{ first 6 (shuffle (seq 1 500)) }}"
src="{{ .Destination | safeURL }}"
onclick="openModal(this.id)"
alt="{{ .Text }}"
{{ with .Title }}title="{{ . }}"{{ end }}
/>
</div>

View file

@ -0,0 +1,29 @@
{{ define "main" }}
<main class="release-list">
<div class="doc">
<header><h1>{{ .Title }}</h1></header>
<section class="copy">{{ .Content }}</section>
{{ range .Pages }}
<article class="release-item">
<h2>
<time datetime="{{ .Date | time.Format "2006-01-02" }}"
>{{ .Date | time.Format "2006-01-02" }}</time
>
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
{{ if .Params.prerelease }}
<span class="prerelease">prerelease</span>
{{ end }}
</h2>
{{ if .Fragments.Identifiers.Contains "release-notes" }}
<ul class="recap">
{{ range (index .Fragments.HeadingsMap "release-notes").Headings }}
<li>{{ .Title }}</li>
{{ end }}
</ul>
{{ end }}
</article>
{{ end }}
</div>
</main>
{{ end }}

View file

@ -0,0 +1,15 @@
{{ define "main" }}
<main class="release">
<div class="doc">
<header>
<h1>
{{ .Title }}{{ if .Params.prerelease }}
<span class="prerelease">prerelease</span>
{{ end }}
</h1>
</header>
<section class="copy">{{ .Content }}</section>
</div>
</main>
{{ partial "image-modal" }}
{{ end }}

View file

@ -6,10 +6,6 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git@github.com-ash:strimertul/strimertul.github.io.git"
},
"keywords": [],
"author": "",
"license": "ISC",

View file

@ -7,3 +7,4 @@
@import "landing.scss";
@import "guide.scss";
@import "pages.scss";
@import "release.scss";

View file

@ -1,5 +1,6 @@
main.apidocs,
main.guide {
main.guide,
main.release {
flex: 1;
}

View file

@ -0,0 +1,123 @@
.release,
.release-list {
display: flex;
justify-content: center;
& > .doc {
width: 100%;
max-width: 1000px;
padding: 1rem;
}
img {
max-width: 100%;
}
.prerelease {
display: inline-block;
text-transform: uppercase;
font-size: 14pt;
margin-left: 10pt;
padding: 4pt 8pt 3pt 8pt;
color: $gray2;
border-radius: 10px;
background-color: $yellow9;
}
}
.release-item {
.prerelease {
color: $yellow9;
background-color: transparent;
font-size: 10pt;
padding: 2pt 4pt 2pt 4pt;
margin-left: 0;
}
.recap {
list-style-type: none;
margin: 0;
padding: 0;
li {
line-height: 1.4;
}
li::before {
content: "- ";
}
}
}
.release-item time {
color: $gray11;
margin-right: 10pt;
font-size: 0.9em;
white-space: nowrap;
font-variant-numeric: tabular-nums;
}
.md__image {
cursor: pointer;
}
/* The Modal (background) */
.modal {
display: none;
position: fixed;
z-index: 1;
padding-top: 4em;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: black;
}
/* Modal Content */
.modal-content {
position: relative;
background-color: black;
margin: auto;
padding: 0;
width: 90%;
max-width: 1400px;
}
.modal-pic {
display: flex;
align-content: center;
cursor: pointer;
}
/* The Close Button */
/* Optimized for accessibility by using a button named close but
shifting the close text out of the button and only showing x */
.modal-close {
color: white;
background-color: black;
position: absolute;
top: 0.5em;
right: 0.5em;
font-size: 2em;
font-weight: bold;
height: 1em;
width: 1em;
text-indent: 10em;
overflow: hidden;
border: 0;
}
.modal-close::after {
position: absolute;
line-height: 0.5;
top: 0.2em;
left: 0.1em;
text-indent: 0;
content: "\00D7";
}
.modal-close:hover,
.modal-close:focus {
color: #999;
text-decoration: none;
cursor: pointer;
}