{"id":15509927,"url":"https://github.com/haggen/localthreat","last_synced_at":"2025-04-16T02:02:54.720Z","repository":{"id":53503654,"uuid":"114577836","full_name":"haggen/localthreat","owner":"haggen","description":"Paste the transcript or members from chat to get a report of affiliations and PvP stats.","archived":false,"fork":false,"pushed_at":"2024-12-05T11:49:10.000Z","size":1880,"stargazers_count":40,"open_issues_count":24,"forks_count":10,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-29T03:51:18.799Z","etag":null,"topics":["eve-online","golang","react","zkillboard"],"latest_commit_sha":null,"homepage":"https://localthreat.xyz","language":"TypeScript","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/haggen.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-17T23:59:00.000Z","updated_at":"2025-03-05T09:53:42.000Z","dependencies_parsed_at":"2024-06-21T15:31:58.896Z","dependency_job_id":"8ddd3116-367f-4930-a6cb-e0706c6644db","html_url":"https://github.com/haggen/localthreat","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/haggen%2Flocalthreat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haggen%2Flocalthreat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haggen%2Flocalthreat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haggen%2Flocalthreat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haggen","download_url":"https://codeload.github.com/haggen/localthreat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249183098,"owners_count":21226140,"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":["eve-online","golang","react","zkillboard"],"created_at":"2024-10-02T09:44:57.592Z","updated_at":"2025-04-16T02:02:54.712Z","avatar_url":"https://github.com/haggen.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# localthreat ![Netlify status](https://img.shields.io/netlify/f8fbdc5c-e10c-4a4d-bd13-47d261566f08?label=client+build\u0026style=flat-square) ![Back-end deploy status](https://img.shields.io/github/workflow/status/haggen/localthreat/Back-end%20deploy?label=api+build\u0026style=flat-square) ![CodeQL status](https://img.shields.io/github/workflow/status/haggen/localthreat/CodeQL?label=codeql\u0026style=flat-square)\n\n[![localthreat.xyz](screenshot.png)](https://localthreat.xyz)\n\n---\n\n## About\n\n**[localthreat](https://localthreat.xyz/)** is an online tool to help EVE players with threat assessment.\n\n## Contribution\n\nI accept **ISK donations** as contributions to the project. If you feel like localthreat has helped you please consider contributing. Send a donation in-game of any value to **Jason Chorant**. This helps to keep me motivated and also with the costs of running and maintaining this service.\n\n## Development\n\n- 👨‍💻 The code and documentation are hosted on [GitHub](https://github.com/haggen/localthreat).\n- 🎨 The design lives on [Figma](https://www.figma.com/file/BPH2xeVvbBDAnWpjMI58GpnW/localthreat.next?node-id=0%3A1).\n- 🐛 Bug tracking, feature requests, and other feedback must be made on the [repository's issues page](https://github.com/haggen/localthreat/issues/new/choose).\n\n### Docker setup (recommended)\n\nWith [Docker](https://docs.docker.com/get-docker/) and [docker compose](https://docs.docker.com/compose/install/) installed , run:\n\n```shell\ndocker compose up\n```\n\nThis will boot everything you need in one go. Pass `-d` to free your terminal (daemon mode). You can resume your work later with the same command.\n\nIf it's your first run though, you'll need to create the database schema. Once the containers are up, run:\n\n```shell\ndocker compose exec -Tu postgres db psql \u003c api/schema.sql\n```\n\nYou can access the application at http://client-localthreat.local.crz.li and the API at http://api-localthreat.local.crz.li.\n\n\u003e 💡 local.crz.li is a public wildcard loopback domain. It resolves to `127.0.0.1` or `::1` in IPv6.\n\n### Manual setup\n\nIf you don't have Docker or don't want to deal with it you can build and run everything locally.\n\n#### API\n\nIt's a simple web server written in Go that talks JSON.\n\nYou'll need Go 1.15+ installed. Hop into the `api/` sub-directory and run:\n\n```shell\ngo get\n```\n\nTo download all the dependencies and then:\n\n```shell\nmake\n```\n\nTo test and build the binary.\n\nYou'll also need PostgreSQL 12+ running. Load `api/schema.sql` file into your database and run:\n\n```shell\nDATABASE_URL=postgres://postgres@localhost/postgres PORT=5000 ./api\n```\n\nThis will start the API server. You might want to adjust the `DATABASE_URL` and `PORT` values accordingly.\n\n#### Client\n\nIt's a [Create React App](https://create-react-app.dev/) written in TypeScript.\n\nYou'll need Node 12+ and npm installed. Hop into the `client/` sub-directory and run:\n\n```shell\nnpm install\n```\n\nTo download all the dependencies and then:\n\n```shell\nREACT_APP_API_URL=http://localhost:5000 npm run-script start\n```\n\nTo start the development server. You might want to adjust the `REACT_APP_API_URL` value accordingly.\n\n## Legal\n\n[The MIT License](LICENSE) © 2017 Arthur Corenzan\n\nEVE Online and the EVE logo are the registered trademarks of CCP hf. All rights are reserved worldwide. All other trademarks are the property of their respective owners. EVE Online, the EVE logo, EVE and all associated logos and designs are the intellectual property of CCP hf. All artwork, screenshots, characters, vehicles, storylines, world facts or other recognizable features of the intellectual property relating to these trademarks are likewise the intellectual property of CCP hf.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaggen%2Flocalthreat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaggen%2Flocalthreat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaggen%2Flocalthreat/lists"}