|
|
пре 2 месеци | |
|---|---|---|
| .docker | пре 4 месеци | |
| .github | пре 4 месеци | |
| .zed | пре 4 месеци | |
| handlebarsHelpers | пре 4 месеци | |
| nginx_conf | пре 2 месеци | |
| public | пре 2 месеци | |
| rlottie_with_printf | пре 4 месеци | |
| snapshot-server | пре 4 месеци | |
| src | пре 2 месеци | |
| .editorconfig | пре 4 месеци | |
| .env | пре 2 месеци | |
| .env.local.example | пре 4 месеци | |
| .gitignore | пре 3 месеци | |
| .gitmodules | пре 4 месеци | |
| CHANGELOG.md | пре 4 месеци | |
| CHANGELOG_ru.md | пре 4 месеци | |
| LICENSE | пре 4 месеци | |
| README.md | пре 4 месеци | |
| SECURITY.md | пре 4 месеци | |
| babel.config.js | пре 4 месеци | |
| build.js | пре 4 месеци | |
| deploy.js | пре 2 месеци | |
| deploy.sh | пре 3 месеци | |
| docker-compose.yaml | пре 4 месеци | |
| eslint.config.mjs | пре 4 месеци | |
| fff.code-workspace | пре 4 месеци | |
| git-serve-server.js | пре 4 месеци | |
| git-serve.js | пре 4 месеци | |
| index.html | пре 4 месеци | |
| keepAsset.js | пре 4 месеци | |
| package.json | пре 4 месеци | |
| pnpm-lock.yaml | пре 4 месеци | |
| schema.js | пре 4 месеци | |
| server.js | пре 4 месеци | |
| ssh.example.json | пре 4 месеци | |
| sw.ts | пре 4 месеци | |
| tsconfig.json | пре 4 месеци | |
| vite.config.ts | пре 4 месеци | |
| vite.proxy.js | пре 4 месеци | |
| watch-lang.js | пре 4 месеци |
Based on Webogram, patched and improved. Available for everyone here: https://web.telegram.org/k/
Install dependencies with:
pnpm install
This will install all the needed dependencies.
Just run pnpm start to start the web server and the livereload task.
Open http://localhost:8080/ in your browser.
Run node build to build the minimized production version of the app. Copy public folder contents to your web server.
docker-compose up tweb.dependencies.docker-compose up tweb.develop.docker-compose up tweb.production -d nginx image and container to serve the buildI also created an image https://hub.docker.com/r/elgammalx/tweb/tags based on Nginx ready to be deployed.
You can use docker build -f ./.docker/Dockerfile_production -t {dockerhub-username}/{imageName}:{latest} . to build your production ready image.
My build use in docker-compose.yaml file
services:
tweb.production:
image: elgammalx/tweb
ports:
- 80:80
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.
Should be applied like that: http://localhost:8080/?test=1
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.
You can see all the available svg icons by calling the showIconLibrary() global function in the browser's console.
If you find an issue with this app or wish something to be added, let Telegram know using the Suggestions Platform.
The source code is licensed under GPL v3. License is available here.