Dump of the DWPages sources.
I made this project to get experience with the Amp Framework.
The idea of this project is to make a static hosting that gets pages and assets from Telegram.
The code is very messy and full of bugs, I'd advice a rewrite.
This project is dead. The code of it is bad, wasteful of resources and probably broken. I made this project only to learn.
⚠️ I don't assume any responsability. The software in this repository is provided without any warranty. If you decide to run this, you fully understand what it does and everything caused by it is completely your fault.
A cloudflared domain and access to the Cloudflare API
MySQL
A DWGram Instance
systemd (reccomended, you can install it yourself on whatever you want but I give configs only for systemd)
- Make the DB, guide down the readme
- Search
SECRET
and change the harddcoded stuff - Run index! (You might want to install it with systemd to survive reboots)
Make a database called dwpages and a table called access_data as following: