Sign inSign up

kylebrothers/txtdot-full

By kylebrothers

•Updated over 2 years ago

Image
0

1.3K

kylebrothers/txtdot-full repository overview

⁠ 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
  • Search with SearXNG
  • Custom parsers for StackOverflow and SearXNG
  • Handy API endpoints
  • No client JavaScript
  • Some kind of Material Design 3

⁠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 pageProxied through txtdot
Habr⁠ Desktop56%99%
Habr⁠ Mobile21%100%
Medium⁠ Desktop44%100%
Medium⁠ Mobile36%100%
Nginx Blog⁠ Desktop53%100%
Nginx Blog⁠ Mobile26%100%

⁠Credits

Tag summary

Content type

Image

Digest

sha256:8d86fb680…

Size

84.1 MB

Last updated

over 2 years ago

docker pull kylebrothers/txtdot-full