How enisthebiker/ebtools works
EBTools is a browser-based collection of everyday tools; the sampled runtime centers on image utilities, with image conversion identified as a working prototype. The user-facing flow is to find a tool, load or edit an image, process it in the selected tool, then obtain an output. The sampled code supports worker-based codec processing and canvas editing. Several page links and unsampled tool internals are not shown, so those relationships are omitted rather than inferred.
Main entry points: Converter/script.js Image converter · Rotate/script.js Rotate and flip · avif.worker.js AVIF codec worker · heic-encoder.worker.js HEIC encoder worker
Components 14
Tool discovery
- Tool directory
script.js - Image tools page
image-tools/script.js
Image tools
- Image compressor
image-tools/Compressor/script.js - Rotate and flip
image-tools/Rotate/script.js - Watermark editor
image-tools/Watermark/script.js
Image conversion
- Image converter
image-tools/Converter/script.js
Codec workers
- AVIF codec worker
image-tools/Converter/avif.worker.js - GIF encoder worker
image-tools/Converter/gif.worker.js - HEIC decoder worker
image-tools/Converter/heic.worker.js - HEIC encoder worker
image-tools/Converter/heic-encoder.worker.js - TIFF codec worker
image-tools/Converter/tiff.worker.js
Other components
- Visitor
- Codec CDN
- Browser canvas
Connections 19
- Visitor → Tool directory: opens
readme.md - Visitor → Image tools page: opens
- Visitor → Image compressor: selects image
- Visitor → Rotate and flip: selects image
- Visitor → Watermark editor: selects image
- Visitor → Image converter: selects image
- Image compressor → HEIC encoder worker: encodes HEIC
image-tools/Compressor/script.js - Rotate and flip → AVIF codec worker: requests AVIF
image-tools/Rotate/script.js - Rotate and flip → HEIC encoder worker: encodes HEIC
image-tools/Rotate/script.js - Watermark editor → Browser canvas: edits canvas
image-tools/Watermark/script.js - Rotate and flip → Browser canvas: renders transform
image-tools/Rotate/script.js - Image converter → AVIF codec worker: requests codec
image-tools/Converter/script.js - Image converter → HEIC decoder worker: decodes HEIC
image-tools/Converter/script.js - Image converter → GIF encoder worker: encodes GIF
- Image converter → TIFF codec worker: processes TIFF
- AVIF codec worker → Codec CDN: loads AVIF codec
image-tools/Converter/avif.worker.js - HEIC decoder worker → Codec CDN: loads decoder
image-tools/Converter/heic.worker.js - HEIC encoder worker → Codec CDN: loads encoder
image-tools/Converter/heic-encoder.worker.js - TIFF codec worker → Codec CDN: loads TIFF libraries
image-tools/Converter/tiff.worker.js