{"id":15324517,"url":"https://github.com/mrinjamul/gitignore-service","last_synced_at":"2026-01-04T01:03:46.907Z","repository":{"id":253836880,"uuid":"844443823","full_name":"mrinjamul/gitignore-service","owner":"mrinjamul","description":"A web service to help you with [dot] gitgnore files for git repositories.","archived":false,"fork":false,"pushed_at":"2024-08-19T20:33:54.000Z","size":199,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-09T16:42:10.321Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/mrinjamul.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-08-19T09:15:42.000Z","updated_at":"2024-08-19T20:33:57.000Z","dependencies_parsed_at":"2024-08-19T22:38:08.596Z","dependency_job_id":null,"html_url":"https://github.com/mrinjamul/gitignore-service","commit_stats":null,"previous_names":["mrinjamul/gitignore-service"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrinjamul%2Fgitignore-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrinjamul%2Fgitignore-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrinjamul%2Fgitignore-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrinjamul%2Fgitignore-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrinjamul","download_url":"https://codeload.github.com/mrinjamul/gitignore-service/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243960637,"owners_count":20375108,"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-10-01T09:27:05.324Z","updated_at":"2026-01-04T01:03:46.880Z","avatar_url":"https://github.com/mrinjamul.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/mrinjamul/gitignore-service/c41cdcb940554cd8f4908cc0b0cdc40aa75054c7/static/favicon.png\" width=\"100px\" alt=\"logo\" /\u003e\n  \u003ch1\u003e\u003ccode\u003egitignore-service\u003c/code\u003e\u003c/h1\u003e\n  \u003cp\u003e\n    \u003cstrong\u003eA web service to help you generate [.gitignore] files for Git repositories.\u003c/strong\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\nJust simply download gitignore file by,\n\n```shell\ncurl -s \"http://localhost:8080/api/gi/get?for=go\" -o .gitignore\n```\n\n## Features\n\n- **Generate `.gitignore` Files**: Easily generate `.gitignore` files for multiple languages and frameworks.\n- **API Endpoints**: Access various endpoints to fetch `.gitignore` templates and check service health.\n- **Health Check**: Monitor the service health with detailed health check endpoints.\n- **Static File Serving**: Serve static files like images and documents from the `/static` endpoint.\n\n## Installation\n\n### Prerequisites\n\n- Go 1.18 or later\n- Git\n\n### Clone the Repository\n\n```shell\ngit clone https://github.com/mrinjamul/gitignore-service.git\ncd gitignore-service\n```\n\n### Load Environment Variables\n\nFor Linux,\n\n```sh\nexport $(cat .env | xargs)\n```\n\nFor Windows,\n\n```powershell\nGet-Content .env | ForEach-Object { if ($_ -and $_ -notmatch '^\\s*#') { $parts = $_ -split '=', 2; [System.Environment]::SetEnvironmentVariable($parts[0].Trim(), $parts[1].Trim()) } }\n```\n\n### Install Dependencies\n\n```shell\ngo mod download\n```\n\n### Running the Application\n\n```shell\ngo run .\n```\n\n## Usage\n\n**Base URL**: `http://localhost:8080`\n\n**Endpoints**:\n\n- `GET /static/*filepath` --\u003e Serves static files.\n- `GET /` --\u003e Main page.\n- `GET /api/gi/` --\u003e Fetch list of `.gitignore` files.\n- `GET /api/gi?for=go` --\u003e Fetch a specific `.gitignore` files.\n- `GET /api/gi/get?for=go` --\u003e Download a specific `.gitignore` file.\n- `GET /api/health` --\u003e Health check endpoint.\n- `GET /api/health/full` --\u003e Detailed health check.\n\n## Contributing\n\nContributions are welcome! To contribute:\n\n1. **Fork the repository**:\n\n   Click the \"Fork\" button at the top right of the repository page on GitHub.\n\n2. **Create a new branch**:\n\n   ```shell\n    git checkout -b feature-branch\n   ```\n\n3. **Commit your changes**:\n   ```shell\n   git commit -am 'Add new feature'\n   ```\n4. **Push to the branch**:\n   ```shell\n   git push origin feature-branch\n   ```\n5. **Create a new Pull Request**:\n\n   Go to the repository on GitHub, switch to your branch, and click \"New Pull Request\".\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Contact\n\nFor any questions or issues, please open an issue on GitHub or contact the project maintainer.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrinjamul%2Fgitignore-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrinjamul%2Fgitignore-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrinjamul%2Fgitignore-service/lists"}