Last edited: 2025-08-13
This is a simple flatfile PHP blog which uses sqlite as its storage system.
Authored through vibe coding by Kevin Koo Seng Kiat with assistance from ChatGPT
- Publish posts with tagging (categories); date can be set.
- Publish pages
- Search posts
- Protected posts (must be logged in to read)
- Edit posts
- Delete posts
- Change site name
- User management
- RSS feed at [domain]/rss.php
- Types of users: Admin and reader
- Add new users
- Change user password
- Delete users (except admin)
- Search users
You should see these files:
- index.php
- display.php
- editor.php
- initialize.php
- users.php
- logout.php
- Parsedown.php
- rss.php
- css/ bootstrap.min.css
- js/ bootstrap.bundle.min.js
- Unzip the files into the root of the website domain or sub-domain.
- Ensure that there are no old databases.
- Run the "initialize.php" script to set up the blog.db database.
- This will also set up the username "admin" and password "admin123" for the database.
- Please do not install in subdirectory, always make sure it is in the root directory.
- SQLite database will be created one level above (../).
- For the first time, use username "admin" and password "admin123" to login. (Click "Navigation" to find login form.)
- Go to editor page to add, edit, and delete blog entries and site pages.
- Be sure to change the password for the admin.
- When you are done with this, log out.
- While you are in the Editor page, you can select "User Management".
- You can add new users, delete users, view all users, export users, and change their passwords.
- From the list of users, you can also change the user from "reader" to "admin" (except for admin, which must remain admin.).
- Use my other script "FF-Media-Manager" (also on Github) as the media editor.
- You can upload images, audio, video, PDF, etc. with that script.
- It's a separate script, so that you can set up a CDN server on a different domain or a subdomain of your blog. (e.g. https://cdn.domain.net.)
Copyright is claimed by Kevin Koo Seng Kiat.