Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mchorse/crystal-edge.php
Simple light-weight static website engine written in PHP (no dependencies)
https://github.com/mchorse/crystal-edge.php
Last synced: 21 days ago
JSON representation
Simple light-weight static website engine written in PHP (no dependencies)
- Host: GitHub
- URL: https://github.com/mchorse/crystal-edge.php
- Owner: mchorse
- License: mit
- Created: 2016-08-13T20:02:24.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-08-16T11:00:31.000Z (over 8 years ago)
- Last Synced: 2023-08-05T15:09:59.049Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 40 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Crystal Edge
Simple light-weight static website engine wriiten in PHP. Don't use yet, it's
not tested and still in development. This is written on iPad in Notes app (seriously).## Example
Basic example.
This code takes all files in current's path `content` folder, extracts files
from content folder, reads the content of those files, process them with Parsedown,
replacing the paths from `.md` to `.html` extension, and builds those files into
`./build` directory.```php
plugins = [$only_md, $read, $parsedown, $extension];/* Build and ship it */
(new FileSystemExport($site, './build/'))->export();
```As the result, you get compiled static website from markdown in html in
the `build` folder.There's also Wiki available on [GitHub](https://github.com/mchorse/crystal-edge.php/wiki)
(on which I'm working).## License
Licensed under MIT license, see [LICENSE](./LICENSE) file.