{"id":13655816,"url":"https://github.com/danvk/sfhistory","last_synced_at":"2025-09-12T19:31:33.124Z","repository":{"id":601140,"uuid":"237084","full_name":"danvk/sfhistory","owner":"danvk","description":"Making a map of historical SF photos","archived":false,"fork":false,"pushed_at":"2022-10-01T20:23:32.000Z","size":47785,"stargazers_count":14,"open_issues_count":1,"forks_count":3,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-01-03T03:50:13.552Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/danvk.png","metadata":{"files":{"readme":"README","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":"2009-06-26T17:26:40.000Z","updated_at":"2022-10-01T20:23:40.000Z","dependencies_parsed_at":"2023-01-11T15:47:25.270Z","dependency_job_id":null,"html_url":"https://github.com/danvk/sfhistory","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/danvk%2Fsfhistory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danvk%2Fsfhistory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danvk%2Fsfhistory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danvk%2Fsfhistory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danvk","download_url":"https://codeload.github.com/danvk/sfhistory/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232777020,"owners_count":18575047,"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-08-02T04:00:38.171Z","updated_at":"2025-01-06T19:41:47.543Z","avatar_url":"https://github.com/danvk.png","language":"JavaScript","funding_links":[],"categories":["Librarys"],"sub_categories":[],"readme":"To get going:\n\ngit clone git://github.com/danvk/sfhistory.git\ncd sfhistory\ndev_appserver.py viewer\n\nThen hit up http://localhost:8080/\n\n\nIf you want to do your own geocoding, you'll want to do this.\ngunzip -c records.pickle.gz \u003e records.pickle\ntar -xzf geocache.tgz\necho \"records.pickle\\ngeocache\\n*.pyc\\nimages\" \u003e\u003e .git/info/exclude\n\nThese files could be checked in directly, but that seemed wasteful.\n\nPython can read the pickle.gz file directly, but this winds up being an order\nof magnitude slower than reading the uncompressed version.\n\n\nTo start up a new local AppEngine instance:\n- (open up the GoogleAppEngineLauncher and start up the app)\n- Run \"./upload_to_appengine.py\" and Ctrl-C when you're ready\n- Hit up http://localhost:8080/\n\n\nHere's the sequence to bring up an instance of the viewer app:\n\n# Geocode all images that can be geocoded:\n$ ./generate-geocodes.py --geocode --maps_key (your key) \u003e /tmp/geocodes.txt\n\n# Convert these geocodes into JSON:\n$ ./generate-js.py \u003e viewer/lat-lons.js\n\n# Upload JSON to AppEngine\n$ cat /tmp/password | appcfg.py update --passin --email danvdk@gmail.com viewer\n\n# Upload (new) thumbnail images to AppEngine\n$ ./upload-thumbnails.py\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanvk%2Fsfhistory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanvk%2Fsfhistory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanvk%2Fsfhistory/lists"}