https://github.com/dpc/ttcms
Tiny Trivial CMS (with Markdown)
https://github.com/dpc/ttcms
Last synced: 9 months ago
JSON representation
Tiny Trivial CMS (with Markdown)
- Host: GitHub
- URL: https://github.com/dpc/ttcms
- Owner: dpc
- License: bsd-3-clause
- Created: 2010-06-02T19:32:20.000Z (about 16 years ago)
- Default Branch: master
- Last Pushed: 2010-07-28T20:16:52.000Z (almost 16 years ago)
- Last Synced: 2025-01-09T23:38:07.008Z (over 1 year ago)
- Language: PHP
- Homepage: http://dpc.ucore.info:/lab:ttcms
- Size: 96.7 KB
- Stars: 7
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tiny Trivial CMS (with Markdown)
## Goal
Simple CMS for small sites with non-technical page editors.
Good base for custom features development.
It's quite common that people want small company/business/personal sites
on which they could edit content. And it's easier for them to use natural
markup like Markdown then HTML. And WYSIWYG editors are more of pain then real
help. With mostly-static content it's "setup once and let them use" approach.
## Overview
### Features
* tiny & simple PHP code
* prepared to be used with Apache out of the box, but should work with other web servers with little work
* page editing via plain files (FTP/SSH access) with Markdown markup
* Markdown
* multilingual sites prepared
### How does it basically work
`index.php` is handling all the requests (except existing files). It
uses `router.php` to decide if it should use file content or do any special
work.
Currently language switching is implemented here, but it's a place to plug
custom functionality. If the page is to be served it reads txt files and
converts to HTML using Markdown plugin.
## Installation
* install in `htdocs` apache folder
* download Markdown plugin to `./3rd` party folder
* copy .htaccess.dist to .htaccess
* copy config.php.dist to config.php
* check `./config.php`
# License
BSD (see `LICENSE` file). But if you need anything other, just let me know.