{"id":25227344,"url":"https://github.com/projwildberry/wildberry","last_synced_at":"2025-04-07T11:01:20.328Z","repository":{"id":276463412,"uuid":"929361790","full_name":"ProjWildBerry/wildberry","owner":"ProjWildBerry","description":"Inspired by the need for freedom in app monetization. Thanks to the open-source community for their invaluable contributions to software freedom.","archived":false,"fork":false,"pushed_at":"2025-03-18T08:36:40.000Z","size":3970,"stargazers_count":210,"open_issues_count":0,"forks_count":9,"subscribers_count":74,"default_branch":"main","last_synced_at":"2025-03-31T10:01:30.061Z","etag":null,"topics":["app-backend","coolify-compatible","flutter","kotlin","payment-integration","payment-sdk","payments","react-native","swift"],"latest_commit_sha":null,"homepage":"https://discord.gg/TfXNmjN54b","language":"TypeScript","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/ProjWildBerry.png","metadata":{"files":{"readme":"README copy.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-08T11:20:44.000Z","updated_at":"2025-03-26T23:33:13.000Z","dependencies_parsed_at":"2025-03-31T10:45:26.845Z","dependency_job_id":null,"html_url":"https://github.com/ProjWildBerry/wildberry","commit_stats":null,"previous_names":["wildberry67/wildberry","redwildberry/wildberry"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProjWildBerry%2Fwildberry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProjWildBerry%2Fwildberry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProjWildBerry%2Fwildberry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProjWildBerry%2Fwildberry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ProjWildBerry","download_url":"https://codeload.github.com/ProjWildBerry/wildberry/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247640459,"owners_count":20971556,"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":["app-backend","coolify-compatible","flutter","kotlin","payment-integration","payment-sdk","payments","react-native","swift"],"created_at":"2025-02-11T08:39:19.718Z","updated_at":"2025-04-07T11:01:20.290Z","avatar_url":"https://github.com/ProjWildBerry.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Join our Discord community:  \n\u003ca href=\"https://discord.gg/7vCkqfyn\"\u003e\u003cimg src=\"https://img.icons8.com/color/24/000000/discord-logo.png\" alt=\"Discord Logo\" /\u003e\u003c/a\u003e \n\n# Project Wildberry\n\n\u003cimg src=\"https://i.imgur.com/Hdt9TXr.png\"\u003e\n\n**Wildberry** is an open-source, privacy-focused alternative to revenuecat with zero vendor lock-in for in-app purchases and subscriptions management. \n\n## Features\n\n- **No Vendor Lock-in**: Take control of your data and your business.\n- **Privacy First**: We respect user privacy with no data sharing or tracking.\n- **Flexible Integration**: Easy to integrate with various platforms and payment gateways.\n- **Open Source**: Transparency and community contributions are welcome.\n- **Modern Stack**: Built with Next.js frontend and PostgreSQL backend for optimal performance.\n\n## Why Wildberry?\n\n- **Freedom**: Escape from the constraints of proprietary systems.\n- **Cost-Effective**: Reduce your expenses by leveraging community-driven development.\n- **Customizability**: Tailor the system to your exact needs without waiting on a third-party.\n- **Scalable**: Built on reliable technologies that can handle growth.\n\n## Tech Stack\n\n- **Frontend**: Next.js\n- **Backend**: Node.js with Express\n- **Database**: PostgreSQL\n- **Deployment**: Docker \u0026 Coolify\n\n## Prerequisites\n\n- Node.js (version 18.x or higher)\n- PostgreSQL (version 14.x or higher)\n- Docker\n- 2GB RAM, 2vCPU (minimum)\n\n## Local Development\n\n1. **Clone the Repository**:\n   ```sh\n   git clone https://github.com/yourusername/wildberry.git\n   cd wildberry\n   ```\n\n2. **Install Dependencies**:\n   ```sh\n   npm install\n   ```\n   \n3. **Configure Environment**:\n   ```sh\n   cp .env.example .env\n   ```\n   Update the `.env` file with your PostgreSQL credentials and other configurations.\n\n4. **Run Development Server**:\n   ```sh\n   npm run dev\n   ```\n\n## Docker Compose Setup\n\nYou can quickly set up the entire application stack using Docker Compose:\n\n1. **Configure Environment Variables**:\n   Create a `.env` file with the following variables:\n   ```\n   POSTGRES_USER=wildberry\n   POSTGRES_PASSWORD=your_secure_password\n   POSTGRES_DB=wildberry\n   ```\n\n2. **Start the Services**:\n   ```sh\n   docker-compose up -d\n   ```\n   This will start both the Next.js application and PostgreSQL database.\n\n3. **Check Services**:\n   ```sh\n   docker-compose ps\n   ```\n   Verify that both services are running.\n\n4. **Access the Application**:\n   - Frontend: http://localhost:3000\n   - Database: localhost:5432\n\n5. **View Logs**:\n   ```sh\n   docker-compose logs -f\n   ```\n\n6. **Stop Services**:\n   ```sh\n   docker-compose down\n   ```\n   Add `-v` flag to remove volumes: `docker-compose down -v`\n\n## Deployment with Coolify\n\n### Prerequisites\n- A server with Coolify installed\n- Docker installed on your deployment server\n- PostgreSQL database (can be hosted on Coolify)\n\n### Deployment Steps\n\n1. **Database Setup**:\n   - In Coolify dashboard, create a new PostgreSQL database\n   - Save the connection credentials\n\n2. **Application Deployment**:\n   - Connect your Git repository to Coolify\n   - Choose \"Docker\" as deployment method\n   - Set the following environment variables:\n     ```\n     DATABASE_URL=postgresql://user:password@host:5432/dbname\n     NODE_ENV=production\n     ```\n   - Use the provided `Dockerfile` in the root directory\n   - Set the build command: `npm run build`\n   - Set the start command: `npm start`\n\n3. **Configure Domain and SSL**:\n   - Add your domain in Coolify\n   - Enable SSL (Coolify handles this automatically)\n\n4. **Deploy**:\n   - Click \"Deploy\" in Coolify dashboard\n   - Monitor the build and deployment logs\n\n### Monitoring and Maintenance\n\n- Use Coolify's built-in monitoring tools\n- Check logs through Coolify dashboard\n- Set up alerts for critical events\n\n## Contributing\n\nWe welcome contributions! Here's how you can contribute:\n\n1. Fork the repository\n2. Create a feature branch\n3. Commit your changes\n4. Push to the branch\n5. Open a Pull Request\n\nPlease read our Contribution Guidelines (CONTRIBUTING.md) before making changes.\n\n## License\n\nWildberry is licensed under the MIT License (LICENSE).\n\n## Acknowledgements\n\n- Thanks to the Next.js team for the amazing framework\n- PostgreSQL community for the robust database\n- Coolify team for the deployment platform\n- The open-source community for their invaluable contributions\n\nThank you for using Wildberry! We're excited to see what you'll build with it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprojwildberry%2Fwildberry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprojwildberry%2Fwildberry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprojwildberry%2Fwildberry/lists"}