Spaccogram/webk
octospacc fd8251eb7a Init from 45d356c105 2024-08-13 01:22:32 +02:00
..
.github/ISSUE_TEMPLATE Init from 45d356c105 2024-08-13 01:22:32 +02:00
handlebarsHelpers Init from 45d356c105 2024-08-13 01:22:32 +02:00
public Init from 45d356c105 2024-08-13 01:22:32 +02:00
rlottie_with_printf Init from 45d356c105 2024-08-13 01:22:32 +02:00
src Init from 45d356c105 2024-08-13 01:22:32 +02:00
.editorconfig Init from 45d356c105 2024-08-13 01:22:32 +02:00
.env Init from 45d356c105 2024-08-13 01:22:32 +02:00
.eslintrc.js Init from 45d356c105 2024-08-13 01:22:32 +02:00
.gitignore Init from 45d356c105 2024-08-13 01:22:32 +02:00
.gitmodules Init from 45d356c105 2024-08-13 01:22:32 +02:00
CHANGELOG.md Init from 45d356c105 2024-08-13 01:22:32 +02:00
CHANGELOG_ru.md Init from 45d356c105 2024-08-13 01:22:32 +02:00
LICENSE Init from 45d356c105 2024-08-13 01:22:32 +02:00
README.md Init from 45d356c105 2024-08-13 01:22:32 +02:00
babel.config.js Init from 45d356c105 2024-08-13 01:22:32 +02:00
build.js Init from 45d356c105 2024-08-13 01:22:32 +02:00
fff.code-workspace Init from 45d356c105 2024-08-13 01:22:32 +02:00
git-serve-server.js Init from 45d356c105 2024-08-13 01:22:32 +02:00
git-serve.js Init from 45d356c105 2024-08-13 01:22:32 +02:00
index.html Init from 45d356c105 2024-08-13 01:22:32 +02:00
keepAsset.js Init from 45d356c105 2024-08-13 01:22:32 +02:00
package.json Init from 45d356c105 2024-08-13 01:22:32 +02:00
pnpm-lock.yaml Init from 45d356c105 2024-08-13 01:22:32 +02:00
schema.js Init from 45d356c105 2024-08-13 01:22:32 +02:00
server.js Init from 45d356c105 2024-08-13 01:22:32 +02:00
ssh.example.json Init from 45d356c105 2024-08-13 01:22:32 +02:00
sw.ts Init from 45d356c105 2024-08-13 01:22:32 +02:00
tsconfig.json Init from 45d356c105 2024-08-13 01:22:32 +02:00
vite.config.ts Init from 45d356c105 2024-08-13 01:22:32 +02:00
vite.proxy.js Init from 45d356c105 2024-08-13 01:22:32 +02:00

README.md

Telegram Web K

Based on Webogram, patched and improved. Available for everyone here: https://web.telegram.org/k/

Developing

Install dependencies with:

pnpm install

This will install all the needed dependencies.

Running web-server

Just run pnpm start to start the web server and the livereload task. Open http://localhost:8080/ in your browser.

Running in production

Run node build to build the minimized production version of the app. Copy public folder contents to your web server.

Dependencies

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 enable additional logging
  • noSharedWorker=1: to disable Shared Worker, can be useful for debugging
  • http=1: to force the use of HTTPS transport when connecting to Telegram servers

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.