https://github.com/tani/plog
A simple markdown based blog engine
https://github.com/tani/plog
Last synced: about 2 months ago
JSON representation
A simple markdown based blog engine
- Host: GitHub
- URL: https://github.com/tani/plog
- Owner: tani
- License: other
- Created: 2016-11-13T16:04:51.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-03-02T14:00:47.000Z (over 1 year ago)
- Last Synced: 2025-04-15T19:09:13.882Z (about 2 months ago)
- Language: PHP
- Size: 27.3 KB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Plog
================================================================================
Simple markdown based blog engine.## Features
- Markdown syntax (Parsedown)
- Sync articles with a git repository (webhook API)
- Bootswatch themes
- Smart URL (`example.com/plog.php/1970/01/01/sample`)
- Articles listing (`example.com/plog.php/1970/` shows all articles at 1970's)## Requirements
- PHP 5.x or later## Setup
clone this project.```
$ git clone https://github.com/fgborges/plog
```Modify your `plog.ini`
```
; plog.ini[general]
title = "john's blog"
author = "John Doe"
email = "[email protected]"[page]
theme = "flatly" ;bootswatch theme[webhook]
secret = "your_secret_key"
commands[] = "git pull origin master"
```## Upload article
Puts a textfile in `content/` directory like `content/yyyy-mm-dd-title.md`.
A title of article is h1 (`#` or `=====`) and title of section is h2.## Webhook
You add a webhook(`https://example.com/plog.php/webhook?secret=your_secret_key`)
to Github Webhooks or Bitbucket Webhooks.`your_secret_key` is defined in `plog.ini`.
## License
GPL v3 (see LICENSE file in this repository)## Copyright
Copyright (c) 2021 TANIGUCHI Masaya All Rights Reserved.