This repository has been archived by the owner. It is now read-only.
🎮 twit app to post screenshots or recrord video games from my raspberry pi to twitter
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
.travis.yml
LICENSE
README.md
config.example.js
index.js
mkvToGif.sh
package-lock.json
package.json
test.js

README.md

Whatmeplaying

Build Status codecov js-standard-style deprecated

!!! this project is deprecated !!!

take a look at retrorecord

🎮 twit app to post screenshots or recrord video games from my raspberry pi (RetroPie) to twitter:
https://twitter.com/whatmeplaying


Requirements

This was setup to run on a Raspberry Pi 3 Model B running RetroPie. I'm sure it would work on other Retroarch's as well. I wouldn't try this on an older Pi 1, or single core system. The screenshot stuff should work (maybe this should be configurable?) but the recording/gif converting would likely be too slow on a single core system (it can already bog down the Pi 3 at times).

What you really really need is:

software command version
Node.js node >=8.9.4
npm npm >=5.6.0
ImageMagick convert =6.8.9-9
ffmpeg ffmpeg =3.1.4

(I am sure versions can flex a bit)

If you are setting these things up on RetroPie you can follow these guides:

Installation

clone this repo somewhere:
git clone git@github.com:rickycodes/whatmeplaying.git
install deps via npm:
npm i

Configuration

You'll need to modify values here to match your needs (the folder structure needs to be set up by you and depending on how you configure RetroArch the folders may vary)

this file also needs to be renamed to config.js

Tests

run unit tests:
npm t
I've also added a test to check your configuration:
NODE_ENV=local node test.js

Startup

node index.js or npm start

(Good luck and jah bless!)

Notes

All this app really does is watch folders for screenshots & recordings, so presumably you could get this to work on most systems? While this was used to create whatmeplaying you could use a similar setup to post screenshots/videos/gifs from games to anywhere (so long as there's an API of some sort).

Most of the magic (literally ImageMagick) is in the mkvToGif.sh file

License

MIT License

Copyright © 2017 Ricky Miller

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.