{"id":16708041,"url":"https://github.com/autogestion/sh_ctracker","last_synced_at":"2026-04-16T11:01:48.651Z","repository":{"id":150638766,"uuid":"104892306","full_name":"autogestion/sh_ctracker","owner":"autogestion","description":"Corruption tracker module for Socialhome","archived":false,"fork":false,"pushed_at":"2018-02-14T20:52:08.000Z","size":383,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-10-26T05:04:25.372Z","etag":null,"topics":["corruption","diaspora","django","federation","gis","maps","social-network"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/autogestion.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-09-26T14:03:24.000Z","updated_at":"2024-10-13T11:23:13.000Z","dependencies_parsed_at":"2023-10-01T05:15:11.613Z","dependency_job_id":null,"html_url":"https://github.com/autogestion/sh_ctracker","commit_stats":{"total_commits":22,"total_committers":1,"mean_commits":22.0,"dds":0.0,"last_synced_commit":"b94f95fd7ff7d8eeac084a634541e23d840fc17a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/autogestion/sh_ctracker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autogestion%2Fsh_ctracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autogestion%2Fsh_ctracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autogestion%2Fsh_ctracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autogestion%2Fsh_ctracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/autogestion","download_url":"https://codeload.github.com/autogestion/sh_ctracker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autogestion%2Fsh_ctracker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31882886,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T09:23:21.276Z","status":"ssl_error","status_checked_at":"2026-04-16T09:23:15.028Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["corruption","diaspora","django","federation","gis","maps","social-network"],"created_at":"2024-10-12T19:41:53.313Z","updated_at":"2026-04-16T11:01:48.613Z","avatar_url":"https://github.com/autogestion.png","language":"Python","readme":"# A federated Corruption Tracker\n\nCorruption tracker module for [Socialhome](https://github.com/jaywink/socialhome),\nbased on stand-alone [Corruption tracker](https://github.com/autogestion/corruption_tracker) engine\n\nCorruption tracker lets people to make cases of corruption and professionally unfit of civil servant public and as result track the level of it in public institutions.\nCentralized server encountered with the problem, that it is hard to get together journalists, politicians and public organizations, they have different standards and requirements. So in federated version actors will aggregate claims on their own pods with their specific marketing strategy and share results using Diaspora protocol\n\nFB - https://www.facebook.com/activecorruptiontracking/\n\n\n## Quick start\n\n1. Install prerequisites\n\n    1.1 Intstall Socialhome using sh guides:\n\n        http://socialhome.readthedocs.io/en/latest/development.html#development\n        http://socialhome.readthedocs.io/en/latest/install_guides.html#install-guides\n\n    1.2 Install postgis\n\n        sudo apt-get install postgis\n\n    1.3 On db creation, use next flow (or create extension postgis later):\n\n        sudo su - postgres\n        createuser -s -P socialhome  # give password 'socialhome'\n        createdb -O socialhome socialhome\n        psql\n        \\c socialhome;\n        create extension postgis;\n        \\q    \n        exit\n\n    1.4 Install ctracker using pip\n\n        pip install git+https://github.com/autogestion/sh_ctracker.git\n\n        or symlink for development\n\n        ln -s /home/.../sh_ctracker/ctracker/ /home/.../env/lib/python3.5/site-packages/ctracker\n\n2. Configure project\n\n    2.1 Edit .env file to add next values:\n\n        -Update DATABASE_URL to next value (replace postgres with postgis):\n        DATABASE_URL=postgis://socialhome:socialhome@127.0.0.1:5432/socialhome\n\n        -Add \n        SOCIALHOME_HOME_VIEW=ctracker.views.MapPublicStreamView\n        SOCIALHOME_ADDITIONAL_APPS=django.contrib.gis,ctracker\n        SOCIALHOME_ADDITIONAL_APPS_URLS=ctracker/,ctracker.urls\n\n    2.2 Run\n    \n        python manage.py migrate\n        python manage.py initiate_db\n        python manage.py createsuperuser  # with username 'acts', it will be used for broadcasting claims\n        python manage.py collectstatic\n\n\nAPI docs available on .../api/#/ctracker\n\n\n## Submit a bug\n\nWe would like to hear about any bugs or odd behavior that you uncover. Use the [issue tracker](../../issues/) to open a new item. When describing the issue, we recommend that you discuss the following items:\n\n  * Describe the bug\n  * Describe the steps you did to discover the bug\n  * What was the expected outcome of the above steps?\n  * Please provide screenshots, if applicable     ","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautogestion%2Fsh_ctracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fautogestion%2Fsh_ctracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautogestion%2Fsh_ctracker/lists"}