{"id":13555020,"url":"https://github.com/enridaga/gapvis","last_synced_at":"2025-04-03T07:33:35.250Z","repository":{"id":11292285,"uuid":"13704883","full_name":"enridaga/gapvis","owner":"enridaga","description":"A visual interface for reading ancient texts for the Google Ancient Places project","archived":false,"fork":true,"pushed_at":"2017-03-13T22:56:41.000Z","size":8468,"stargazers_count":5,"open_issues_count":8,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-04T03:32:43.512Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://googleancientplaces.wordpress.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"nrabinowitz/gapvis","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/enridaga.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-10-19T16:59:15.000Z","updated_at":"2017-01-11T02:59:08.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/enridaga/gapvis","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/enridaga%2Fgapvis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enridaga%2Fgapvis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enridaga%2Fgapvis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enridaga%2Fgapvis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/enridaga","download_url":"https://codeload.github.com/enridaga/gapvis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246957236,"owners_count":20860590,"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-01T12:03:00.025Z","updated_at":"2025-04-03T07:33:34.464Z","avatar_url":"https://github.com/enridaga.png","language":"JavaScript","readme":"# GapVis\n\n### About\n\nGapVis is part of the [Google Ancient Places project](http://googleancientplaces.wordpress.com/). You can read more about some of the technical considerations and the design process here:\n\n * [Building a Single-Page Application for GAP, Part 1](http://googleancientplaces.wordpress.com/2011/10/05/building-a-single-page-application-for-gap-part-1/)\n * [Building a Single-Page Application for GAP, Part 2](http://googleancientplaces.wordpress.com/2011/10/13/building-a-single-page-application-for-gap-part-2/)\n * [Designing a Visual Interface for GAP Texts](http://googleancientplaces.wordpress.com/2011/10/25/designing-a-visual-interface-for-gap-texts/)\n \nComments and questions welcomed at nick (at) nickrabinowitz (dot) com.\n\n### Use it\n\n* Download a packaged dist from [https://github.com/enridaga/gapvis/releases](https://github.com/enridaga/gapvis/releases)\n* Unpack the folder\n* Edit the config/settings.productions.js file to point to your data service\n* Deploy it on your Web Server\n\n### API specification\nThis section describes what a data provider must implement to use GapVis as visualization tool.\n\n#### /books/.json\nList of available books, with core metadata:\n\n    [\n        {\n            \"id\":\"1\",\n            \"title\":\"Dictionary of Greek and Roman Geography\",\n            \"uri\":\"http:\\/\\/www.google.com\\/books?id=-C0BAAAAQAAJ\",\n            \"author\":\"Labadius-Zymethus\",\n            \"printed\":\"1857\"\n        },\n        {\n            \"id\":\"2\",\n            \"title\":\"The Works of Cornelius Tacitus: The History\",\n            \"uri\":\"http:\\/\\/www.google.com\\/books?id=2X5KAAAAYAAJ\",\n            \"author\":\"Cornelius Tacitus\",\"printed\":\"1805\"\n        }, ...\n    ]\n\nSee also:\n    http://gap.alexandriaarchive.org/books/.json\n\n#### /books/\u0026lt;book_id\u0026gt;.json\nBook info, with metadata and a list of pages with place refs and a list of places appearing here, with core data only:\n\n\t{\n\t\t\"id\":\"1\",\n\t\t\"title\":\"Dictionary of Greek and Roman Geography\",\n\t\t\"uri\":\"http:\\/\\/www.google.com\\/books?id=-C0BAAAAQAAJ\",\n\t\t\"author\":\"Labadius-Zymethus\",\n\t\t\"printed\":\"1857\",\n\t\t\"pages\":[\n\t\t\t{\n\t\t\t\t\"id\":-7,\n\t\t\t\t\"places\": [148142,157894,197448,216904,246539, ... ]\n\t\t\t}, ...\n\t\t],\n\t\t\"places\":[\n\t\t\t{\n\t\t\t\t\"id\":766,\n\t\t\t\t\"title\":\n\t\t\t\t\"Aegyptus\",\n\t\t\t\t\"ll\":[\n\t\t\t\t\t32.5,\n\t\t\t\t\t32.5\n\t\t\t\t]\n\t\t\t}, ...\n\t\t],\n\t\t\"texts\":[\n\t\t\t{\n\t\t\t\t\"lang\": \"grc\",\n\t\t\t\t\"label\": \"Ancient Greek\"\n\t\t\t}\n\t\t]\n\t}\n\nThe \"texts\" attribute is optional. Use it to declare there are alternative texts in addition to the default (see next section).\n\nSee also:\n    http://gap.alexandriaarchive.org/books/1.json\n\n#### /book/\u0026lt;book_id\u0026gt;/page/\u0026lt;page_id\u0026gt;.json\nPage info, including text - id either number or other id scheme (note the syntax for marking place references in the HTML text). It is also possible to provide additional texts using the \"text@lang\" attribute name: \n\n    {\n        \"text\":\" IASPIS. \u003cspan class=\\\"place\\\" data-place-id=\\\"216846\\\" \u003eIATRUS\u003c\\/span\u003e. 5 coast of Pantos, 130 stadia to the north-east of IV letnoninm; it is the most projecting cape on that roan, and forms the terminating point of the chain of Mount Paryadres. It was believed to have re- wired its name from the fact that Jason had landed there. (Strab. xii. p. M8; Arrian, Peripl. p. 17; Anonym. Peripl. p. 11; Ptol. v. 6.  4; Xenoph. A nab. vi. 2.  1, who calls it'Iwrovia S  t?'j.) It still bears the name Jasoon, [...] A second town of the name of Iassus existed in \u003cspan class=\\\"place\\\" data-place-id=\\\"628949\\\" \u003eCappadocia\u003c\\/span\u003e or \u003cspan class=\\\"place\\\" data-place-id=\\\"628936\\\" \u003eArmenia\u003c\\/span\u003e \u003cspan class=\\\"place\\\" data-place-id=\\\"628936\\\" \u003eMinor\u003c\\/span\u003e [...] \",\n        \"text@grc\":\"(Greek version here)\",\n\t\t\"image\":\"http:\\/\\/books.google.com\\/books?id=-C0BAAAAQAAJ\u0026pg=PA1\u0026img=1\u0026zoom=3\u0026hl=en\u0026sig=ACfU3U3ghy3Vlj6M8IqUKakKJjFI8-LYdg\u0026ci=0%2C0%2C1000%2C2000\u0026edge=0\"\n    }\n\nSee also:\n    http://gap.alexandriaarchive.org/books/1/page/1.json\n\n#### /places/\u0026lt;place_id\u0026gt;/books.json\nInfo about books containing references to the place:\n\n\t[\n\t\t{\n    \t\t\"id\":\"13”,\n\t\t\t\"tokenCount\":\"5”,\n\t\t\t\"uri\":\"http:\\/\\/www.google.com\\/books?id=IlUMAQAAMAAJ”,\n\t\t\t\"title\":\"History of the Decline and Fall of the Roman empire for the use of families and young persons, Volume I”,\n\t\t\t\"authors\":\"Edward Gibbon, Thomas Bowdler”,\n\t\t\t\"date\":\"1826”,\n\t\t\t\"created\":\"0000-00-00 00:00:00”,\n\t\t\t\"updated\":\"2011-10-17 10:48:05”\n\t\t},   …\n\t]\n\nSee also:\n    http://gap.alexandriaarchive.org/places/874699/books.json\n","funding_links":[],"categories":["JavaScript","others"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenridaga%2Fgapvis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenridaga%2Fgapvis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenridaga%2Fgapvis/lists"}