Grad shape
Grad shape

txtdot

Proxy

About this project

[!WARNING] V1 version development is discontinued. Check current development on v2 branch

txtdot logo

Documentation Instances
MIT license Latest release

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

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][habr-link] Desktop ![56%][habr-do-img] ![99%][habr-dt-img]
[Habr][habr-link] Mobile ![21%][habr-mo-img] ![100%][habr-mt-img]
[Medium][medium-link] Desktop ![44%][medium-do-img] ![100%][medium-dt-img]
[Medium][medium-link] Mobile ![36%][medium-mo-img] ![100%][medium-mt-img]
[Nginx Blog][nginx-link] Desktop ![53%][nginx-do-img] ![100%][nginx-dt-img]
[Nginx Blog][nginx-link] Mobile ![26%][nginx-mo-i
Technologies & License
MIT Node.js Docker
Quick Deploy

Deploy this project to cloud platforms with one click