


Fitter - Open Source no-code tool for map-reduce data from different source and even more!
Hello everyone!
I am Pxyup and today i want represent for you by open source project Fitter.
PxyUp
/
fitter
New way for collect information from the API's/Websites
Fitter Fitter CLI
Fitter - new way for collect information from the API's/Websites
Fitter CLI - small cli command which provide result from Fitter for test/debug/home usage
Fitter Lib - library which provide functional of fitter CLI as a library
Way to collect information
- Server - parsing response from some API's or http request(usage of http.Client)
- Browser - emulate real browser using chromium docker playwright/cypress and get DOM information
- Static - parsing static string as data
Format which can be parsed
- JSON - parsing JSON to get specific information
- XML - parsing xml tree to get specific information
- HTML - parsing dom tree to get specific information
- XPath - parsing dom tree to get specific information but by xpath
Use like a library
go get github.com/PxyUp/fitter
go get github.com/PxyUp/fitter
How it was created
In 2023, I worked on an idea called Trip Searcher:
go get github.com/PxyUp/fitter
The Trip Searcher would monitor flights and return potential routes from the starting city, including total prices to various destinations, and send notifications to Telegram with:
package main import ( "fmt" "github.com/PxyUp/fitter/lib" "github.com/PxyUp/fitter/pkg/config" "log" "net/http" ) func main() { res, err := lib.Parse
For this setup, I needed a list of countries, cities, and airport codes to plug into the sites mentioned. During development, I started thinking about how convenient it would be if all this information could be easily combined and parsed to streamline requests, which led to the idea for a project I call Fitter.
P.S.: This project was for personal use.
Fitter CLI
A no-code map-reducer that returns data in user-friendly (JSON) or custom formats, suitable for storage in a database or transmission via HTTP.
Features:
- Supports parsing through HTML (query), JSON (gjson), XML, and xpath parsers.
- Retrieves data as a browser would, using Docker, Playwright( stealth mode), HTTP Client, Cache, File, or propagated fields, with support for custom plugins.
- Provides proxy support for Playwright and HTTP clients.
- Can send or store information to a file, webhook, console, and more via plugins.
- Handles all data types: int, float, bool, array, object, null, and string.
- Combines (map-reduce) and transforms fields.
- Utilizes the powerful expr library for template syntax, which is available across the application.
- Offered as a standalone binary and Docker version.
- Allows limits on request counts or instances for browser/Docker usage.
Examples
Static generation:
Here we will just generate static array from hardcoded
1. You enter a budget. 2. You specify a starting city or country. 3. You set the trip duration and a range of possible start and end dates.
1. Flight costs (parsed from Google or Kiwi). 2. Hotel prices (from Airbnb or Booking). 3. Food costs (retrieved from Numbeo).
Get current time
Get information from the website and return to user.
./fitter_cli_v1.0.18-darwin-amd64 --url=https://raw.githubusercontent.com/PxyUp/fitter/refs/heads/master/examples/cli/config_static_connector.json
[ "PAGE: 1 INDEX: 0", "PAGE: 2 INDEX: 1", "PAGE: 3 INDEX: 2", "PAGE: 4 INDEX: 3", "PAGE: 5 INDEX: 4" ]
Get current Steam Sales
That will create sales.md
wile in provided directoryGet best news from HackerNews Comment list for each
In this config we using template syntax for propagate result from the first request to next one.
go get github.com/PxyUp/fitter
package main import ( "fmt" "github.com/PxyUp/fitter/lib" "github.com/PxyUp/fitter/pkg/config" "log" "net/http" ) func main() { res, err := lib.Parse
Scrape all images from website and store them locally
1. You enter a budget. 2. You specify a starting city or country. 3. You set the trip duration and a range of possible start and end dates.
1. Flight costs (parsed from Google or Kiwi). 2. Hotel prices (from Airbnb or Booking). 3. Food costs (retrieved from Numbeo).
Fitter
Fitter it is extended version of the Fitter CLI which have:
- Http server for trigger
- Return response as telegram message/webhook
- And that currently did not have documentation :)
Usage
This tools can be used in different purpose:
- Web scrapper
- Data scrapper with plugins
- Produce specific load testing
- Build chat bots - i use it for automate my telegram channel
For example this job every day send best Dev.to aritcles:
Plans
- Add more browser tools. Like click/scroll(currently can be done only by JS injection)
- Improve template syntax
- Add custom template editor config editor
- May be will think about SASS for fitter CLI for run custom workflow for customers and return result to APP/Watch/etc.
Really wait for your feedback! Ask any question i will ask
The above is the detailed content of Fitter - Open Source no-code tool for map-reduce data from different source and even more!. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











Golang is better than Python in terms of performance and scalability. 1) Golang's compilation-type characteristics and efficient concurrency model make it perform well in high concurrency scenarios. 2) Python, as an interpreted language, executes slowly, but can optimize performance through tools such as Cython.

Golang is better than C in concurrency, while C is better than Golang in raw speed. 1) Golang achieves efficient concurrency through goroutine and channel, which is suitable for handling a large number of concurrent tasks. 2)C Through compiler optimization and standard library, it provides high performance close to hardware, suitable for applications that require extreme optimization.

Goisidealforbeginnersandsuitableforcloudandnetworkservicesduetoitssimplicity,efficiency,andconcurrencyfeatures.1)InstallGofromtheofficialwebsiteandverifywith'goversion'.2)Createandrunyourfirstprogramwith'gorunhello.go'.3)Exploreconcurrencyusinggorout

Golang is suitable for rapid development and concurrent scenarios, and C is suitable for scenarios where extreme performance and low-level control are required. 1) Golang improves performance through garbage collection and concurrency mechanisms, and is suitable for high-concurrency Web service development. 2) C achieves the ultimate performance through manual memory management and compiler optimization, and is suitable for embedded system development.

Golang and Python each have their own advantages: Golang is suitable for high performance and concurrent programming, while Python is suitable for data science and web development. Golang is known for its concurrency model and efficient performance, while Python is known for its concise syntax and rich library ecosystem.

The performance differences between Golang and C are mainly reflected in memory management, compilation optimization and runtime efficiency. 1) Golang's garbage collection mechanism is convenient but may affect performance, 2) C's manual memory management and compiler optimization are more efficient in recursive computing.

Golang and C each have their own advantages in performance competitions: 1) Golang is suitable for high concurrency and rapid development, and 2) C provides higher performance and fine-grained control. The selection should be based on project requirements and team technology stack.

Golangisidealforbuildingscalablesystemsduetoitsefficiencyandconcurrency,whilePythonexcelsinquickscriptinganddataanalysisduetoitssimplicityandvastecosystem.Golang'sdesignencouragesclean,readablecodeanditsgoroutinesenableefficientconcurrentoperations,t
