From e1ada2fe3910f37f17b5b68c3998e4d5ee3bf0d9 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Mon, 11 Jul 2022 13:23:19 +0300 Subject: readme: txt -> md --- README | 64 ---------------------------------------------------------- README.md | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+), 64 deletions(-) delete mode 100644 README create mode 100644 README.md diff --git a/README b/README deleted file mode 100644 index bb81999..0000000 --- a/README +++ /dev/null @@ -1,64 +0,0 @@ -This is complete code of ch1p.io website. - -FEATURES - - it's not just blog, you can create any page with any address - - posts and pages are written in Markdown: - - supports syntax highlighting in code blocks - - supports embedding of uploaded files and image resizing - - tags - - rss feed - - dark theme - - ultra fast on backend: - - written from scratch - - no heavy frameworks - - no "classic" template engine - - vanilla php templates designed from scratch (because why not) - - thus, no overhead from templates "compilation" - - all strings are transparently escaped unless explicitly specified not to - - ultra fast on frontend: - - written from scratch - - simple readable ECMAScript 5.1 scripts - - no modern web bullshit like webpack or babel - - simple build system that just works - - secure: - - CSRF protection - - automatic XSS protection in templates - - see the "BUG BOUNTY" section below - -REQUIREMENTS - - - PHP >= 8.1, with following extensions: - - mysqli - - gd - - MariaDB server - - Composer - - Node.JS - - SCSS compiler, e.g. sassc - -CONFIGURATION - - Should be done by copying config.php to config-local.php and modifying config-local.php. - -INSTALLATION - - It uses https://github.com/sixlive/parsedown-highlight which you'll need to install using Composer, but since that - package's manifest is a bit outdated you have to pass `--ignore-platform-reqs` to composer. - - TODO - -LOGGING - - TODO - -DEPLOYING - - make deploy - -BUG BOUNTY - - I take security very seriously. If you found an exploitable vulnerability in _my_ code, please contact me by email. - I'm willing to pay $50 to $500 in crypto (depending on severity) for every discovered vulnerability. - -LICENSE - - GPLv3 \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..55f9c24 --- /dev/null +++ b/README.md @@ -0,0 +1,69 @@ +# ch1p_io_web + +This is complete code of ch1p.io website. + +## Features +- it's not just blog, you can create any page with any address +- posts and pages are written in Markdown: + - supports syntax highlighting in code blocks + - supports embedding of uploaded files and image resizing + - tags + - rss feed + - dark theme + - ultra fast on backend: + - written from scratch + - no heavy frameworks + - no "classic" template engine + - vanilla php templates designed from scratch (because why not) + - thus, no overhead from templates "compilation" + - all strings are transparently escaped unless explicitly specified not to + - ultra fast on frontend: + - written from scratch + - simple readable ECMAScript 5.1 scripts + - no modern web bullshit like webpack or babel + - simple build system that just works + - secure: + - CSRF protection + - automatic XSS protection in templates + - see the "BUG BOUNTY" section below + +## Requirements + +- PHP >= 8.1, with following extensions: + - mysqli + - gd +- MariaDB server +- Composer +- Node.JS +- SCSS compiler, e.g. sassc + +## Configuration + +Should be done by copying config.php to config-local.php and modifying config-local.php. + +## Installation + +It uses https://github.com/sixlive/parsedown-highlight which you'll need to install using Composer, but since that +package's manifest is a bit outdated you have to pass `--ignore-platform-reqs` to composer. + +TODO + +## Logging + +TODO + +## Deploying + +``` +make deploy +``` + +## Bug bounty + +I take security very seriously. If you found an exploitable vulnerability in _my_ code, please contact me by email. + +I'm willing to pay $50 to $500 in crypto (depending on severity) for every discovered vulnerability. + +## License + +GPLv3 \ No newline at end of file -- cgit v1.2.3