What I have done with this idea? Nothing! Should be more motivation to make me do something than just for learning a new technology.
One night, my wife complained to me that she needs to download audio from youtube but she doesn’t want to download it one by one, but download a whole playlist. So I told her, “not a problem! why do you have a developer in your house if not for such cases”? And I did what every developer would do … search on Goggle. Probably the internet full of applications such this but I couldn’t find one that I liked. So, I remembered my idea and I knew that I’m gonna write it by myself.
First of all, I set some rules for me:
No Boilerplates! At all! All should be from scratch.
Open source friendly (Not only open source, but also friendly), all of it. There will be no “How to contribute” guide. Contribute however you like!
CI-CD (travis-ci and appveyor) so
commitwill trigger build and tests and
releasewill deploy the artifacts (windows, mac and ubuntu) to
The app will be distribute to Electron app market.
A server will not be involved in any way, all the process will be in the app so the usage in the app will not be trackable (except the network for youtube itself, of course). It’s an important: The app will not track any activity, no Google Analytics or something or any caching in the server.
The stack will include, eventually:
- React and MobX, not because it needed but because I wanted to practise (React) and learn (MobX).
- Test library — Jest.
- TypeScript, of course.
- Webpack — I used it before but I wanted to learn how to build it from scratch, not just use a boilerplate.
Free — no ads.
The architecture will be as simple as possible — small components so people could easily understand and learn.
Download not public videos is forbidden!
Keeps doing it for fun! No pressure.
Open a Github repo with a name that I will regret very soon — ✓.
Read and implement the quick start of Electron — ✓.
This is how it looks so far
In short, it retrieve the videos ids (youtube-playlist) and adding a request for download and convert them to mp3, to a queue (youtube-mp3-downloader).
In the next episodes of the series I will follow the 10 rules. Stay tuned!Original Post