Blindfold is a small web app built in Node.js that allows you to turn off/on retweets from the people you follow on Twitter. Because life is too short to keep ingesting negative crap all the time.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
What you’ll need to get started.
- NodeJS 6+
- Using Git, clone this repository to your local machine.
yarnfrom inside the project's directory to install all dependencies.
- Get your Consumer Key and Secret from https://apps.twitter.com.
cp ./env-default ./.envand adjust config variables.
- Start the app by running
npm run start;
├── app // main app dir where all the server-side logic is │ ├── config.js // configuration script that preps env vars, etc. │ ├── index.js // starting point of the app │ └── router.js // server-side logic and route-handling ├── assets // client-side scripts and styles │ ├── js │ └── scss ├── public // where all the static bits are being dumped to │ ├── css │ ├── images │ └── js ├── views // app frontend templates │ ├── layouts // surprise! only one layout here! │ ├── partials // a few bits and bobs that make the page whole │ └── index.njk // master template file in Nunjucks format ├── env-default // config template with sane local defaults ├── gruntfile.js // all the build logic is in there ├── package.json ├── readme.md // you are reading this! └── yarn.lock // can you tell I am a fan of Yarn yet?
Blindfold has only a handful of options, but they are all required before the app can run, otherwise expect it to complain.
If you want to tinker with this project, use Grunt to help you by handling auto-reloading of the app, as well as any connected browsers (via BrowserSync).
This is a for-fun project that most likely is full of bugs, untested things, and can likely fall on its head when mistreated. Feel free to report any bugs, issues, feature requests, etc.
If you spot something you can fix yourself, fork the repo, commit your code on a feature branch and open a pull request.
I will happily review all contributions, especially those that help with establishing automated smoke-screen testing of the app.
This app was never meant to be yet another Twitter client of any kind, so don't expect me to add new features such as feeds, lists, etc. Laser-sharp focus, young padawan.
2018 © MADBIT Co.