Skip to content

Latest commit

 

History

History
60 lines (36 loc) · 1.72 KB

README.md

File metadata and controls

60 lines (36 loc) · 1.72 KB

cexfind

v0.2.6 : 26 June 2024 : change pricing from int to decimal.Decimal

Find kit on Cex, fast

Try it out on GCP!

This project is a Go module with console, cli and web app clients for rapid and effective searches for second hand equipment for sale at Cex/Webuy using the unofficial webuy.io json search endpoint.

Note that these programs only work for queries made in the UK (or via a proxy terminating in the UK). This is intended to be a fun project and is not intended for commercial use.

Usage

Simply download the binaries for your machine's architecture from releases. Alternatively, build for your local machine using make build-all if you have go (>= 1.22) installed. The resulting binaries can be found in bin.

Clients

Three clients are provided for the very simple cexfind golang module:

console

A bubbletea console app.

Have a look at the app README for more info about the architecture of this client.

cli

A simple cli client.

Run ./bin/cli -h or the windows alternative to see the switch options.

web server

A simple htmx webserver client.

Run ./bin/webserver or the windows alternative to run the server locally on the default local ip address of 127.0.0.1 and port 8000. Use the command line switches to change these options. (Use -h to see the switches.)

Licence

This project is licensed under the MIT Licence.