mirror of
https://github.com/txtdot/txtdot
synced 2024-10-15 05:20:27 +03:00
44d77383e9
Build(deps): Bump axios from 1.7.2 to 1.7.4 in the npm_and_yarn group |
||
---|---|---|
.github | ||
packages | ||
.dockerignore | ||
.gitignore | ||
.prettierignore | ||
.prettierrc | ||
docker-compose.yml | ||
Dockerfile | ||
lerna.json | ||
LICENSE | ||
package.json | ||
pnpm-lock.yaml | ||
pnpm-workspace.yaml | ||
README.md | ||
SECURITY.md |
HTTP proxy that parses only text, links and pictures from pages reducing internet traffic, removing ads and heavy scripts. Mozilla's Readability library is used under the hood.
Features
- Server-side page simplification
- Media proxy
- Image compression with Sharp
- Rendering client-side apps (Vanilla, React, Vue, etc) with webder
- Search with SearXNG
- Handy API endpoints
- No client JavaScript
- Some kind of Material Design 3
- Customization with plugins, see @txtdot/sdk and @txtdot/plugins
Running
Development
npm install
npm run dev
Production
npm install
npm run build
npm run start
Docker
docker compose up -d
Screenshots
Performance tests
txtdot is a great tool in case of slow internet connection or weak signal. Here is the comparision of performance metrics from pagespeed.web.dev between original page and proxied one.
"Mobile" test includes "Slow 4G" artificial network throttling.
Expand
Original page | Proxied through txtdot | |
---|---|---|
Habr Desktop | ||
Habr Mobile | ||
Medium Desktop | ||
Medium Mobile | ||
Nginx Blog Desktop | ||
Nginx Blog Mobile |