Categorygithub.com/strimertul/stulbe
repositorypackage
0.6.3
Repository: https://github.com/strimertul/stulbe.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

stulbe - strimertul backend

Back-end portion of strimertul for features that require one:

  • KV sync for remote applications
  • User-facing loyalty points info (redeem APIs not available yet sorry!)
  • Webhook subscription for alerts

Platform support is limited to Twitch only for the time being (sorry!)

Getting started

Docker image

A prebuilt docker image is available in Docker Hub at strimertul/stulbe.

Pre-build binaries

You can find pre-build binaries for Windows and Linux in our Release section.

Building manually

You can build the app like any other Go project:

go build

Starting stulbe

To start stulbe succesfully you will have to configure the following environment variables:

TWITCH_CLIENT_ID=Twitch client ID
TWITCH_CLIENT_SECRET=Twitch client secret
TWITCH_WEBHOOK_SECRET=some random secret string
REDIRECT_URI=https://redirect.uri.for.auth/oauth
WEBHOOK_URI=https://webhook.uri.for.twitch.alerts/webhook

To obtain the Twitch client credentials, create an Application in the Twitch dev console, make sure to set the REDIRECT_URI to a reacheable URL and to make sure it's in the "OAuth Redirect URLs" section of the application!

License

The entire project is licensed under AGPL-3.0-only (see LICENSE).

FAQ

How do I use it?

Swagger or whatever docs coming soon, meanwhile look at this Go client.

Does this scale?

lol no it uses a single-writer on-disk KV store

Make it scale then!

The aim of the strimertul suite is to be lean and hackable. Making a distributed cloud-native <more devop buzzwords here> thingamajig is way out of scope.

I don't know realistically how much load this system can take, but I highly suggest looking elsewhere if you think your scale could be an issue. If you made/know a FOSS tool like this that scales, let me know!

Where's the API docs?

Soon™

Gib awoos

Here you go