-
-
Notifications
You must be signed in to change notification settings - Fork 213
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
Support data URI #24
Comments
Neither does the builtin
|
So it doesn't enter within the scope of opn? |
somehow missed
|
It will probably work if you explicitly specify a browser in the |
You could also probably hack support for it by detecting a data URI and writing the contents to a tempfile, then open that file. |
@sindresorhus so I take you'd accept a PR? |
Hmm, not sure. Why do you need it? What are you using it for? |
@sindresorhus I'd use it with pipe, when playing with buffers that contain image data it's quite useful
|
I don't think it's of much usefulness to most users though, I could simply write an |
I think it would be useful for https://github.com/sindresorhus/opn-cli. PR welcome to add stdin support there using https://github.com/sindresorhus/get-stdin and https://github.com/sindresorhus/temp-write. |
opn data:,Hello%2C%20World!
should open the data URI in the browser but does nothing (OS X)
The text was updated successfully, but these errors were encountered: