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

v4 alpha release
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Ash Keel 2024-04-21 01:20:54 +02:00
parent 8d3572039d
commit 2dcb38336c
No known key found for this signature in database
GPG key ID: 53A9E9A6035DD109
15 changed files with 764 additions and 976 deletions

View file

@ -2,7 +2,7 @@
menu: apiversions menu: apiversions
title: indev title: indev
version: v34 version: v40
aliases: aliases:
- latest - latest
- api/ - api/

View file

@ -0,0 +1,7 @@
---
menu: main
title: Features
layout: features
weight: 10
draft: true
---

View file

@ -1,7 +1,7 @@
--- ---
menu: main menu: main
title: User guide title: User guide
weight: 10 weight: 11
--- ---
Welcome to strimertül! This software might be a bit hard to use, so this user guide will try to guide you through setting it up and using its main features. Welcome to strimertül! This software might be a bit hard to use, so this user guide will try to guide you through setting it up and using its main features.

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

View file

@ -4,12 +4,12 @@ title: v3.3.1
date: 2023-11-12T02:01:35.286Z date: 2023-11-12T02:01:35.286Z
prerelease: false prerelease: false
downloads: downloads:
- target: Windows 64bit - target: Windows 64bit
url: https://downloads.strimertul.stream/v3.3.1/strimertul.exe url: https://downloads.strimertul.stream/v3.3.1/strimertul.exe
- target: Linux amd64 - target: Linux amd64
url: https://downloads.strimertul.stream/v3.3.1/strimertul-amd64 url: https://downloads.strimertul.stream/v3.3.1/strimertul-amd64
- target: Linux arm64 - target: Linux arm64
url: https://downloads.strimertul.stream/v3.3.1/strimertul-arm64 url: https://downloads.strimertul.stream/v3.3.1/strimertul-arm64
--- ---
## Release notes ## Release notes

View file

