{"id":25944986,"url":"https://github.com/path-check/safeplaces-ct-backend-translation","last_synced_at":"2026-04-19T11:31:25.126Z","repository":{"id":42263273,"uuid":"271582501","full_name":"Path-Check/safeplaces-ct-backend-translation","owner":"Path-Check","description":"SafePlaces Backend Translation","archived":false,"fork":false,"pushed_at":"2023-01-24T02:54:06.000Z","size":1071,"stargazers_count":1,"open_issues_count":16,"forks_count":2,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-04T08:22:32.587Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Path-Check.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-11T15:31:25.000Z","updated_at":"2020-11-23T18:05:16.000Z","dependencies_parsed_at":"2023-02-13T13:31:07.792Z","dependency_job_id":null,"html_url":"https://github.com/Path-Check/safeplaces-ct-backend-translation","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Path-Check/safeplaces-ct-backend-translation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Path-Check%2Fsafeplaces-ct-backend-translation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Path-Check%2Fsafeplaces-ct-backend-translation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Path-Check%2Fsafeplaces-ct-backend-translation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Path-Check%2Fsafeplaces-ct-backend-translation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Path-Check","download_url":"https://codeload.github.com/Path-Check/safeplaces-ct-backend-translation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Path-Check%2Fsafeplaces-ct-backend-translation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32005459,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-03-04T08:20:33.305Z","updated_at":"2026-04-19T11:31:25.105Z","avatar_url":"https://github.com/Path-Check.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SafePlaces Translation Service\n\nThe SafePlaces Translation Service is a private standalone API that is utilized by the SafePlaces Frontend to create, delete, update, and query for GPS points associated with a case or set of cases.\n\nGPS Points are collected by the SafePlaces mobile application and persisted across the public and private databases in discreet format. In discreet format, each GPS point consists of a latitude, longitude, a time, and implicitly represents a five minute window of time with the beginning of the five minute window relative to the time property. An example of three consecutive data points (consecutively five minutes apart from each other) in discreet format would look like the following:\n\n```\n[\n  {\n    \"longitude\": 14.91328448,\n    \"latitude\": 41.24060321,\n    \"time\": \"2020-05-30T18:25:00.511Z\"\n  },\n  {\n    \"longitude\": 14.91328448,\n    \"latitude\": 41.24060321,\n    \"time\": \"2020-05-30T18:30:00.511Z\"\n  },\n  {\n    \"longitude\": 14.91328448,\n    \"latitude\": 41.24060321,\n    \"time\": \"2020-05-30T18:35:00.511Z\"\n  }  \n]\n```\n\nThe contact tracing tool in the SafePlaces Frontend represents points as a function of time spent in a single location. This necessitates the translation of GPS point data from discreet format (above) to duration format. The three points in the above discreet format example would become a single GPS point consisting of latitude, longitude, time (start time), and duration, like the following example, when translated to duration format:\n\n```\n{\n  \"discreetPointIDs\": [21, 22, 23],\n  \"longitude\": 14.91328448,\n  \"latitude\": 41.24060321,\n  \"time\": \"2020-05-30T18:25:00.511Z\",\n  \"duration\": 15\n}\n```\n\nFollow the links below for more information on how to setup and configure the SafePlaces.\n\n- [SafePlaces Docs Home](https://github.com/Path-Check/safeplaces-docs/tree/master)\n- [Databases](https://github.com/Path-Check/safeplaces-docs/tree/master/safeplaces-backend-services/databases)\n- [Setting Up SafePlaces Translation Service](https://github.com/Path-Check/safeplaces-docs/tree/master/safeplaces-backend-services/setup#setting-up-safeplaces-translation-service)\n- [Environment Variables](https://github.com/Path-Check/safeplaces-docs/blob/master/safeplaces-backend-services/environment-variables/safeplaces-translation-service.md)\n- [Authentication](https://github.com/Path-Check/safeplaces-docs/tree/master/safeplaces-backend-services/authentication)\n- [User Account \u0026 Organization Setup](https://github.com/Path-Check/safeplaces-docs/tree/master/safeplaces-backend-services/accounts-configuration)\n- [Publishing Location Data](https://github.com/Path-Check/safeplaces-docs/tree/master/safeplaces-backend-services/published-data)\n- [Security Recommendations](https://github.com/Path-Check/safeplaces-docs/tree/master/safeplaces-backend-services/security)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpath-check%2Fsafeplaces-ct-backend-translation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpath-check%2Fsafeplaces-ct-backend-translation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpath-check%2Fsafeplaces-ct-backend-translation/lists"}