{"id":16968512,"url":"https://github.com/squallstar/collector-cloud","last_synced_at":"2026-04-29T16:38:53.415Z","repository":{"id":13812887,"uuid":"16509228","full_name":"squallstar/collector-cloud","owner":"squallstar","description":"The API engine that powers Collector for Windows Phone. This project also includes a top-notch web client built in Javascript.","archived":false,"fork":false,"pushed_at":"2014-02-06T16:21:45.000Z","size":1324,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-26T13:13:03.130Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/squallstar.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":"2014-02-04T10:59:15.000Z","updated_at":"2014-08-14T06:52:42.000Z","dependencies_parsed_at":"2022-08-28T10:40:27.697Z","dependency_job_id":null,"html_url":"https://github.com/squallstar/collector-cloud","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/squallstar%2Fcollector-cloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squallstar%2Fcollector-cloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squallstar%2Fcollector-cloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squallstar%2Fcollector-cloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/squallstar","download_url":"https://codeload.github.com/squallstar/collector-cloud/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244844531,"owners_count":20519790,"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-10-14T00:12:19.252Z","updated_at":"2026-04-29T16:38:53.379Z","avatar_url":"https://github.com/squallstar.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Collector \u0026 Fragments.me Cloud\n\nThis project consists in two pieces:\n\n1. Back-end APIs written in PHP using CodeIgniter framework\n2. A front-end webapp written in Javascript using Backbone and Marionette\n\nYou can see a working example of the app here: http://fragments.me\n\n---\n\n## Setup\n\nIn order to build the product you'll need **Grunt** locally installed on your machine.\n\nYou'll find a dump of the database here ``application/config/database.create.sql``, while its connection settings should go there ``application/config/database.php``. It's a typical **CodeIgniter** application, so if you understand how it works you should then be pretty much able to inspect most of the project.\n\nYour virtualhost should point to the root of the project - also make sure that the webserver (Apache) is reading the ``.htaccess`` file.\n\nIf you want to use the system to also fetch Tweets, configure your Twitter app details in ``application/config/config.php``:\n\n    $config['twitter_consumer_key'] = 'your_twitter_consumer_key';\n    $config['twitter_consumer_secret'] = 'your_twitter_consumer_private_key';\n\n\nWhen your database/vhost setup is done, just install the nodejs dependencies and run grunt from your command line to build the javascript/sass sources:\n\n    $ npm install .\n\nThen finally:\n\n    $ grunt\n\n---\n\n## Cronjobs\n\nIn order to let your application auto-fetch the articles and keep the indexes updated, setup the following cron jobs o your machine:\n\n    #Updates all the sources every 30 minutes\n    */30 * * * * php /path/to/app/index.php cron update_all_sources\n    #\n    #Resolves proxied urls twice a hour\n    10,40 * * * * php /path/to/app/fragments/index.php cron retrieve_feedproxy_urls\n    #\n    # Delete old articles once a day\n    0 0 * * * php /path/to/app/index.php cron delete_old_articles\n    #\n    # Updates the sources suggestions twice a day\n    0 1,13 * * * php /path/to/app/index.php cron update_suggestions\n    #\n    # Optimizes the tables once a day\n    0 12 * * * php /path/to/app/index.php cron optimize_tables\n\nWhile on development, you can manually run each job accessing your app from the browser like this:\n\n    http://localhost/cron/update_all_sources\n\n---\n\n## API\n\nDocumentation will be available soon. In the meantime you can have a look at the project Apiary file in the root directory ``apiary.apib``.\n\n---\n\n## Adding sources\n\nThe default sources that will be loaded by the systems are defined here:\n\n    application/config/public_collections.php\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquallstar%2Fcollector-cloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsquallstar%2Fcollector-cloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquallstar%2Fcollector-cloud/lists"}