Skip to content

TxtDot/txtdot

Repository files navigation

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