+
Skip to content

tacojones/bitblog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bitblog

A simple, file-based blog system built with PHP and Markdown.

Features

📝 Markdown post support
🔍 Full-text search
📱 Responsive pagination
⚡ Fast & lightweight (single file)
📦 No database required

Installation

  1. Upload files to your PHP-enabled server
  2. Install Parsedown (required)
  3. Create Markdown posts in /posts/ directory

Configuration

Edit these variables at the top of index.php:

$postsPerPage = 5;          // Posts per page
$postsDir = 'posts/';       // Post storage directory
$blogName = "bitblog"; // Blog title  
$blogDescription = "A blog about nothing"; // SEO description
$blogStyle = "style.css";   // Custom CSS file

Post Format

Create .md files in /posts/ with front matter:

---
title: My First Post
date: 2023-01-01
---

Post content in **Markdown**

<!--more--> 
Excerpt separator

About

Tiny blog script in PHP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载