{"id":20747984,"url":"https://github.com/vicchi/you-were-here","last_synced_at":"2026-04-20T17:33:16.861Z","repository":{"id":7289919,"uuid":"8605301","full_name":"vicchi/you-were-here","owner":"vicchi","description":"Mapping where you've been according to Foursquare via privatesquare","archived":false,"fork":false,"pushed_at":"2013-03-07T11:14:06.000Z","size":180,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T13:47:38.346Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/vicchi.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":"2013-03-06T14:39:57.000Z","updated_at":"2013-10-07T13:23:20.000Z","dependencies_parsed_at":"2022-09-21T10:03:06.147Z","dependency_job_id":null,"html_url":"https://github.com/vicchi/you-were-here","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vicchi/you-were-here","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vicchi%2Fyou-were-here","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vicchi%2Fyou-were-here/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vicchi%2Fyou-were-here/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vicchi%2Fyou-were-here/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vicchi","download_url":"https://codeload.github.com/vicchi/you-were-here/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vicchi%2Fyou-were-here/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32057665,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"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":[],"created_at":"2024-11-17T08:14:57.476Z","updated_at":"2026-04-20T17:33:16.843Z","avatar_url":"https://github.com/vicchi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Where You've Been According To Foursquare\n\n## Gentle Introduction\n\nThis is a simple set of PHP scripts to visualise your Foursquare checkin history. You'll need a source of all of your checkins; you can either get these via the Foursquare API or you can run your own instance of [privatesquare](https://github.com/straup/privatesquare) to keep an up-to-date copy of them. These scripts assume you're using privatesquare on the same web server that you'll be using to serve the map up.\n\n## Installation\n\nYou'll need to make a copy of the config.php.sample file and name it `config.php`. You'll need to edit this file with specifics for your privatesquare database configuration.\n\n\t# Edit the database hostname, username, password and database name\n\t# to match your privatesquare instance.\n\n\t$config['hostname'] = 'localhost';\n\t$config['user'] = 'user';\n\t$config['password'] = 'password';\n\t$config['database'] = 'privatesquare';\n\t\n\t# Edit to match the user id your Foursquare account has in privatesquare. If you're the\n\t# sole user, you can probably leave this unchanged (see the users table)\n\n\t$config['userid'] = 1;\n\t\nNow change to the `tools` directory and run the `extract-checkins.php` script.\n\n\t$ cd tools\n\t$ php ./extract-checkins.php\n\t\nIf all goes well and there's no problems accessing the database, this script will create a Javascript file, containing all your checkins in GeoJSON format as `js/checkins-geojson.js`. It's probably a good idea to check that this file exists and isn't empty.\n\nThe GeoJSON will contain all of your checkins from your privatesquare instance at the time that you run `extract-checkins.php`; you might want to add this to your `crontab`, if your web host permits this, to run regularly and create a (relatively) up-to-date set of checkin information.\n\nMeanwhile, here's a [blog post](http://www.vicchi.org/2013/02/26/you-were-here-mapping-the-places-ive-been-to-according-to-foursquare/), which may or may not explain this.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvicchi%2Fyou-were-here","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvicchi%2Fyou-were-here","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvicchi%2Fyou-were-here/lists"}