Title: Add new file embedding modes · Issue #39 · unplugin/unplugin-raw · GitHub
Open Graph Title: Add new file embedding modes · Issue #39 · unplugin/unplugin-raw
X Title: Add new file embedding modes · Issue #39 · unplugin/unplugin-raw
Description: Clear and concise description of the problem The only mode for binary data currently available is ?bytes which encodes as a byte array which is rather inefficient in terms of storage and leaves some to be desired. Suggested solution I wo...
Open Graph Description: Clear and concise description of the problem The only mode for binary data currently available is ?bytes which encodes as a byte array which is rather inefficient in terms of storage and leaves som...
X Description: Clear and concise description of the problem The only mode for binary data currently available is ?bytes which encodes as a byte array which is rather inefficient in terms of storage and leaves som...
Opengraph URL: https://github.com/unplugin/unplugin-raw/issues/39
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add new file embedding modes","articleBody":"### Clear and concise description of the problem\n\nThe only mode for binary data currently available is `?bytes` which encodes as a byte array which is rather inefficient in terms of storage and leaves some to be desired.\n\n### Suggested solution\n\nI would be nice to also have `?base64` to get a base64 string, and a more efficient form of `?bytes` that encodes the payload as base64 and decodes when accessed/imported, with optional compression.\n\n### Alternative\n\nImplement my own plugin\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [x] Follow our [Code of Conduct](https://github.com/unplugin/.github/blob/main/CODE_OF_CONDUCT.md)\n- [x] Read the [Contributing Guide](https://github.com/antfu/contribute).\n- [x] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.","author":{"url":"https://github.com/segevfiner","@type":"Person","name":"segevfiner"},"datePublished":"2026-11-04T10:19:43Z","url":"https://github.com/unplugin/unplugin-raw/issues/39"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4f3b13cc-9ff8-b927-906c-ecef3042e200 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 98EC:39866F:35077C:4AE017:6B005D7B |
| html-safe-nonce | c2556432849cbf17532e171a024523b7809cd76a9a60e6077c113121f8860803 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OEVDOjM5ODY2RjozNTA3N0M6NEFFMDE3OjZCMDA1RDdCIiwidmlzaXRvcl9pZCI6IjE3MTA0NzA0NTY4NDQyNDYzOTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f3573c1d3af07d8c1d4f8a3d5334f189253b601a1956f87ac25ebfd8dc94ce8c |
| hovercard-subject-tag | issue:6200835201 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/unplugin/unplugin-raw/39/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ce7e98178775c11856946da623f5457886a98aac64e4718653d368fa47ee1e15/unplugin/unplugin-raw/issues/39 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ce7e98178775c11856946da623f5457886a98aac64e4718653d368fa47ee1e15/unplugin/unplugin-raw/issues/39 |
| og:image:alt | Clear and concise description of the problem The only mode for binary data currently available is ?bytes which encodes as a byte array which is rather inefficient in terms of storage and leaves som... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | segevfiner |
| hostname | github.com |
| expected-hostname | github.com |
| None | 29be975efff6507a5d135de9c7d634cf7ff8f0c55222a64386ab3202209aaf73 |
| turbo-cache-control | no-preview |
| go-import | github.com/unplugin/unplugin-raw git https://github.com/unplugin/unplugin-raw.git |
| octolytics-dimension-user_id | 143585159 |
| octolytics-dimension-user_login | unplugin |
| octolytics-dimension-repository_id | 725380460 |
| octolytics-dimension-repository_nwo | unplugin/unplugin-raw |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 725380460 |
| octolytics-dimension-repository_network_root_nwo | unplugin/unplugin-raw |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | eacd927ba6112e3b01ba99c762bd699a4a4f5df7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width