{"id":47862620,"url":"https://github.com/marcuwynu23/gitshelf","last_synced_at":"2026-05-01T20:32:41.073Z","repository":{"id":325435497,"uuid":"1101149798","full_name":"marcuwynu23/gitshelf","owner":"marcuwynu23","description":"GitShelf is a lightweight, self-hosted source code management system for creating, browsing, and managing local repositories","archived":false,"fork":false,"pushed_at":"2026-03-09T19:48:10.000Z","size":506,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-03T23:50:03.805Z","etag":null,"topics":["bitbucket","codecommit","forgejo","git","git-repo","git-repository","gitea","github","gitlab","gogs","project","repository","self-hosted"],"latest_commit_sha":null,"homepage":"https://gitshelf.marcuwynu.space","language":"TypeScript","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/marcuwynu23.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-11-21T09:09:06.000Z","updated_at":"2026-03-10T22:08:04.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/marcuwynu23/gitshelf","commit_stats":null,"previous_names":["marcuwynu23/repohub","marcuwynu23/gitshelve","marcuwynu23/gitshelf"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/marcuwynu23/gitshelf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcuwynu23%2Fgitshelf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcuwynu23%2Fgitshelf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcuwynu23%2Fgitshelf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcuwynu23%2Fgitshelf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcuwynu23","download_url":"https://codeload.github.com/marcuwynu23/gitshelf/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcuwynu23%2Fgitshelf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32512664,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["bitbucket","codecommit","forgejo","git","git-repo","git-repository","gitea","github","gitlab","gogs","project","repository","self-hosted"],"created_at":"2026-04-03T23:50:02.538Z","updated_at":"2026-05-01T20:32:41.064Z","avatar_url":"https://github.com/marcuwynu23.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003eGitShelf\u003c/h1\u003e\n\u003c/div\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/stars/marcuwynu23/repohub.svg\" alt=\"Stars Badge\"/\u003e\n  \u003cimg src=\"https://img.shields.io/github/forks/marcuwynu23/repohub.svg\" alt=\"Forks Badge\"/\u003e\n  \u003cimg src=\"https://img.shields.io/github/issues/marcuwynu23/repohub.svg\" alt=\"Issues Badge\"/\u003e\n  \u003cimg src=\"https://img.shields.io/github/license/marcuwynu23/repohub.svg\" alt=\"License Badge\"/\u003e\n\u003c/p\u003e\n\nGitShelf is a lightweight Git repository manager that allows you to:\n\n* Create and manage Git repositories locally.\n* Browse repository files in a tree view.\n* View recent commits for each repository.\n* Manage repositories without external Git hosting services.\n\n---\n\n## Features\n\n* **Repository Management:** Create, list, and view repositories.\n* **File Explorer:** Browse repository contents with a folder/file tree view.\n* **Commits Viewer:** See the latest commits of a repository.\n* **Lightweight \u0026 Local:** Runs entirely on your local machine or server.\n\n---\n\n## Getting Started\n\n### Prerequisites\n\n* Node.js v20+\n* Git installed on your machine\n\n### Installation\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/yourusername/repohub.git\ncd repohub\n```\n\n2. Install dependencies:\n\n```bash\npnpm install\n```\n\n3. Create a `.env` file in the backend (`apps/backend`) with the following:\n\n```env\nROOT_DIR=./data\n```\n\n4. Start the backend server:\n\n```bash\ncd apps/backend\npnpm dev\n```\n\n5. Start the frontend:\n\n```bash\ncd apps/frontend\npnpm dev\n```\n\n6. Open your browser at [http://localhost:5173](http://localhost:5173)\n\n---\n\n## API Endpoints\n\n### Repositories\n\n* **GET** `/api/repos` - List all repositories.\n\n* **POST** `/api/repos` - Create a new repository.\n\n  ```json\n  { \"name\": \"repo-name\" }\n  ```\n\n* **GET** `/api/repos/:name` - Get file tree of a repository.\n\n* **GET** `/api/repos/:name/commits` - Get recent commits (returns empty array if no commits).\n\n### Example Response: Commits\n\n```json\n[\n  {\n    \"hash\": \"abcd123\",\n    \"message\": \"Initial commit\",\n    \"author\": \"John Doe\",\n    \"date\": \"2025-11-21T05:00:00Z\"\n  }\n]\n```\n\n---\n\n## Frontend Structure\n\n* **Repo List:** Left sidebar\n* **File Tree:** Center\n* **Commits:** Right sidebar\n\n---\n\n## Future Improvements\n\n* Support multiple branches.\n* Add commit creation directly from the UI.\n* Push/pull from remote repositories.\n* User authentication.\n\n---\n\n## License\n\nThis project is source-available and free for personal, educational, and non-commercial use only.\n\nCommercial use — including use by companies, organizations, startups, SaaS offerings, or revenue-generating services — is not permitted without prior written permission.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcuwynu23%2Fgitshelf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcuwynu23%2Fgitshelf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcuwynu23%2Fgitshelf/lists"}