Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jesstelford/emoji-tetra-animated
Generates a gif of the MMO Tetra game hosted by https://twitter.com/EmjoiTetra
https://github.com/jesstelford/emoji-tetra-animated
Last synced: 28 days ago
JSON representation
Generates a gif of the MMO Tetra game hosted by https://twitter.com/EmjoiTetra
- Host: GitHub
- URL: https://github.com/jesstelford/emoji-tetra-animated
- Owner: jesstelford
- Created: 2018-04-29T16:18:47.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-23T03:01:22.000Z (about 2 years ago)
- Last Synced: 2024-06-11T17:36:40.970Z (7 months ago)
- Language: JavaScript
- Size: 1.17 MB
- Stars: 7
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# EmojiTetra gif generator
Generates a gif of the MMO Tetra game hosted by [@EmjoiTetra](https://twitter.com/EmjoiTetra):
![A gif](./anim.gif)
## Setup
Requirements:
- [gifski cli](https://gif.ski/) to be installed and in the PATH
- Node.js >= 10.0.0
- [`yarn`](https://yarnpkg.com/en/)Installation:
```
$ git clone https://github.com/jesstelford/emoji-tetra-animated.git
$ cd emoji-tetra-animated
$ yarn
```Save firebase credentials to `./firebase-emojitetragif-admin.json`.
Edit `.env` to setup Twitter bot creds.
## Running it
```
$ yarn start 989912736971636736
```_(where `989912736971636736` is the ID of the first tweet in a game thread)_
Will give output like:
```
❯ yarn start
✔ Setting up Headless Chrome
✔ Saved screenshot for tweet 989912736971636736
...
✔ Saved screenshot for tweet 990617375895470080
✔ All screenshots taken
...
```This will create **`anim.gif`**, upload it to Twitter as a reply to the most
recent @EmojiTetra post, then listen for new posts and continue uploading.### Troubleshooting
Try running it like so:
```
$ DEBUG=tetra yarn start
```Want _more_ debug info? You asked for it...
```
$ DEBUG=* yarn start
```