Awesome
<div align="center"><a href="https://txtdot.github.io/documentation"><img alt="Documentation" src="https://img.shields.io/badge/Documentation-blue"></a> <a href="https://github.com/TxtDot/instances"><img alt="Instances" src="https://img.shields.io/badge/Instances-blue"></a> <br> <a href="https://github.com/TxtDot/txtdot/blob/main/LICENSE"><img alt="MIT license" src="https://img.shields.io/github/license/txtdot/txtdot?color=blue"></a> <a href="https://github.com/TxtDot/txtdot/releases/latest"><img alt="Latest release" src="https://img.shields.io/github/v/release/TxtDot/txtdot?display_name=release"></a>
txtdot
</div>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
<div align="center"> <img src="https://raw.githubusercontent.com/TxtDot/.github/main/imgs/ui_url_input.png" alt="Main page with URL input field"> <img src="https://raw.githubusercontent.com/TxtDot/.github/main/imgs/ui_search_page.png" alt="SearXNG search results page"> </div>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.
<details> <summary>Expand</summary>Original page | Proxied through txtdot | |
---|---|---|
Habr Desktop | ![]() | ![]() |
Habr Mobile | ![]() | ![]() |
Medium Desktop | ![]() | ![]() |
Medium Mobile | ![]() | ![]() |
Nginx Blog Desktop | ![]() | ![]() |
Nginx Blog Mobile | ![]() | ![]() |
Credits
- Readability.js
- 🔗 LinkeDOM
- Fastify web framework
- EJS
- Axios
- DOMPurify
- Sharp
- MicroMatch
- RouteParser
- IconvLite
<a href="https://www.producthunt.com/posts/txtdot?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-txtdot" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=443317&theme=neutral" alt="txtdot - HTTP proxy that saves bandwidth, removing ads and scripts. | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>