Open-source alternative
Replace Bitbucket Cloud with Forgejo / Gitea
The best open-source alternative to Bitbucket Cloud is Forgejo or Gitea, self-hosted on Railway. Git you host. Forgejo is a community git forge; Gitea is MIT — Bitbucket Cloud without the workspace seat.
Estimated save $1,200 a year.
Open the stackStart on Railway
How Bitbucket Cloud compares
| Bitbucket Cloud | Forgejo / Gitea | |
|---|---|---|
| Pricing model | Hosted subscription | Open-source or fair-code license; you pay the host |
| Hosting | Vendor cloud | Self-hosted on Railway or any VPS |
| Rough monthly cost | Public list price not verified this run | Hosting only — no SaaS seat meter in this repo |
FAQ
- Is it free?
- The Forgejo / Gitea licenses are open source or fair-code. You still pay hosting (Railway or any VPS) and any APIs the stack calls. There is no Bitbucket Cloud seat or task bill on this path.
- Can I migrate from Bitbucket Cloud?
- Yes. Start with the workflows or data you actually use, then cut over. The Forgejo / Gitea stack page has the agent prompt and the cost table; most teams rebuild the slice that matters and leave old Bitbucket Cloud links until they expire.
- How do I deploy it?
- Open the Forgejo / Gitea stack, copy the agent prompt, and deploy on Railway (one service, PORT, and a volume when the app needs disk). Placeholder: Forgejo (or Gitea) + a volume for repos and a database. Actions runners want Docker — often a second box. CI pipelines can sit on /stacks/woodpecker-ci. No one-click template in this repo yet — Start on Railway.
- What does this replace?
- Bitbucket Cloud. The published small-team estimate on this stack is $1,200 a year.
Related pages
Stack of the Week
Get one stack a week that replaces a SaaS bill.