docwhat / docwhat/magic_reveal
Make "static" create a single html file with all assets
- Dominant language
- Ruby
- Stars
- 5
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
It would be cool if the index.html that was generated by `magic-reveal static` was a completely stand-alone file, so I could send it to someone else to run for me. The things I know about are:
Replace `link rel="stylesheet"` with `` tag containing CSS
Look for include statements in CSS
Replace `script src=` with contents of script file
Replace `img src=` with a [data:](http://en.wikipedia.org/wiki/Data_URI_scheme) URI
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the `magic-reveal static` entry point and how it generates `index.html`. Check how linked stylesheets, CSS includes, script sources, and image sources are represented, then verify that the generated presentation is one standalone HTML file with inlined CSS and scripts and data URIs for images.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, html, javascript, ruby
- Domain
- cli, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100