selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Codeberg

Self-host BDServer

Markdown blog and website server with ActivityPub federation

BetaOpen SourceAGPL-3.0-or-later
Updated4 months ago
Setup difficultyEasy
Install with Build from Source

What is BDServer?

BDServer is server software for running your own blog or similar article-based website. Everything is written in Python, needs no compiling, and stores posts, comments and metadata such as titles and thumbnails in plain JSON files, with Markdown used for all articles and comments. Articles can be edited straight from the website UI or published from a file through the console, and behaviour can be extended with the project's own plugin system. It speaks the Fediverse: an ActivityPub implementation, metadata for Mastodon verification, PeerTube and Matrix oriented handling, RSS output, and cross-site federation between other BDServer instances for comments and plugins. It also computes visitor analytics (views, browsers, operating systems, referral sources, trending tags). Setup is by cloning the repository and driving it with python3 run.py: --set configures port, title, domain, CSS, favicon and tabs, --account creates your own login, and the PROJECT environment variable lets one machine host several unrelated sites. The author warns explicitly that the code is not security-hardened and should not be used in any serious way.

BDServer alternatives

Should you self-host BDServer?

BDServer scores 47/100 on selfhost.directory (how scoring works) and ranks #16 of 24 in Blogging.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is easy: most people get it running in one sitting. It is AGPL-3.0-or-later-licensed.

Its closest alternative on selfhost.directory is Typecho (66/100, 12 459 stars). It scores higher overall, so compare the two before you pick. See BDServer vs Typecho side by side.

Features

  • Account ranks and moderation
  • ActivityPub / Fediverse support
  • Article categories (tabs)
  • Built-in site analytics
  • Comment sanitisation
  • Cookie banning
  • Cross-site federation
  • Custom theming via CSS and icons
  • In-browser article editor
  • JSON data storage
  • Markdown publishing
  • Multiple sites on one machine
  • Plugin System
  • RSS Feeds
  • Tor onion metadata

How to install BDServer

Install BDServer with Build from Source

git clone https://codeberg.org/blenderdumbass/BDServer
cd BDServer
python3 run.py

Setup a port ( say 8080 ):

python3 run.py --set --port 8080

And run it:

python3 run.py --run

Then you can go to http://localhost:8080 from your browser to see the server work.

Everything is stored under ~/.local/share/BDServer. The author warns the code is not security-audited.

How to configure BDServer

  • PROJECTEnvironment variable naming a separate project folder, so several unrelated websites can run on one machine.
  • --runRun the server.
  • --helpPrints the help page.
  • --analyseAnalyse the website (analytics data).
  • --setUsed for changing settings.

More in Blogging

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…