bootdev-local
is a command-line tool written in Go that allows you to access Boot.dev premium courses and quizzes locally, making them available for free. It provides a convenient way to interact with lesson content and practice coding challenges directly from your terminal.
- Free Access to Premium Lessons: Access any Boot.dev premium lesson by providing its UUID or direct URL.
- Interactive Quizzes: Engage with quizzes using a
bubbletea
selection interface for an interactive experience. - Local Coding Environment Setup: For coding lessons,
bootdev-local
automatically creates a structured folder within your current directory (e.g.,./Chapter 6/Lesson 5/main.c
). This folder includes all lesson files, including aREADME.md
. - Customizable Editor Integration: Open code and markdown files directly in your preferred editors using command-line flags.
If you're on Arch Linux, you can easily install bootdev-local
using paru
:
paru -Sy bootdev-local
For other Linux distributions, you can download the latest executable directly from the GitHub releases page and place it in your system's bin
folder:
- Download the executable:
wget https://github.com/Wraient/bootdev-local/releases/download/latest/main -O bootdev-local
- Make it executable:
chmod +x bootdev-local
- Move it to your
bin
directory (e.g.,/usr/local/bin
):sudo mv bootdev-local /usr/local/bin/
To open a lesson, simply run bootdev-local
followed by the lesson's UUID or its full URL:
bootdev-local "bb1b1b68-a688-4341-821c-54614ed5eed2"
# Or
bootdev-local "https://www.boot.dev/lessons/bb1b1b68-a688-4341-821c-54614ed5eed2"
You can specify which editor to use for code files and markdown files using the -code-editor
and -md-editor
flags, respectively.
bootdev-local -h
Output:
Usage of bootdev-local:
-code-editor string
Editor to open code files with (e.g., 'code', 'vim', 'emacs')
-md-editor string
Editor to open markdown files with (e.g., 'typora', 'code')
Example:
To open a C coding lesson and have the main.c
file open in VS Code (code
) and the README.md
open in Typora (typora
):
bootdev-local "https://www.boot.dev/lessons/your-lesson-uuid" -code-editor "code" -md-editor "typora"
This command will:
- Fetch the lesson content.
- Create a folder structure like
./Chapter 6/Lesson 5/
. - Place
main.c
(and any other relevant files) andREADME.md
inside this folder. - Automatically open
main.c
with VS Code andREADME.md
with Typora.
This repository is intended solely for individuals who genuinely cannot afford the otherwise very reasonably priced Boot.dev courses. It is not meant to circumvent or undermine the value provided by Boot.dev.
Please understand that the experience of using bootdev-local
will inherently be degraded compared to the official Boot.dev website, as it lacks the rich interactive features, integrated development environment, and community support that the official platform offers.
If Boot.dev owners have any concerns or would prefer this repository to be private, please feel free to message me on Discord at @wraient
. I am open to discussion and will respect any reasonable requests.