{"id":49643704,"url":"https://github.com/rorychatt/gitpub","last_synced_at":"2026-05-05T22:04:01.875Z","repository":{"id":354903437,"uuid":"1225868544","full_name":"rorychatt/gitpub","owner":"rorychatt","description":"A GitHub-like platform built with Rust with Sliplane integration","archived":false,"fork":false,"pushed_at":"2026-04-30T21:10:16.000Z","size":100,"stargazers_count":0,"open_issues_count":7,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-30T21:17:54.512Z","etag":null,"topics":["cli","git","hosting","rust","sliplane"],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/rorychatt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2026-04-30T18:18:31.000Z","updated_at":"2026-04-30T21:10:29.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/rorychatt/gitpub","commit_stats":null,"previous_names":["rorychatt/gitpub"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/rorychatt/gitpub","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rorychatt%2Fgitpub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rorychatt%2Fgitpub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rorychatt%2Fgitpub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rorychatt%2Fgitpub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rorychatt","download_url":"https://codeload.github.com/rorychatt/gitpub/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rorychatt%2Fgitpub/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32669435,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cli","git","hosting","rust","sliplane"],"created_at":"2026-05-05T22:03:58.389Z","updated_at":"2026-05-05T22:04:01.866Z","avatar_url":"https://github.com/rorychatt.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gitpub\n\nA GitHub-like platform built with Rust, featuring direct integration with Sliplane for seamless deployment and hosting.\n\n## Features\n\n- 🦀 **Rust-Powered**: Built entirely in Rust for performance and reliability\n- 🔄 **Git Repository Hosting**: Full-featured git repository management\n- 🚀 **Sliplane Integration**: One-click deployment and hosting integration\n- 🛠️ **CLI Tool**: Powerful command-line interface for all git operations\n- 🔌 **Standard Git Compatible**: Works seamlessly with existing git repositories\n\n## Architecture\n\nThe project is organized as a Rust workspace with four main components:\n\n- **gitpub-server**: Web server and REST API for git operations\n- **gitpub-cli**: Command-line interface for repository management\n- **gitpub-core**: Shared core library with data models and utilities\n- **gitpub-sliplane**: Sliplane integration module for deployment\n\n## Getting Started\n\n### Prerequisites\n\n- Rust 1.70 or higher\n- PostgreSQL 14 or higher\n- Git 2.30 or higher\n\n### Environment Variables\n\nThe following environment variables are required to run gitpub-server:\n\n- **`DATABASE_URL`** (required): PostgreSQL connection string\n  - Example: `postgresql://user:password@localhost/gitpub`\n  \n- **`JWT_SECRET`** (required): Secret key for JWT token signing\n  - Must be at least 32 bytes long\n  - Generate with: `openssl rand -base64 32`\n  - Never commit this value to source control\n  - Use a different secret for each environment (development, staging, production)\n\nSee `.env.example` for a template.\n\n### Installation\n\n```bash\n# Clone the repository\ngit clone https://github.com/rorychatt/gitpub.git\ncd gitpub\n\n# Build all components\ncargo build --workspace\n\n# Run tests\ncargo test --workspace\n```\n\n### Running the Server\n\n```bash\n# Set up environment variables\nexport DATABASE_URL=\"postgresql://user:password@localhost/gitpub\"\nexport JWT_SECRET=\"$(openssl rand -base64 32)\"\n\n# Start the server\ncargo run --package gitpub-server\n```\n\nThe server will start on `http://localhost:3000`.\n\n### Using the CLI\n\n```bash\n# Install the CLI\ncargo install --path gitpub-cli\n\n# Initialize a new repository\ngitpub init my-repo\n\n# Clone a repository\ngitpub clone https://gitpub.io/user/repo\n\n# Push changes\ngitpub push origin main\n\n# Pull changes\ngitpub pull origin main\n```\n\n## Sliplane Integration\n\ngitpub integrates directly with Sliplane for easy deployment:\n\n1. Configure your Sliplane API credentials\n2. Push your code to gitpub\n3. Deploy automatically with zero configuration\n\nSee `docs/sliplane-integration.md` for detailed setup instructions.\n\n## Development\n\n### Project Structure\n\n```\ngitpub/\n├── gitpub-server/      # Web server and API\n│   └── src/\n│       └── main.rs     # Server entry point\n├── gitpub-cli/         # Command-line interface\n│   └── src/\n│       └── main.rs     # CLI entry point\n├── gitpub-core/        # Shared core library\n│   └── src/\n│       └── lib.rs      # Core models and utilities\n└── gitpub-sliplane/    # Sliplane integration\n    └── src/\n        └── lib.rs      # Sliplane API client\n```\n\n### Building\n\n```bash\n# Build all components\ncargo build --workspace\n\n# Build in release mode\ncargo build --workspace --release\n```\n\n### Testing\n\n```bash\n# Run all tests\ncargo test --workspace\n\n# Run specific component tests\ncargo test --package gitpub-core\n```\n\n### Formatting and Linting\n\n```bash\n# Format code\ncargo fmt --all\n\n# Run linter\ncargo clippy --all-targets --all-features -- -D warnings\n```\n\n## Contributing\n\nContributions are welcome! Please see `CONTRIBUTING.md` for guidelines.\n\n## License\n\nMIT License - see `LICENSE` for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frorychatt%2Fgitpub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frorychatt%2Fgitpub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frorychatt%2Fgitpub/lists"}