Eduard Kuzmenko
8666907cbc
|
4 years ago | |
---|---|---|
.github/ISSUE_TEMPLATE | 4 years ago | |
rlottie_with_printf | 4 years ago | |
src | 4 years ago | |
.gitignore | 4 years ago | |
.gitmodules | 5 years ago | |
LICENSE | 4 years ago | |
README.md | 4 years ago | |
babel.config.js | 4 years ago | |
fff.code-workspace | 5 years ago | |
jest.config.js | 4 years ago | |
jest.setup.js | 4 years ago | |
package-lock.json | 4 years ago | |
package.json | 4 years ago | |
postcss.config.js | 5 years ago | |
server.js | 4 years ago | |
t.py | 4 years ago | |
t2.py | 4 years ago | |
tsconfig.json | 4 years ago | |
webpack.common.js | 4 years ago | |
webpack.dev.js | 4 years ago | |
webpack.prod.js | 4 years ago |
README.md
Telegram Web K
Based on Webogram, patched and improved. Available for everyone here: https://webk.telegram.org/
Developing
Install dependencies with:
npm install
This will install all the needed dependencies.
Running web-server
Just run npm start
to start the web server and the livereload task.
Open http://localhost:8080/ in your browser.
Running in production
Run npm run build
to build the minimized production version of the app. Copy public
folder contents to your web server.
Dependencies
- leemon (MIT License)
- pako (MIT License)
- cryptography (Apache License 2.0)
- twemoji-parser (MIT License)
- rlottie (MIT License)
- fast-png (MIT License)
- opus-recorder (BSD License)
- libwebp.js
- fastBlur
Debugging
You are welcome in helping to minimize the impact of bugs. There are classes, binded to global context. Look through the code for certain one and just get it by its name in developer tools. Source maps are included in production build for your convenience.
Additional query parameters
- test=1: to use test DCs
- debug=1: to use debug wherever it tests the flag
Should be applied like that: http://localhost:8080/?test=1
Troubleshooting & Suggesting
If you find an issue with this app or wish something to be added, let Telegram know using the Suggestions Platform.
Licensing
The source code is licensed under GPL v3. License is available here.