{"id":16724404,"url":"https://github.com/badboy/instapaper-stats","last_synced_at":"2026-03-04T07:33:05.294Z","repository":{"id":3268127,"uuid":"4307341","full_name":"badboy/instapaper-stats","owner":"badboy","description":"Small script to backup and graph your instapaper data.","archived":false,"fork":false,"pushed_at":"2012-06-21T22:12:42.000Z","size":93,"stargazers_count":13,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-10T17:16:36.755Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/badboy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-05-12T15:07:34.000Z","updated_at":"2022-07-11T05:51:11.000Z","dependencies_parsed_at":"2022-07-12T15:00:30.039Z","dependency_job_id":null,"html_url":"https://github.com/badboy/instapaper-stats","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/badboy/instapaper-stats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badboy%2Finstapaper-stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badboy%2Finstapaper-stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badboy%2Finstapaper-stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badboy%2Finstapaper-stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/badboy","download_url":"https://codeload.github.com/badboy/instapaper-stats/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badboy%2Finstapaper-stats/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30075434,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T05:31:57.858Z","status":"ssl_error","status_checked_at":"2026-03-04T05:31:38.462Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T22:45:06.400Z","updated_at":"2026-03-04T07:33:05.248Z","avatar_url":"https://github.com/badboy.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Instapaper Stats\n\nThis is a small script to backup your [Instapaper](http://instapaper.com/) data and generate some [fancy graph stuff](http://www.highcharts.com/).\n\nI wrote about it [here](http://fnordig.de/2012/05/08/my-instapaper-stats/).\n\n## What is needed?\n\nJust two small gems and an [Instapaper](http://instapaper.com/) account.\n\n    gem install mechanize mustache\n\n## Usage\n\n    Usage: instapaper-stats.rb [method]\n    fetch [credentials file]  - Fetch new data and save to 'backup/'.\n    info [csv file]           - Show info from csv file.\n    search [word]             - Search article by word or url,\n                                word can be a regexp.\n    csv [dir]                 - Print out latest backup info in CSV format.\n    csv_full [dir]            - Print out full backup info in CSV format.\n    graph [csv file]          - Write stats data from csv file to 'html/app.js'.\n\n\n## Daily backup\n\nI use this script as a cronjob to automatically backup and graph all my saved articles.\n\n    $ crontab -l\n    1 0 * * * /home/badboy/git/instredis/run.sh \u003e/dev/null\n    5 0 * * * /home/badboy/git/instredis/graph.sh \u003e/dev/null\n\nwhere `run.sh` is:\n\n    #!/bin/bash\n\n    cd $(dirname $0)\n    ~/.rvm/bin/ruby-1.9.3-p0 ./instapaper-stats.rb fetch credentials.txt\n\nand `graph.sh`:\n\n    #!/bin/bash\n\n    cd $(dirname $0)\n    ~/.rvm/bin/ruby-1.9.3-p0 ./instapaper-stats.rb csv backup \u003e\u003e full.csv\n    ~/.rvm/bin/ruby-1.9.3-p0 ./instapaper-stats.rb graph full.csv\n    cp html/app.js /var/www/sites/stats/app.js\n\n\n## License\n\n    \"THE BEER-WARE LICENSE\" (Revision 42):\n    \u003cbadboy@archlinux.us\u003e wrote this file. As long as you retain this notice you\n    can do whatever you want with this stuff. If we meet some day, and you think\n    this stuff is worth it, you can buy me a beer in return.\n    Jan-Erik Rediger\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadboy%2Finstapaper-stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbadboy%2Finstapaper-stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadboy%2Finstapaper-stats/lists"}