vrc-world-tweets-fetcher

command module
v0.0.0-...-65b5557 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2023 License: MIT Imports: 23 Imported by: 0

README

vrc-world-tweets-fetcher

This simple app streams tweets from Twitter, parses its content, and if it contained VRChat world link, posts the link to several media.

Post destinations are fully configurable.

Usage

$ ./vrc-world-tweets-fetcher 
Usage: ./vrc-world-tweets-fetcher [init|listen]

init:   Initializes stream rules. Deletes any existing rules if found.

listen: Connects to stream and start receiving tweets.
        Use HANDLERS environment variable to specify handlers.

        HANDLERS:
                Comma-separated list of handlers on newly found world.
                Defaults to "stdout". Multiple instances of the same kind of handlers allowed.

                Allowed values:
                        - stdout: Logs world info to stdout.
                        - traq: Logs world info to traQ webhook. Syntax: traq;ORIGIN;WEBHOOK_ID;WEBHOOK_SECRET, example: traq;https://q.trap.jp;00000000-0000-0000-0000-000000000000;my-secret

                Example: stdout,traq:https://q.trap.jp;00000000-0000-0000-0000-000000000000;my-secret,traq;https://q.toki317.dev;00000000-0000-0000-0000-000000000000;my-secret-2

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
db

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL