ββββββ ββββββ ββββββββ βββββββ
ββ ββ ββ ββ ββ ββ
ββ ββ ββ ββ ββ βββββββ
ββ ββ ββ ββ ββ ββ
ββββββ ββββββ ββ βββββββ
β Config files and utility scripts
This repository contains many common configuration files and development scripts I use daily. With a rich collection of Bash scripts, Python config files, and shell enhancements, this repo helps you:
- π Automate repetitive dev tasks
- π οΈ Set up and manage environments fast
- π΅ Download and convert YouTube playlists
- π Aggregate docs for LLM workflows
- π§Ή Clean, lint, and test codebases with a single command
- β‘ And much more!
The repository is structured as follows:
.
βββ docker
βΒ Β βββ build_and_publish.sh
βββ docs
βΒ Β βββ common
βΒ Β βΒ Β βββ python-project-templates.md
βΒ Β βββ quickstart
βΒ Β βββ uv.md
βββ git
βΒ Β βββ gitignore.txt
βββ just
βΒ Β βββ justfile
βΒ Β βββ python-justfile.md
βββ lint
βββ make
βΒ Β βββ Makefile
βΒ Β βββ Makefile.help.table
βΒ Β βββ Makefile.poetry.mk
βΒ Β βββ Makefile.uv.mk
βββ python
βΒ Β βββ noxfile.py
βΒ Β βββ conf
βΒ Β βΒ Β βββ pyproject-poetry.toml
βΒ Β βΒ Β βββ pyproject-uv.toml
βΒ Β βββ lint
βΒ Β βββ tests
βΒ Β βΒ Β βββ behave.ini
βΒ Β βΒ Β βββ pytest.ini
βΒ Β βββ type-checker
βΒ Β βββ mypy.ini
βΒ Β βββ ty.toml
βββ scripts
βΒ Β βββ builds
βΒ Β βΒ Β βββ docker_hub.sh
βΒ Β βΒ Β βββ pypi.sh
βΒ Β βββ common
βΒ Β βΒ Β βββ clean.sh
βΒ Β βΒ Β βββ run.sh
βΒ Β βΒ Β βββ test.sh
βΒ Β βββ converters
βΒ Β βΒ Β βββ svg_to_png.sh
βΒ Β βββ cookie-cutter
βΒ Β βΒ Β βββ create_structure.sh
βΒ Β βββ file
βΒ Β βΒ Β βββ aggregate_docs.sh
βΒ Β βΒ Β βββ chunk_docs.sh
βΒ Β βΒ Β βββ modify_filenames.sh
βΒ Β βββ generators
βΒ Β βΒ Β βββ mkdir_from_tree.sh
βΒ Β βββ install
βΒ Β βΒ Β βββ local_dependencies_uninstall.sh
βΒ Β βΒ Β βββ local_dependencies.sh
βΒ Β βΒ Β βββ micromamba.sh
βΒ Β βΒ Β βββ migrate_to_uv.sh
βΒ Β βΒ Β βββ precommit.sh
βΒ Β βΒ Β βββ pyflink.sh
βΒ Β βββ youtube
βΒ Β βββ download.log
βΒ Β βββ failed_links.txt
βΒ Β βββ README.md
βΒ Β βββ youtube_downloader.sh
βΒ Β βββ youtube_links.txt
βββ tmux
βββ vscode
βΒ Β βββ settings.json
βββ zsh
βββ .zprofile
βββ .zshrc
To get started with the utility scripts, build the project from source:
-
Clone the repository:
β― git clone https://github.com/eli64s/dots
-
Navigate to the project directory:
β― cd dots
Batch download YouTube videos from csv file of URLs and convert them to MP3 files.
-
Make the script executable:
β― chmod +x scripts/youtube/youtube_downloader.sh
-
Prepare a file with YouTube links (one URL per line):
β― printf "https://youtu.be/dQw4w9WgXcQ\nhttps://youtu.be/3JZ_D3ELwOQ" > youtube_links.txt
-
Run the batch downloader:
β― ./scripts/youtube/youtube_downloader.sh youtube_links.txt
Tip
The scripts directory contains a variety of utilities for automating tasks like environment setup, file operations, and codebase management.