Go to file
Artemy 736fa9578b feat: fallback engine errors
You can now make engines for individual pages, uncovered pages will be handled by readability or other engines
2024-05-15 17:28:47 +03:00
.github ci: update versions in actions 2024-05-12 17:46:13 +03:00
packages feat: fallback engine errors 2024-05-15 17:28:47 +03:00
.dockerignore ci: fix: docker 2024-05-12 17:39:55 +03:00
.gitignore refactor: create monorepo 2024-05-12 16:24:50 +03:00
.prettierignore refactor: create monorepo 2024-05-12 16:24:50 +03:00
.prettierrc Timeout (#70) 2023-12-13 21:08:24 +04:00
docker-compose.yml ci: fix: docker 2024-05-12 17:39:55 +03:00
Dockerfile ci: fix: docker 2024-05-12 17:39:55 +03:00
lerna.json refactor: create monorepo 2024-05-12 16:24:50 +03:00
LICENSE doc: fix licenses 2024-05-14 10:17:15 +03:00
package.json refactor: create monorepo 2024-05-12 16:24:50 +03:00
pnpm-lock.yaml feat: habr navigation 2024-05-15 17:06:51 +03:00
pnpm-workspace.yaml fix: lock and format 2024-05-12 16:28:25 +03:00
README.md Plugins (#146) 2024-04-27 16:21:41 +00:00

txt.
Documentation Instances
MIT license Latest release Matrix chat

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
  • Custom parsers for StackOverflow and 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

Main page with URL input field SearXNG search results page

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 56% 99%
Habr Mobile 21% 100%
Medium Desktop 44% 100%
Medium Mobile 36% 100%
Nginx Blog Desktop 53% 100%
Nginx Blog Mobile 26% 100%

Credits

txtdot - HTTP proxy that saves bandwidth, removing ads and scripts. | Product Hunt