Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data url itty bitty #59

Open
voronoipotato opened this issue Oct 13, 2020 · 1 comment
Open

data url itty bitty #59

voronoipotato opened this issue Oct 13, 2020 · 1 comment

Comments

@voronoipotato
Copy link

voronoipotato commented Oct 13, 2020

https://gist.github.com/voronoipotato/daf2c79626b71666c5812c2be7152e7c

I used the SingleFile firefox extension to save itty.bitty.site to a file, and then used
$ cat ittybitty.html | base64 | sed "1 s|^|data\:text/html;base64,|" to encode that into a data url. Obviously the current url is very verbose but 80% of that is jquery which can probably be replaced. You don't have to respond to this or respect it, but I found it interesting that you can put it in its own url.

@voronoipotato
Copy link
Author

It looks like my current attempt has a bit of an issue with rewriting the URL. I'll keep at it, it's entertaining.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant