Skip to content

toctan/instahust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

instahust

Instahust is a simple tool which syncs Instagram photos tagged with instahust to Weibo. The original instahust was implemented by pyrocat101. This is the ruby implementation with some enhancements, including job queue and exception notification via email.

instahust

Behind the tag #instahust is a group of college students trying to record the school life in HUST using Instagram. You can follow us on weibo.

Installation

Make sure you have redis installed, then run

git clone https://github.com/toctan/instahust.git
cd instahust && bundle install

Rename .env.sample to .env, and edit it accordingly. Start the server with

bundle exec foreman start

Then, create a Instagram tag subscription:

bundle exec foreman run rake create_sub

Finally, go to Instagram, tag a photo and enjoy.

Deploy to Heroku

Install the heroku config plugin if you havn't:

heroku plugins:install git://github.com/ddollar/heroku-config.git

Create the app and change the DOMAIN in .env, push the config to Heroku

heroku create          # => change the DOMAIN in .env before next command
heroku config:push
git push heroku master

Create the subscription with

heroku run rake create_sub

LICENSE

MIT

About

Sync Instagram photos tagged #instahust to Sina Weibo.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages