Skip to content
/ LightBlog Public

Fast and simple blog system based on SQLite 3 and BBCode written in C++.

License

Notifications You must be signed in to change notification settings

vldr/LightBlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LightBlog

LightBlog is a fast and light weight blog written in C++. This blog system is portable by design and is cross-platform... Successfully compiled on macOS Sierra 10.12.6, Ubuntu 16.04, Ubuntu 16.04 ARM (aarch64), and Windows 10.

Minimum Requirements

OS: Windows, Linux based distros., and macOS
Processor: 1.0 GHZ single-core or better
Memory: 1 MB - 50 MB
Storage: 10 MB - 100 MB available space

Media

Demo

http://blog.vldr.org/

Dependencies

  • Boost C++ libraries
  • OpenSSL libraries (if you wish to use HTTPS, you will need to implement it yourself).

Binaries

Requirements

  • Make sure you have latest executable downloaded.
  • Make sure libboost is installed. (excluding Windows)

Windows

Setup:

  1. Download and install Visual C++ Redist. 2017
  2. Download lightblog.exe.
  3. Download sql.db.
  4. Run lightblog.exe THREADS(default 1) PORT(default 8080) DBFILENAME(default sql.db)

macOS Sierra

Setup:

  1. brew install boost
  2. svn checkout https://github.com/vldr/LightBlog/trunk/web
  3. curl -o sql.db https://raw.githubusercontent.com/vldr/LightBlog/master/sql/sql.db
  4. chmod +x lightblog
  5. ./lightblog THREADS(default 1) PORT(default 8080) DBFILENAME(default sql.db)

Ubuntu

Setup:

  1. apt-get update
  2. apt-get install libboost-all-dev
  3. svn checkout https://github.com/vldr/LightBlog/trunk/web
  4. wget https://raw.githubusercontent.com/vldr/LightBlog/master/sql/sql.db
  5. chmod +x lightblog
  6. ./lightblog THREADS(default 1) PORT(default 8080) DBFILENAME(default sql.db)

Benchmark

~10,000 hits per second sustained (higher would require better network or load balancing)

Database

LightBlog uses SQLite 3.

Password Hashing

SCrypt is used for hashing passwords...

Logging In

Go to /login and logon to change username and pasword; default username and password is: admin and admin