mirror of
https://github.com/TxtDot/txtdot.git
synced 2024-10-04 06:06:03 +03:00
An HTTP proxy that only parses text, links and pictures from pages, thus using less bandwidth, removing ads and heavy scripts
https://txt.dc09.ru
|
||
---|---|---|
.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 |