{"id":15044014,"url":"https://github.com/apsurt/sovereignsys","last_synced_at":"2026-01-07T16:40:09.323Z","repository":{"id":256758370,"uuid":"856318971","full_name":"Apsurt/SovereignSys","owner":"Apsurt","description":"API for managing fictional micronations","archived":false,"fork":false,"pushed_at":"2024-09-14T02:51:28.000Z","size":66,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T04:12:40.247Z","etag":null,"topics":["api","api-rest","economy","fastapi","government","laws","python","simulation"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Apsurt.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":"2024-09-12T11:31:53.000Z","updated_at":"2024-09-14T02:51:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"9afa3399-b18e-4906-90e8-f4d55dc826ef","html_url":"https://github.com/Apsurt/SovereignSys","commit_stats":{"total_commits":30,"total_committers":2,"mean_commits":15.0,"dds":0.06666666666666665,"last_synced_commit":"cd60653b3555eda26dd925c8d171010fd94ceec9"},"previous_names":["apsurt/sovereignsys"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Apsurt%2FSovereignSys","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Apsurt%2FSovereignSys/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Apsurt%2FSovereignSys/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Apsurt%2FSovereignSys/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Apsurt","download_url":"https://codeload.github.com/Apsurt/SovereignSys/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246368653,"owners_count":20766059,"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":["api","api-rest","economy","fastapi","government","laws","python","simulation"],"created_at":"2024-09-24T20:49:57.470Z","updated_at":"2026-01-07T16:40:09.265Z","avatar_url":"https://github.com/Apsurt.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SovereignSys API\n\n## Overview\n\nThe SovereignSys API is a project that simulates the management of a micronation. This FastAPI-based application provides endpoints for citizen registration, passport issuance, law creation, and more. It's designed to showcase how a RESTful API can be used to manage the complex operations of a small, self-declared nation.\n\n## Features (When Finished)\n\n- Country creation: Create multiple countries to simulate your world\n- Citizen Registry: Register and manage citizens\n- Virtual Passport System: Issue and verify digital passports\n- Economy System: Create currencies and markets\n- Legal Framework: Create and store laws\n\n## Prerequisites\n\nBefore you begin, ensure you have met the following requirements:\n\n- Python 3.7+\n- pip (Python package manager)\n\n## Installation\n\n1. Clone the repository:\n   ```\n   git clone https://github.com/Apsurt/SovereignSys.git\n   cd SovereignSys\n   ```\n\n2. Create a virtual environment (optional but recommended):\n   ```\n   python -m venv .venv\n   source .venv/bin/activate  # On Windows, use `.venv\\Scripts\\activate`\n   ```\n\n3. Install the required packages:\n   ```\n   pip install -r requirements.txt\n   ```\n\n## Usage\n\nTo run the API locally:\n\n1. Start the FastAPI server:\n   ```\n   fastapi dev SovereignSys/main.py\n   ```\n\n2. The API will be available at `http://localhost:8000`\n\n3. Access the interactive API documentation at `http://localhost:8000/docs`\n\n## API Example Endpoints\n\n- `POST /`: \n- `GET /`: \n\nFor full documentation on request/response formats, please refer to the API documentation at `/docs` when the server is running.\n\n## Example Usage\n\nHere's a quick example of how to use the API with curl:\n\n1. Create a new citizen:\n   ```\n   curl -X POST \"http://localhost:8000/\"\n   ```\n\n2. Issue a passport:\n   ```\n   curl -X POST \"http://localhost:8000/\"\n   ```\n\n3. Create a new law:\n   ```\n   curl -X POST \"http://localhost:8000/\"\n   ```\n\n## Contributing\n\nThis is a project for demonstration purposes. However, if you'd like to expand on this idea, feel free to fork the repository and make your own changes!\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Acknowledgements\n\n- List of names and surnames: [zeraye](https://github.com/zeraye/names-surnames-list)\n- List of countries: [claude.ai](https://claude.ai/)\n- List of jobs [Will St. Clair](https://gist.github.com/wsc/1083459)\n\n## Contact\n\nIf you have any questions or feedback, please open an issue in this repository.\n\nHappy coding, and may your micronation prosper! 🏴","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapsurt%2Fsovereignsys","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapsurt%2Fsovereignsys","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapsurt%2Fsovereignsys/lists"}