Files
void-static-website/README.md
2024-11-29 19:52:52 +01:00

60 lines
1.8 KiB
Markdown

# Low-Tech Lab - Grenoble
## Local Development
```bash
# Start a PHP server
php -S localhost:8000
```
Void
====
**Void** is a website creation tool. Just static pages or blog articles? Both are possible with [Void](https://gget.it/void).
The core is done in a single PHP file of less than 100 lines of code. Huh, this is bad? See the discussion [here](https://gget.it/void/article/03).
What about performance? See [here](https://gget.it/void/article/05-perf).
Screenshot
----
[![screenshot](https://gget.it/9p7avesy/1.jpg)](https://gget.it/void/demo/)
About
----
Author: Joseph Ernest ([@JosephErnest](https:/twitter.com/JosephErnest))
Sponsors and consulting
----
I am available for Python, Data science, ML, Automation consulting. Please contact me on https://afewthingz.com for freelancing requests.
Do you want to support the development of my open-source projects? Please contact me!
I am currently sponsored by [CodeSigningStore.com](https://codesigningstore.com/). Thank you to them for providing a DigiCert Code Signing Certificate and supporting open source software.
Credit
----
**Void** uses the [Parsedown](https://github.com/erusev/parsedown) library, licensed under MIT license.
License
----
MIT license
FAQ
----
**Question: How to add automatic code highlighting in articles / pages?**
Use the library `highlight.js` by adding these three lines in the `<header>` part of `index.php`:
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.5/styles/default.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.5/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
**Question: How to count the number of unique visitors per day (analytics)?**
[See this blog article](https://gget.it/void/article/simpleanalytics).