Forem
Forem

Forem (the platform that powers dev.to) is open source software for building communities. Communities for your peers, customers, fanbases, families, friends, and any other time and space where people need to come together to be part of a collective.

Forem is an open-source software platform designed specifically for building and empowering collaborative online communities, famously powering developer networks like DEV (dev.to). It is released under the GNU AGPL-3.0 license.

The main features and technical framework of Forem include:

  • Ruby on Rails & Preact Architecture: Built on a Ruby on Rails backend while actively transitioning to a Preact-first frontend.

  • AI Feed Generation & pgvector Prerequisite: Integrates AI vector embeddings for semantic feed ranking, requiring PostgreSQL with the pgvector extension (v0.8.0+) as a hard database prerequisite. It also supports an optional Gemini API key to power semantic recommendations.

  • Kamal 2 Deployment Integration: Preconfigured with Kamal 2 (v2.12+) for zero-downtime deployments across bare-metal servers, DigitalOcean Droplets, Hetzner, AWS, GCP, or multi-node clusters using destination profiles (managed, cluster, edge, staging).

  • Cloud Dev Environments: Preconfigured for immediate cloud-based developer setups using Ona (formerly Gitpod) and Gitpod.

  • Contribution Workflow & CLA: Maintains structured contribution standards with required backend regression testing, AI agent rules (AGENTS.md), and a Contributor License Agreement (CLA).