{"id":31364360,"url":"https://github.com/muradisazade777/logharbor","last_synced_at":"2025-10-02T23:05:10.388Z","repository":{"id":316776325,"uuid":"1064810592","full_name":"MuradIsazade777/LogHarbor","owner":"MuradIsazade777","description":"LogHarbor is a lightweight log aggregation service built with Go and Gin. It provides a fast, modular backend for collecting, storing, and querying structured log data via RESTful APIs.","archived":false,"fork":false,"pushed_at":"2025-09-26T15:37:51.000Z","size":10,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-26T17:38:03.795Z","etag":null,"topics":["api","backend","config","go","golang","json","library","modules","server","storage","testing"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MuradIsazade777.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-26T15:31:19.000Z","updated_at":"2025-09-26T17:09:13.000Z","dependencies_parsed_at":"2025-09-26T17:38:05.272Z","dependency_job_id":"537c0d6a-0033-4205-b780-8d6d04438b87","html_url":"https://github.com/MuradIsazade777/LogHarbor","commit_stats":null,"previous_names":["muradisazade777/logharbor"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/MuradIsazade777/LogHarbor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuradIsazade777%2FLogHarbor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuradIsazade777%2FLogHarbor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuradIsazade777%2FLogHarbor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuradIsazade777%2FLogHarbor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MuradIsazade777","download_url":"https://codeload.github.com/MuradIsazade777/LogHarbor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuradIsazade777%2FLogHarbor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277194869,"owners_count":25777177,"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","status":"online","status_checked_at":"2025-09-27T02:00:08.978Z","response_time":73,"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":["api","backend","config","go","golang","json","library","modules","server","storage","testing"],"created_at":"2025-09-27T07:04:03.548Z","updated_at":"2025-09-27T07:04:05.584Z","avatar_url":"https://github.com/MuradIsazade777.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LogHarbor 🚢\n\n**LogHarbor** is a lightweight log aggregation service built with Go and Gin. Designed for speed, modularity, and scalability, it enables developers to ingest, store, and query structured log data through clean RESTful endpoints.\n\n---\n\n## 🔧 Features\n\n- Fast and minimalistic Go backend using Gin\n- RESTful API for log ingestion (`POST /logs`)\n- Log retrieval with structured JSON output (`GET /logs`)\n- In-memory storage for rapid prototyping\n- Modular architecture ready for MongoDB, PostgreSQL, or Kafka integration\n- Clean project structure for scalability and maintainability\n\n---\n\n## 📁 Project Structure\n\n```bash\nLogHarbor/\n├── main.go                  # Entry point\n├── go.mod                   # Module definition\n├── config/                  # Configuration files\n├── models/                  # Log data structures\n├── controllers/             # HTTP handlers\n├── services/                # Business logic\n├── storage/                 # In-memory storage\n├── middleware/              # Optional logging/CORS\n├── routes/                  # Route definitions\n├── utils/                   # Helper functions\n```\n\n🚀 Getting Started\n```\n1. Clone the repository\nbash\ngit clone https://github.com/yourusername/logharbor.git\ncd logharbor\n2. Install dependencies\nbash\ngo mod tidy\n3. Run the server\nbash\ngo run main.go\n```\nServer will start on http://localhost:5000\n\n📡 API Endpoints\nPOST /logs\nSubmit a log entry.\n```\njson\n{\n  \"level\": \"INFO\",\n  \"message\": \"User logged in\",\n  \"source\": \"auth-service\",\n  \"timestamp\": \"2025-09-26T19:30:00Z\"\n}\n```\nGET /logs\nRetrieve all stored logs.\n\n🧱 Built With\nGo\nGin\n\n📄 License\nThis project is licensed under the MIT License. See the LICENSE file for details.\n\n✨ Author\nMurad — Full-stack developer \u0026 system architect GitHub: @MuradIsazade777\n\n🧠 Future Plans\n1. MongoDB and Kafka integration\n\n2. JWT authentication\n\n3. Log filtering by level/source/timestamp\n\n4. Swagger documentation\n\n5. Dockerized deployment\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuradisazade777%2Flogharbor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmuradisazade777%2Flogharbor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuradisazade777%2Flogharbor/lists"}