switch_streamer

Version, currently main branch1 version
  • main branchlatestMay 6, 2023

github.com/bkerley/switch_streamer

No description declared in shard.yml.

1 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  switch_streamer:
    github: bkerley/switch_streamer
    branch: main

main is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
0.35.1
License
MIT
Author
Bryce Kerley
Target
  • switch_streamer from src/switch_streamer.cr

Dependencies

Runtime Dependencies

  • kemal*github: kemalcr/kemal, branch: master
  • dotenv*github: gdotdesign/cr-dotenv
  • mastodon*github: spencerking/mastodon.cr, branch: master
  • twitter-crystal*github: bkerley/twitter-crystal, branch: bkerley-delete
  • kemal-basic-auth*github: maiha/kemal-basic-auth, branch: only

README

switch_streamer

copies tweets from nintendo switch to mastodon using twitter webhooks

works on heroku!

Usage

  1. copy .env.example to .env
  2. edit the values for your twitter api key that you have to literally beg and grovel for now
  3. edit the values for your mastodon server and tokens; getting the access token can be done with https://mastodon-oauth-utility.herokuapp.com
  4. push it to heroku
  5. test it

Development

no tests, ngrok can be useful for local development (twitter needs to GET and POST)

Contributing

  1. Fork it (https://github.com/bkerley/switch_streamer/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • bkerley Bryce Kerley - creator, maintainer