Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.
/ DWPages Public archive

Static hosting that fetches file from Telegram.

License

Notifications You must be signed in to change notification settings

ShiSHcat/DWPages

Repository files navigation

DWPages dump.

author shishcat license AGPL MadelineProto AMP

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.

Requirements

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)

Installation

  1. Make the DB, guide down the readme
  2. Search SECRET and change the harddcoded stuff
  3. Run index! (You might want to install it with systemd to survive reboots)

DB guide

Make a database called dwpages and a table called access_data as following: guide

Releases

No releases published

Packages

No packages published