Source code for https://ccsleep.net/
Cosplay site. Poorly thrown together, but it works.
Original purpose is to create web gallery that can upload images via filesystems, and a 'usable' CMS.
Working on a rewrite because it's getting messy (especially the upload API).
- Blog
- Admin Panel
- Events Tables and Galleries Posts
- Image Gallery (w/ upload via filesystem, tagging people)
- Cosplayers (well it's a cosplay site)
- Markdown support via Parsedown
- Actually very easy to style, mostly classless
Tested with PHP 7.3 and 8.0 (Apache only)
Requirements
- Any S3 instance (in production, my web use Cloudflare R2)
- PHP web server (Apache only!)
- Supply aws.phar from here and put it in
common/
folder - Edit
common/s3_credentials.php
to your own S3 credentials (the config is ready for Cloudflare R2) - Create a database and import
ccsleep.sql
- Edit
common/conn.php
to your database credentials - Edit admin password on
page/admin_login.php
(default isadmin
, you should probably change it) - Drag and drop this repo to your web server, and enjoy!
To access admin panel, access /admin on your web
To upload image folders, please see content/README.md
MIT