Skip to content
A secure CMS which only knows how to read files you create using SSH
PHP
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CHANGELOG
LICENSE
README.md
README.txt
REFERENCE.txt
TODO
debug.log
hostcheck.php
main.page
page.php
rainbow_dash.png
sitelogo.png
template.php

README.md

picosite

Current Version

The current version is 1.2.3 and it was released on the 31st of March 2020. I seem to have forgotten to update this for the past 3 releases.

Introduction

A secure CMS / site generator, which only knows how to read files you create. It has no code that can write to the system. It just checks for files. To see it in action check out the picosite website which uses most features, and you can see the source of this site in the 'demosite' branch.

In only roughly 750 lines of code!

There are two branches 'master' is stable and so you can clone right away. There is another branch where I iteratively change stuff and see what happens called 'fiddling' because I just fiddle around with stuff.

There are sometimes brances for big feature introductions.

Installation

Mininum

Copy page.php to the remote server and create main.page and other page files. You can use picocodes to create your site. Use REFERENCE.txt (incomplete) to find a reference of picocodes.

Standard

Copy everything to your remote server for hosting the website. Then move your getprices.php and secure the site, where you will want to make it so the webserver can't serve up .page files on the site. You might also want to delete README.txt and REFERENCE.txt to stop versioning. Read README.txt on your computer or preserve it somehow to learn how to configure picosite.

Upgrading

settings.php

You may find with the latest 1.2.0 release that we no longer use config.php - despite a principle of backward compatibility I did not understand PHP GLOBAL() properly. Now settings are inherited from a settings.php which is optional. You can find the settings at the top of page.php and explained in the README.txt file.

Author Bio

Who is Kaizushi?

I a woman who has escaped from the hell on Earth that is Arabia. I live in a nice secular society now, and I live for Agorism. I run Kaizushi's Little Onion Server which I consider to be free of any jurisdiction. It is hosting, shell accounts, a communication service, and more.

You can find me through the Tor network with this address, and see picosite in action... http://kaizushigdv5mrnz.onion/ - picosite

You can’t perform that action at this time.