approvers / twatch

πŸ” Watches Twitter statuses with a keyword, and reports them to Discord.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ” Twatch

Watches Twitter statuses with a keyword, and reports them to Discord.

βœ… Prerequisites

One of these:

  • .NET 5.x
  • Docker 20.10.x

πŸ“¦ Installation

🐳 with Docker

$ docker run ghcr.io/approvers/twatch:latest

🐬 On-premise

$ git clone https://github.com/approvers/twatch.git
$ cd twatch/Twatch
$ dotnet publish -c Release -o out
$ dotnet ./out/Twatch.dll

πŸ”§ Configuration

Write appsettings.local.json to configure the application. Optionally refer appsettings.json for example. On Docker, use attach it as volume mounted to /app/appsettings.local.json .

  • (root)
    • Twitter: Configurations for Twitter.
      • ConsumerKey: Your consumer key for Twitter API.
      • ConsumerSecret: Your consumer secret.
      • AccessToken: This application requires user-scoped token.
      • AccessTokenSecret: ... and secret.
      • Keyword: A keyword to watch about.
    • Discord: Configurations for Discord.
      • WebhookUrl: The URL to Webhook of the channel.

Made with πŸ’• in Matsudo, Chiba, Japan
Β© 2021 Naoki Ikeguchi, Approvers.

About

πŸ” Watches Twitter statuses with a keyword, and reports them to Discord.

License:MIT License


Languages

Language:C# 96.1%Language:Dockerfile 3.9%