Haven
Haven is an open-source blogging system built with Ruby on Rails and comes with a built-in Markdown editor.
Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Introduction to Haven, an Open-Source Blogging System
Core concept
Haven is a self-hostable private blogging application built with Ruby on Rails. It is designed for sharing content among friends and family, with "privacy first" as its guiding principle.
1. Key Features
- Free and open source
- Released under the MIT license. The code is fully open source and can be freely modified and redistributed.
- Privacy first
- No public sign-ups: access is limited to invited users, with no ads and no third-party tracking.
- Simple and easy to use
- Built-in web admin interface: supports user management, blog customization, and Markdown editing with live preview.
- Low-bandwidth friendly
- Uploaded images are automatically downsampled, pages use no JavaScript front-end framework, and the minimalist design keeps load times short.
- Highly customizable
- You can add custom CSS and fonts to personalize how your blog looks.
- Media support
- Supports images, audio, video, and other multimedia content.
- Private RSS
- Generates a dedicated RSS feed for each user, making it easy to keep up with posts while preserving privacy.
- Built-in RSS reader
- Lets you subscribe to and browse external blogs directly within the app.
2. Technical Architecture
- Backend framework: Ruby on Rails
- Database: PostgreSQL (default)
- Front end: Standard HTML/CSS with a little SCSS, no reliance on large JS frameworks
- Storage: Local file system (images and other media files)
- Configuration management: Environment variables or
docker-compose.yml
3. Deployment Options
Haven offers several ways to deploy, suited to different skill levels and environments:
| Platform | Description |
|---|---|
| Docker | One-step docker-compose up; just change HAVEN_USER_EMAIL and HAVEN_USER_PASS. |
| AWS EC2 | Provides a deploy-aws.rb script that automatically creates an EC2 instance and obtains an HTTPS certificate, completing deployment in about 20 minutes. |
| KubeSail | One-click install via the official template, suitable for small self-built servers at home or in the office. |
| PikaPods | A PaaS for open-source apps, with $5 in credit for the first month and plans starting at $1.64/month. |
| Raspberry Pi | Fully automated installation via deploy-pi.sh; on a Pi Zero W, installation can take up to 3 hours. |
| Heroku | Experimental deployment (the free tier has been discontinued, estimated $16/month); uploaded images expire within 24 hours. |
| Other Linux | Refer to the Pi deployment script; with minor adjustments it can be installed on Debian-based distributions. |
4. Usage Workflow
- Clone the code:
git clone https://github.com/havenweb/haven.git - Set the environment variables or edit
docker-compose.ymlto configure the admin email and password. - Start the service (using Docker as an example):
cd haven docker-compose up -d - Visit
http://<your-domain>and log in with the initial admin account. You can then create your personal blog and invite friends to sign up.
5. Use Cases
- Private family albums and journals: Share your children's growth and your travels, visible only to family.
- Small interest communities: A writing and discussion platform open only to members.
- Lightweight private blogs: For those who don't need high traffic, just Markdown writing and private subscriptions.
6. Community and Support
- GitHub project: https://github.com/havenweb/haven
- Documentation and examples: The project README provides complete deployment scripts and parameter descriptions.
- Paid hosting: Visit https://havenweb.org for details on the hosting service.
- Feedback and contributions: Issues and Pull Requests are welcome on GitHub.
Our recommendation: If you need a simple, private, ad-free, easy-to-deploy blogging system, Haven offers one-step deployment options ranging from Docker to bare metal, cloud servers, and Raspberry Pi, greatly reducing the cost of setting up and maintaining it yourself.
Discover more
Commentario
Comentario is an open-source web comment engine that adds discussion functionality to web pages.
Mataroa
Naked blogging platform for minimalists.
TuxSEO
Automated Blog Content Creation for Founders Who Hate Writing
fx
An efficient (micro)blogging service that you can self-host
pico
The ultimate ssh powered services for developers
ACP Admin
CSA administration. Manage members, subscriptions, deliveries, drop-off locations, member participation, invoices and emails (documentation in French).