https://github.com/vldr/lightblog
Fast and simple blog system based on SQLite 3 and BBCode written in C++.
https://github.com/vldr/lightblog
blog boost c-plus-plus fast hashing-passwords macos-sierra robust sqlite3
Last synced: about 1 year ago
JSON representation
Fast and simple blog system based on SQLite 3 and BBCode written in C++.
- Host: GitHub
- URL: https://github.com/vldr/lightblog
- Owner: vldr
- License: mit
- Created: 2016-12-17T18:58:32.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-01-17T00:30:47.000Z (over 8 years ago)
- Last Synced: 2025-04-01T05:11:57.558Z (about 1 year ago)
- Topics: blog, boost, c-plus-plus, fast, hashing-passwords, macos-sierra, robust, sqlite3
- Language: C
- Homepage:
- Size: 20.1 MB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# 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`