Nessuna descrizione

wui ded030f90f init 7 mesi fa
.github ded030f90f init 7 mesi fa
handlebarsHelpers ded030f90f init 7 mesi fa
public ded030f90f init 7 mesi fa
rlottie_with_printf ded030f90f init 7 mesi fa
snapshot-server ded030f90f init 7 mesi fa
src ded030f90f init 7 mesi fa
.editorconfig ded030f90f init 7 mesi fa
.env ded030f90f init 7 mesi fa
.gitignore ded030f90f init 7 mesi fa
.gitmodules ded030f90f init 7 mesi fa
CHANGELOG.md ded030f90f init 7 mesi fa
CHANGELOG_ru.md ded030f90f init 7 mesi fa
LICENSE ded030f90f init 7 mesi fa
README.md ded030f90f init 7 mesi fa
babel.config.js ded030f90f init 7 mesi fa
build.js ded030f90f init 7 mesi fa
eslint.config.mjs ded030f90f init 7 mesi fa
fff.code-workspace ded030f90f init 7 mesi fa
git-serve-server.js ded030f90f init 7 mesi fa
git-serve.js ded030f90f init 7 mesi fa
index.html ded030f90f init 7 mesi fa
keepAsset.js ded030f90f init 7 mesi fa
package.json ded030f90f init 7 mesi fa
pnpm-lock.yaml ded030f90f init 7 mesi fa
schema.js ded030f90f init 7 mesi fa
server.js ded030f90f init 7 mesi fa
ssh.example.json ded030f90f init 7 mesi fa
sw.ts ded030f90f init 7 mesi fa
tsconfig.json ded030f90f init 7 mesi fa
vite.config.ts ded030f90f init 7 mesi fa
vite.proxy.js ded030f90f init 7 mesi fa

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

Taking local storage snapshots

You can also take and load snapshots of the local storage and indexed DB using the ./snapshot-server mini-app. Check the README.md under this folder for more details.

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.