If you have an issue or a feature request feel free to reach out to calv.
on Discord.
This is version 2 of Mittens boasting a 200% speed increase over version 1 of Mittens through the use of a proper SQL database and a lot of code optimizations.
Mittens will monitor your chat for sentences and translates text from Japanese to English when required. In addition, Mittens keeps a schedule of (for now) Hololive streamers to notify you and your friends when someone on your following list goes live! Mittens uses slash commands with autocomplete. Below is a list of commands supported:
add
: adds a streamer to your following list. You will get notifications in the channel you sent the command inremove
: removes a streamer from your following listlist
: gets your current subscription list in your current discord channelschedule [streamer], [group], [org]
: gets the scheduled streams (stream reservations) for a particular streamer, group, or organization. See database for more info.
You can either build it locally or use the Docker Hub Image
-
Install required packages with
npm i
-
Install
SQLite3
following this documentation -
Get a
.env
file by forking the repository and filling it out. -
Run
npm start
-
Pull:
docker pull imcalvin/mittens:latest
-
Fill out the
.env
file on dotenv-vault and acquire aDOTENV_KEY
for the next step -
Run:
docker run -d -e DOTENV_KEY=<YOUR_DOTENV_KEY> imcalvin/mittens:latest
First login: docker login
Build & Tag: docker -t imcalvin/mittens:VER_NUM .
Push: docker push imcalvin/mittens:VER_NUM
The database uses SQLite with TypeORM. Notes on the tables:
- The
languages
table refers to the organization (ex: Hololive) as well as the language (ex: English). - The
groups
table is more specific and refers to a specific generation (ex: Hololive English Council)