{"id":13400161,"url":"https://github.com/maccman/monocle","last_synced_at":"2025-04-12T15:36:45.676Z","repository":{"id":10927261,"uuid":"13230264","full_name":"maccman/monocle","owner":"maccman","description":"Link and news sharing","archived":false,"fork":false,"pushed_at":"2014-07-16T16:18:16.000Z","size":776,"stargazers_count":1446,"open_issues_count":20,"forks_count":119,"subscribers_count":49,"default_branch":"master","last_synced_at":"2025-04-10T04:44:05.644Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://monocle.io","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maccman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-09-30T23:28:34.000Z","updated_at":"2025-04-09T05:26:49.000Z","dependencies_parsed_at":"2022-08-30T03:40:54.482Z","dependency_job_id":null,"html_url":"https://github.com/maccman/monocle","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maccman%2Fmonocle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maccman%2Fmonocle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maccman%2Fmonocle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maccman%2Fmonocle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maccman","download_url":"https://codeload.github.com/maccman/monocle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248590412,"owners_count":21129809,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-07-30T19:00:49.135Z","updated_at":"2025-04-12T15:36:45.652Z","avatar_url":"https://github.com/maccman.png","language":"Ruby","funding_links":[],"categories":["Ruby","Happy Exploring 🤘"],"sub_categories":[],"readme":"## Monocle\n\nMonocle is a link and news aggregation website.\n\nhttp://monocle.io\n\n![Screenshot](http://maccman.github.io/monocle/screenshot.png)\n\n### Prerequisites\n\n* Ruby 2.0\n* Postgres 9.3\n* Redis\n* A GitHub app account\n* A Twitter app account\n\n### Setup\n\n    bundle install\n    createdb monocle_development\n    rake db:migrate\n\n### Configuration\nMonocle needs a few configuration variables to work properly.\nYou can export them from your terminal like in the following example:\n\n    export GITHUB_KEY=123\n    export GITHUB_SECRET=123\n\n    export TWITTER_KEY=123\n    export TWITTER_SECRET=123\n\nOr you can copy the included .sample.env into a .env file and set all your\nvariables there.\n\n### First time user\nTo become administrator as first time user, first start Monocle with:\n\n    thin start\n\nLogin with twitter or github into Monocle, then open a terminal and open Monocle inside an IRB session with:\n\n    irb -r ./app.rb\n\nFrom there execute:\n\n    user = Brisk::Models::User.first\n    user.admin = true\n    user.registered = true\n    user.save\n\nNow you will be able to post, comment and invite users.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaccman%2Fmonocle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaccman%2Fmonocle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaccman%2Fmonocle/lists"}