Comments (9)
In Etcher, we want to allow the user to pass a URL to an image hosted on the internet, and stream directly to the device. The scope of this project is to implement a new function in etcher-image-stream called “.getFromURL()” that sends an HTTP request to the provided endpoint and makes use of the provided response headers to determine the image size, format, compression, etc to return all the needed information.
If the image is compressed, the function should return the appropriate transform stream that can deal with it (see examples on the same modules).
This functionality should be tested by an end to end suite that starts a local HTTP server to serve example images, and uses those endpoints to write the image to a temporary location, and assert that the image was written and decompressed correctly (if needed).
from etcher.
For v1 we are ok with two stage download and write, right?
from etcher.
from etcher.
Following #975 concept, would it be possible to have a widget on publisher's webpage that will preload Etcher with a specific image? For instance, on Raspberry Pi's Raspbian page, there could be 3 CTA's: Download Torrent
, Download Zip
and Flash with Etcher
or Load to Etcher
.
With regards to the UI, I see two easy ways to add this feature to v01 without messing too much with the current UI. 1) 'Select Image' remains the main CTA and below that there is an option to add a custom URL 2) A dropdown that contains most popular images replaces the main CTA and below there is an option to select a local image and probably a custom url. In both approaches, user can still drag and drop a local image. But again, we should figure out how many users will use local images vs custom urls vs popular images (dropdown).
from etcher.
from etcher.
Exactly, pretty much the same way torrents and magnets work.
from etcher.
We should re-use https://github.com/zenflow/node-fast-download for this task:
node module and command-line program for accelerated (multiple connections) http download Stream
from etcher.
Given the current plans for v2, should this issue be closed?
from etcher.
Yeah, lets do it. Given the complexity of streaming any kind of images, we decided to only support streaming on our internal image catalog.
from etcher.
Related Issues (20)
- outdated link in docs/ARCHITECTURE.md
- cannot install balena-etcher from aur repos using yay HOT 3
- cannot flash iso using appimage HOT 1
- Error:(0,h.requestMetadata) is not a function - Ubuntu 23.10 HOT 4
- Newbie: difficulty with flahing a new SDHC card with a Brennan image file
- Can not installed BelenaEtcher with "sudo apt install ***" HOT 1
- etcher not supported on this mac (Intel, Venture 13.4.1 )
- Error opening source Something went wrong while opening /home/jfac/Downloads/linuxmint-21.3-xfce-64bit.iso Error: (0,h.requestMetadata) is not a function Ok balenaEtcher HOT 8
- Ran etcher appimage on my rpi 5 8gb ram rpi os lite with gnome and got error
- Source and destination checksums do not match HOT 1
- Windows Etcher installer HOT 1
- [MAC] balenaEtcher does not see EMMC Adapter / EMMC module as a possible target HOT 1
- How to skip building etcher-util binary HOT 1
- Cannot use balenaEtcher appimage on Ubuntu 24.04 HOT 7
- Major Issues on all Platforms on 1.19.x releases HOT 7
- error
- Can't load any iso on Fedora 40 HOT 5
- How does Etcher NOT need admin on a PC to run? HOT 2
- Bug: i18n does not work on linux, Etcher always chooses `en`
- Unsatisfied dependencies on kali HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from etcher.