This is a simple way to create tasks in your favourite task management systems via twitter mentions.
The project splits into the two parts: the core and the frontend.
The core lives inside lib-directory. It designed to be fully independent from
any frontend, so it is possible to call it from terminal or web-interface.
It requires right social credentials passed as arguments and right settings for
task-managment adapters to be stored inside Redis.
The frontend is a rails app, that gives a user an opportunity to easily connect twitter and task mgmt accounts, configure adapters and kick-off the fetchr.
- Twitter's rate-limits handling
- Full importing of your mentions timeline
- Watching for a new mentions
- Auto-retrying for failed postings
- Possibility to work in sync/async mode
- Redbooth integration
- No way to stop the fetchr
- Sidekiq runs on a default settings, need to tune them up
- Adapters' settings page is too coupled with the main site, better to be an engine
- Redbooth settings page makes a sync-network call to get a list of tasklists
- Adding new adapters should be simplified
- Runs on Webrick, need to setup something serious.
- Add new adapter to
lib/social_posts/adapters. It should respond topost_taskmethod. - Add TokenUpdater class if needed
- Extend
SocialPostr::ADAPTERS_LISTwith your adapter's name
- Create settings page for the adapter
- Extend
FetchrStatusDecoratorto support statuses for it
- Ruby 2.1
- Redis
- clone it
bundle install- take a look into
.env.sampleand create your own.envwith the right values - run tests
bundle exec rspec. Note that twitter fetch specs will fail even with right ENV-vars, because its bundled to a specific account