@ -0,0 +1,81 @@
---
tag: v4.0.0-alpha.6
title: v4.0.0-alpha.6
date: 2024-04-20T21:13:34.580Z
prerelease: true
downloads:
- target: Windows 64bit
url: https://downloads.strimertul.stream/v3.3.1/strimertul.exe
- target: Linux amd64
url: https://downloads.strimertul.stream/v3.3.1/strimertul-amd64
- target: Linux arm64
url: https://downloads.strimertul.stream/v3.3.1/strimertul-arm64
---
## Release notes
First public (pre)release of v4! There is one major change and a lot of small things. Not all features are in this release but the big one is and I'd like people to start trying it out.
If you built any software using the kilovolt API: Woops, you gotta re-do a lot of that. Most of the keys have changed in naming and some in format as well.
Two important things: back up your `data` folder and re-authenticate your user (it should tell you to, more on that below).
### The IRC bot is dead
With Twitch finally pushing out the latest EventSub APIs for chat interaction I could finally kiss the IRC bot goodbye. All the existing chat functionality works as before but you'll notice it be way more stable.
Setting a secondary user as the chatting user is now done through the API (with a similar flow)
![The new chat user configuration showing up a secondary user as authenticated](../media/v4-chat-account.png)
### New permissions required warning
v4.0.0 sets up the foundation for a "problem detection system" aimed at finding configuration problems. I will be adding checks as I find them but for now the only one will be to check if a user is authorized to the Twitch app and if the scope of that authorization is valid. As Twitch adds new features and strimertül adopts them the scope of authorization will change and this warning will tell you to re-authenticate when needed.
![The window shows a yellow warning telling the user to re-authenticate](../media/v4-permission.png)
### Compact sidebar with narrow window
To accomodate people with not that much screen estate the strimertül window can now make better use of narrow spaces by compressing the sidebar to only show icons. You can still hover over the icons to check which page they link to.
![The main window with only icons in the sidebar to better accomodate content in a small window](../media/v4-small.png)
### Internal API overhaul
As v4.0.0 was going to be a big breaking change I took the opportunity to rename a lot of the kilovolt keys. You can check the changelog for a key-by-key breakdown or just take a look at the new API reference (since this is a pre-release, you'll need to check [indev](/api/v40/)). If you have built integrations such as overlays or extensions it's very much likely that you'll need to at least change the keys. If you wrote any chat integrations you'll definitely have to update the formats as well.
### Overall stability improvements
While developing v4.0.0 I found a lot of random crashes and I could fix most of the causes. There's still work to do on a lot of tickets that are still open but this should be much more stable than v3 even as an alpha. You can check the list of tickets still open [here](https://todo.sr.ht/~ashkeel/strimertul). Not all of them will be addressed in this release but all the bugs should be!
## Changelog
### Added
- The UI sidebar has been modified to better adapt to small window sizes
- A new part of the dashboard will now inform the user if any configuration problems have been detected.
### Changed
- The required set of permissions has changed. Existing users must re-authenticate their users to the app connected to strimertül.
- The `twitch/ev/eventsub-event` and `twitch/eventsub-history` keys have been replaced by a set of keys in the format `twitch/ev/eventsub-event/<event-id>` and `twitch/eventsub-history/<event-id>`. Users of the old system will have to adjust their logic. A simple trick is to change from get/subscribing from a single key to the entire prefix. The data structure is the same.
- The `twitch/bot/@send-message` key has been renamed to `twitch/chat/@send-message`. The data structure is the same.
- A lot of keys for internal use have been changed, make sure to check the new reference for fixing up any integrations you might have. A migration process will convert v3 keys to v4 keys.
- The log format has changed significantly as the internal logging library has been replaced.
- The Twitch chat integration has been rewritten from the ground up to not use an IRC bot and rely on EventSub. This means that you will need to reconfigure your twitch account, especially if you used a different account as the "bot" account. Because of this rewrite, the terminology around chat functionalities have been renamed from "Bot" to "Chat" (e.g. "Bot commands" are now "Chat commands").
- The (i) icon next to "Recent events" in the dashboard now uses a custom tooltip that shows up more consistently.
- The "strimertul is already running" message now pops up from the currently running instance.
- Setting up a secondary user for chat interactions is now much simpler through an auth flow much like the one for setting up the main user.
### Fixed
- Updated Kilovolt to a version that fixes an annoying crash when managing subscriptions.
- A new cleanup routine will remove old eventsub subscriptions that are no longer used. This should remove most of the errors when trying to set new API keys about "too many subscriptions".
### Removed
- `twitch/@send-chat-message` has been removed. Use `twitch/chat/@send-message` instead.
- The `twitch/ev/chat-message` and `twitch/chat-history` keys have been removed. Use the EventSub keys `twitch/ev/eventsub-event/channel.chat.message` and `twitch/eventsub-history/channel.chat.message` instead. The data structure will be different!
## Downloads
{{< release-dl "https://downloads.strimertul.stream/v4.0.0-alpha.6/" >}}

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,2 @@
{{ define "main" }}
{{ end }}

View file

@ -1,28 +1,16 @@
{{ $url := .Get 0 }} {{ $url := .Get 0 }}
{{ $files := getJSON $url }}
{{ with .Page.Params.downloads }} {{ with .Page.Params.downloads }}
<table class="downloads"> <table class="downloads">
<tbody> <tbody>
{{ range . }} {{ range . }}
{{ $filename := index (split .url "/") (sub (len (split .url "/")) 1) }} {{ $filename := index (split .url "/") (sub (len (split .url "/")) 1) }}
{{ $record := where $files "name" $filename | first 1 }}
{{ $target := .target }} {{ $target := .target }}
{{ range $record }} <tr>
<tr> <th>{{ .target }}</th>
<th>{{ $target }}</th> <td>
<td> <a href="{{ $url }}{{ .url }}">{{ $filename }}</a>
<a href="{{ .url }}">{{ .name }}</a> </td>
({{ printf "%.2f" (div .size 1e6) }} MiB) </tr>
</td>
</tr>
{{ else }}
<tr>
<th>{{ .target }}</th>
<td>
<a href="{{ .url }}">{{ .name }}</a>
</td>
</tr>
{{ end }}
{{ end }} {{ end }}
</tbody> </tbody>
</table> </table>

View file

@ -1,4 +1,7 @@
.landing { .landing {
.hero.maxw {
padding: 0 10pt;
}
.flex { .flex {
display: flex; display: flex;
gap: 30px; gap: 30px;

View file

@ -9,7 +9,6 @@ body {
.maxw { .maxw {
max-width: 1000px; max-width: 1000px;
margin: 0 auto; margin: 0 auto;
width: 100%;
} }
a, a,
@ -154,3 +153,14 @@ figure {
background: rgba(0, 0, 0, 0.8); background: rgba(0, 0, 0, 0.8);
} }
} }
.site-footer {
padding: 20pt;
background-color: $gray3;
font-size: 11pt;
color: $gray11;
.maxw {
display: grid;
gap: 0.5rem;
}
}

View file

@ -4,9 +4,10 @@
<body> <body>
<main> <main>
<div class="content"> <div class="content">
{{- partial "header.html" . -}} {{- block "main" . }}{{- end }} {{- partial "header.html" . -}}
{{- partial "footer.html" . -}} {{- block "main" . }}{{- end }}
</div> </div>
</main> </main>
{{- partial "footer.html" . -}}
</body> </body>
</html> </html>

View file

@ -0,0 +1,22 @@
<footer class="site-footer">
<div class="maxw">
<section class="copy">
Website content licensed under the
<a
href="https://git.sr.ht/~ashkeel/strimertul-website/tree/main/item/LICENSE"
>AGPL v3 license</a
>.
<a href="https://git.sr.ht/~ashkeel/strimertul-website"
>Website source code</a
>
</section>
<section class="contact">
Doubts? Corrections? Reach out at any of the following:
<a href="mailto:strimertul@nebula.cafe">Email</a> |
<a href="https://lists.sr.ht/~ashkeel/strimertul-devel"
>strimertul-devel</a
>
| <a href="https://nebula.cafe/discord">Discord</a>
</section>
</div>
</footer>