{"id":15452020,"url":"https://github.com/willscott/geosub","last_synced_at":"2025-05-09T02:15:16.335Z","repository":{"id":8152286,"uuid":"9572433","full_name":"willscott/geosub","owner":"willscott","description":"Geographic based subscription service","archived":false,"fork":false,"pushed_at":"2013-08-22T01:56:07.000Z","size":803,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-09T02:15:10.384Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/willscott.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}},"created_at":"2013-04-20T23:53:02.000Z","updated_at":"2020-05-24T22:33:21.000Z","dependencies_parsed_at":"2022-09-10T20:12:05.493Z","dependency_job_id":null,"html_url":"https://github.com/willscott/geosub","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/willscott%2Fgeosub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willscott%2Fgeosub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willscott%2Fgeosub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willscott%2Fgeosub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/willscott","download_url":"https://codeload.github.com/willscott/geosub/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253176444,"owners_count":21866143,"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-01T21:40:55.033Z","updated_at":"2025-05-09T02:15:16.314Z","avatar_url":"https://github.com/willscott.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Geo Sub\n=======\n\nInitial work on subscription service for streaming geographic data.\n\nPrerequisites\n------\n\n[Shapely](https://pypi.python.org/pypi/Shapely) is installed through ```setup.sh```,\nbut it does not automatically install its C dependency, [Geos](http://trac.osgeo.org/geos/).  Install that\nlibrary as is appropriate for your platform.\n\nInstallation\n------\n\n    git submodule init\n    git submodule update\n\tbash setup.sh\n\nRunning\n------\n\n### Backend\n\n    cd hub\n    python daemon.py\n\n### Frontend\n\n* Currently needs a google project id saved as client_secrets.json.\n* Make a project at https://code.google.com/apis/console\n* In API Access create a client id for Web apps\n* Set javascript origin to 'http://localhost:8080'\n* In Services, enable 'Google+ API'\n* Save a file 'client_secrets.json' that looks like:\n\n```javascript\n    { \"web\":\n      { \"client_id\": \"\u003cyourid\u003e.apps.googleusercontent.com\",\n        \"client_secret\": \"\u003cyoursecret\u003e\",\n        \"redirect_uris\": [ \"/user/redirect\"],\n        \"auth_uri\": \"https://accounts.google.com/o/oauth2/auth\",\n        \"token_uri\": \"https://accounts.google.com/o/oauth2/token\"\n      }\n    }\n```\n\n* Setup additional libraries\n\n```\n    bash setup.sh\n```\n\n* Run the server\n\n```\n    python server.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillscott%2Fgeosub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwillscott%2Fgeosub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillscott%2Fgeosub/lists"}