Cuicui is a tiny micro-blog engine.
- post messages
- edit or delete posts
- upload pictures
- no database needed
The main index.php => the list of messages posted, with pagination (with GET param) cc-admin/index.php => the create/edit page (with optional GET param) cc-admin/upload.php => the update script (with file and post param) cc-admin/delete.php => the delete script (with GET param) cc-admin/edit.php => the «edit» page (with GET param) cc-admin/do_edit.php => the edit script (with POST param) article.php => display a single message and the related comments (with GET param)
There is no custom credential mechanism for Cuicui, it's supposed to use the default authentication mecanism of the web server you're using.
For Apache, it uses a pair of .htaccess
and .htpasswd
files that you need to add to the cc-admin/
directory :
.htaccess
AuthName "welcome !"
AuthType Basic
AuthUserFile "ABSOLUTE_PATH_TO_YOUR_.HTPASSWD_FILE_ON_THE_SERVER"
Require valid-user
.htpasswd
USERNAME:PASSWORD_HASH
To find ABSOLUTE_PATH_TO_YOUR_.HTPASSWD_FILE_ON_THE_SERVER
on the server you're installing Cuicui, and to calculate the PASSWORD_HASH
, there is a small helper in cc-admin/tool.php
.
- Clone this repository.
- Edit
cc-admin/tool.php
with your password. - Upload the repo on your server
- Go to
yourdomain.tld/cc-admin/tool.php
, you'll find the path and password hash. - create a
.htaccess
and a.htpasswd
with the path and hash you just found - upload them to your website, and remove
cc-admin/tool.php
from the server.