public
Description: Haremie is a Ramaze(Ruby framework) based application that is a web image viewer. It runs on your (local) machine.
Homepage:
Clone URL: git://github.com/tt25/haremie.git
name age message
file .gitignore Sun Jan 18 00:33:49 -0800 2009 initial commit [tt25]
file README Loading commit data...
directory controller/
file init.rb
directory lib/
file migration.rb
directory model/
directory public/
file run.rb
directory schema/
file setting.yml.sample
directory spec/
file start.rb
file start.ru Sun Jan 18 00:33:49 -0800 2009 initial commit [tt25]
directory view/
README
Haremie is a Ramaze(Ruby framework) based application that is a web image viewer. It runs on your (local) machine.

Inspired by Remedie(http://github.com/miyagawa/remedie/tree/master).

## Screenshot

http://www.flickr.com/photos/tt25/3206303691/

## Install

Install required Rubygems.

    $ sudo gem install nokogiri ramaze sequel erubis
    $ git clone git://github.com/tt25/haremie.git
    $ cd haremie
    haremie $ ruby migration.rb latest
    (--snip--)
    haremie $ cp setting.yml{.sample}
    haremie $ ruby run.rb
    (--snip--)
    haremie $ ramaze

Open http://localhost:7000/ in your browser.

### Note

If you can't install Nokogiri, try install libxml2/libxslt.

    sudo apt-get install libxml2-dev libxslt1-dev
    
    (for Ubuntu)
    sudo apt-get build-essential

## How to use

Edit haremie/setting.yml. Supported websites are:

- Flickr (tag / user)
- Weheartit (tag / user)
- Danbooru (tag)
- FutabaNijiura (recent)
- Pixiv (tag)
- FFFFOUND (recent / user)
- Drawr (user / thread)
- Waranote (experimental)

Please check haremie/lib/scraper directory.


## Auto-crawling

Using cron.

    $ crontab -e
    41 * * * * /usr/bin/ruby /path/to/haremie/run.rb