{"id":43701204,"url":"https://github.com/r2hu1/ration","last_synced_at":"2026-02-05T05:07:16.373Z","repository":{"id":320221755,"uuid":"1081252748","full_name":"r2hu1/ration","owner":"r2hu1","description":"self-hostabe - encrypted cloud for managing and sharing environment variables built for teams and personal.","archived":false,"fork":false,"pushed_at":"2026-01-30T16:02:12.000Z","size":733,"stargazers_count":9,"open_issues_count":0,"forks_count":4,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-01-30T23:29:58.384Z","etag":null,"topics":["cloud-environment","encryption","environment","environment-variables"],"latest_commit_sha":null,"homepage":"https://ration.cloud","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/r2hu1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"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},"funding":{"github":["r2hu1"]}},"created_at":"2025-10-22T14:17:35.000Z","updated_at":"2026-01-30T16:02:15.000Z","dependencies_parsed_at":"2025-10-22T17:25:15.020Z","dependency_job_id":"0f98e250-b287-4346-9784-5d4363f0e1c4","html_url":"https://github.com/r2hu1/ration","commit_stats":null,"previous_names":["r2hu1/ration"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/r2hu1/ration","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r2hu1%2Fration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r2hu1%2Fration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r2hu1%2Fration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r2hu1%2Fration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/r2hu1","download_url":"https://codeload.github.com/r2hu1/ration/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r2hu1%2Fration/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29113198,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T03:44:17.043Z","status":"ssl_error","status_checked_at":"2026-02-05T03:44:12.077Z","response_time":65,"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":["cloud-environment","encryption","environment","environment-variables"],"created_at":"2026-02-05T05:07:15.666Z","updated_at":"2026-02-05T05:07:16.362Z","avatar_url":"https://github.com/r2hu1.png","language":"TypeScript","funding_links":["https://github.com/sponsors/r2hu1"],"categories":[],"sub_categories":[],"readme":"# Ration (self-hostable)\n\nAn encrypted cloud platform for securely storing, syncing, and managing environment variables across all your projects and teams.\n\n## Some Previews\n\n- Landing Page\n![Screenshot](/public/preview.png)\n\n- Personal Dashboard\n![Screenshot](/public/personal-dashboard.png)\n\n- Teams Dashboard\n![Screenshot](/public/teams-dashboard.png)\n\n- Projects Details Page\n![Screenshot](/public/personal-project-view.png)\n\n- Team Members\n![Screenshot](/public/teams-members.png)\n\n\n## ✨ Features\n\n- **👥 Collaboration** - Collaborate with team members on environment variables\n- **🔒 Secure Storage** - Enterprise-grade encryption for your sensitive data\n- **🔑 Easy Access** - Simple and intuitive interface for managing environment variables\n- **🛡️ Encrypted** - End-to-end encryption ensures your data stays private\n- **⚡ Fast Sync** - Quick synchronization across all your projects and environments\n- **🌐 Multi-Environment** - Manage environment variables for different environments (e.g., development, staging, production)\n\n## 🚀 Tech Stack\n\n- **Frontend**: Next.js 15 with React 19\n- **Styling**: Tailwind CSS with Radix UI components\n- **Database**: PostgreSQL with Drizzle ORM\n- **Authentication**: Better Auth\n- **Runtime**: Bun\n- **TypeScript**: Full type safety throughout\n\n## 📦 Installation\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/r2hu1/ration.git\ncd ration\n```\n\n2. Install dependencies:\n```bash\nbun install\n```\n\n3. Set up your environment variables:\n```bash\ncp .env.example .env.local\n```\n\n4. Configure your database connection in `.env.local`:\n```env\nDATABASE_URL=\"postgresql://username:password@localhost:5432/ration\"\n```\n\n5. Push the database schema:\n```bash\nbun run db:push\n```\n\n6. Start the development server:\n```bash\nbun run dev\n```\n\nThe application will be available at `http://localhost:3000`.\n\n## 🛠️ Development\n\n### Available Scripts\n\n- `bun run dev` - Start development server with Turbopack\n- `bun run build` - Build for production\n- `bun run start` - Start production server\n- `bun run lint` - Run Biome linting\n- `bun run format` - Format code with Biome\n- `bun run db:push` - Push database schema changes\n- `bun run db:studio` - Open Drizzle Studio\n- `bun run schema:generate` - Generate database migrations\n\n### Project Structure\n\n```\nration/\n├── app/\n│   ├── (main)/\n│   │   ├── auth/          # Authentication pages\n│   │   └── dashboard/     # Dashboard pages\n│   ├── (root)/            # Landing page\n│   └── api/               # API routes\n├── components/            # Reusable UI components\n├── db/                    # Database schema and configuration\n├── drizzle/              # Database migrations\n├── lib/                  # Utility functions and configurations\n├── modules/              # Feature modules\n└── public/               # Static assets\n```\n\n## 🔧 Configuration\n\n### Environment Variables\n\nCreate a `.env.local` file with the following variables:\n\n```env\nDATABASE_URL=\"your-postgresql-connection-string\"\nBETTER_AUTH_SECRET=\nBETTER_AUTH_URL=\nGOOGLE_CLIENT_ID=\nGOOGLE_CLIENT_SECRET=\nGMAIL_USER=\nGMAIL_PASS=\nGITHUB_CLIENT_ID=\nGITHUB_CLIENT_SECRET=\n```\n\n### Database Setup\n\nThis project uses PostgreSQL with Drizzle ORM. Make sure you have PostgreSQL running and create a database for the application.\n\n## 🚀 Deployment\n\n1. Build the application:\n```bash\nbun run build\n```\n\n2. Set up your production environment variables\n\n3. Push the database schema to production:\n```bash\nbun run db:push\n```\n\n4. Start the production server:\n```bash\nbun run start\n```\n\n## 🤝 Contributing\n\n1. Fork the repository\n2. Create a feature branch: `git checkout -b feature/amazing-feature`\n3. Commit your changes: `git commit -m 'Add amazing feature'`\n4. Push to the branch: `git push origin feature/amazing-feature`\n5. Open a Pull Request\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## 🔗 Links\n\n- [GitHub Repository](https://github.com/r2hu1/ration)\n- [Issues](https://github.com/r2hu1/ration/issues)\n\n## 💡 Why Ration?\n\nManaging environment variables across multiple projects, environments, and team members can be challenging. Ration solves this by providing a secure, centralized platform where you can:\n\n- Store sensitive configuration data with enterprise-grade encryption\n- Easily share environment variables with team members\n- Sync configurations across development, staging, and production environments\n- Maintain version history and audit trails\n- Access your variables from anywhere with a simple, intuitive interface\n\nBuilt with modern web technologies and security best practices, Ration ensures your sensitive data remains protected while being easily accessible to authorized users.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr2hu1%2Fration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fr2hu1%2Fration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr2hu1%2Fration/lists"}