A small portfolio of genuinely working, standalone logistics/trucking/import tools built by kasapdev, the developer behind Sadakat Logistics (a TruckersMP/ETS2-ATS-adjacent trucking operation) and an eBay import/export side business. Open source - use it, fork it, adapt it.
Managed as a pnpm workspace monorepo. Each package under packages/ is independent - no
shared runtime dependency between them - so you can take just the one you need.
| Package | Description |
|---|---|
fleet-fuel-tracker |
CLI that ingests fuel-log and route-log CSVs into SQLite and reports L/100km efficiency, cost-per-km, fill-to-fill trend, and outlier (data-entry error / possible theft) detection per vehicle. |
route-cost-calculator |
CLI that computes route cost (fuel + tolls) from distance or haversine-derived waypoint distance, with single-route and CSV batch/ranking modes. |
cargo-manifest-parser |
CLI/library that extracts structured fields (consignor, consignee, goods, weight, references) from text-based CMR consignment notes, with PDF text extraction. |
customs-tariff-lookup |
CLI/library for exact/prefix/keyword search over a shipped starter dataset of HS/GTİP codes. |
exchange-rate-alert |
CLI that polls a public ECB-based exchange-rate API, stores the last-seen rate, and alerts on threshold moves or target-rate crossings. |
shipment-tracking-aggregator |
Typed SDK unifying DHL (real API), Yurtiçi Kargo, and Aras Kargo (best-effort scrapes) tracking lookups behind one TrackingResult shape. |
customs-tariff-lookupships a small example dataset, not an authoritative tariff schedule. Every entry's duty rate is anullplaceholder that must be confirmed against the current official Turkish customs tariff schedule (Türkiye Gümrük Tarife Cetveli / Ticaret Bakanlığı) before it's used for any real import decision. Treat it as a code lookup/search convenience only.shipment-tracking-aggregator's Yurtiçi Kargo and Aras Kargo clients are best-effort HTML scrapes, not official APIs (neither carrier publishes a simple public JSON tracking API). They are inherently fragile - if either site's page structure changes, the client is designed to throw a typedTrackingParseError("page structure may have changed") rather than silently return wrong data. Only the DHL client uses a real, documented JSON API.
pnpm install
pnpm build
pnpm testNode.js >= 22.5.0 is required (several packages use the built-in node:sqlite module).
Each package that talks to a real external service ships a .env.example - copy it to
.env inside that package and fill in the placeholders (API keys, webhook URLs) before use.
- TypeScript + ESM throughout (
module/moduleResolution: NodeNext),strict: true. - Each package:
src/,tests/(vitest, no live network calls - all HTTP/scrape logic is tested against mockedfetchor fixture HTML/JSON), its ownpackage.jsonandREADME.md. - CLIs are built with
commanderand support--jsonfor machine-readable output where it makes sense. - Code, comments, and commit messages are in English. CLI report labels are Turkish where that reads naturally for a Turkish logistics/import audience.
- No fabricated real-world rates, prices, or tariffs anywhere in this repo - see the data-accuracy notes above.
MIT - see LICENSE.