Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jackmordaunt/inliner
Create a self contained html file that can be displayed correctly in a browser.
https://github.com/jackmordaunt/inliner
bundle cli html inliner rust tool workflow yarn
Last synced: 19 days ago
JSON representation
Create a self contained html file that can be displayed correctly in a browser.
- Host: GitHub
- URL: https://github.com/jackmordaunt/inliner
- Owner: JackMordaunt
- Created: 2019-10-12T09:19:13.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-16T03:20:29.000Z (over 5 years ago)
- Last Synced: 2024-11-10T16:49:37.989Z (3 months ago)
- Topics: bundle, cli, html, inliner, rust, tool, workflow, yarn
- Language: Rust
- Homepage:
- Size: 27.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# inliner
> Create a self contained html file that can be displayed correctly in a browser.
`inliner` is expected to be used with a build script that produces optimized
output, such as `yarn build`. Optimizing `css` and `js` and fetching remote
resources is outside the scope of this tool - at least for now.## Features
- [x] Parse valid html text input into a tree structure.
- [x] Replace all links with the content of the corresponding file from disk.
- [x] Render new html with inlined content.Text files are embedded directly.
Media files are embedded as base64 encoded data urls.