Home > Article > Backend Development > Fitter - Open Source no-code tool for map-reduce data from different source and even more!
I am Pxyup and today i want represent for you by open source project Fitter.
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
go get github.com/PxyUp/fitter
go get github.com/PxyUp/fitter
…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.
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:
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 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" ]
That will create sales.md
wile in provided directoryIn 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
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 it is extended version of the Fitter CLI which have:
This tools can be used in different purpose:
For example this job every day send best Dev.to aritcles:
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!