# Web2Img
Web2Img is a tool to bundle your web files into a single image, and extract them via Service Worker at runtime.
You can use image hosting sites as free CDNs to save bandwidth costs.
![intro.png](assets/img/intro.png)
## Tool
Try It Online: https://etherdream.github.io/web2img/
OR: https://etherdream.com/web2img/ (latest)
https://user-images.githubusercontent.com/1072787/132183995-b342c3a8-1408-4819-923e-2d25fde419be.mp4
## Example
Demo: [https://fanhtml5.github.io](https://fanhtml5.github.io)
Target Files: https://github.com/fanhtml5/fanhtml5.github.io (only 2 files)
Source Files: https://github.com/fanhtml5/test-site
## FAQ
Q: What if JavaScript is disabled?
A: Unfortunately, the page can't be displayed. You can add a fallback in `404.html` such as:
```html
```
----
Q: What if the browser doesn't support Service Worker?
A: Same as above. The program will read the contents of `