Skip to content

eli64s/dots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

64 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆ   β–ˆβ–ˆ β–ˆβ–ˆ    β–ˆβ–ˆ    β–ˆβ–ˆ    β–ˆβ–ˆ
β–ˆβ–ˆ   β–ˆβ–ˆ β–ˆβ–ˆ    β–ˆβ–ˆ    β–ˆβ–ˆ    β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆ   β–ˆβ–ˆ β–ˆβ–ˆ    β–ˆβ–ˆ    β–ˆβ–ˆ         β–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ     β–ˆβ–ˆ    β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ

β—Ž Config files and utility scripts
Visual%20Studio%20Code Python Pytest GNU%20Bash Ruff Git Zsh

line

Overview

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!

Project Structure

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

Installation

To get started with the utility scripts, build the project from source:

  1. Clone the repository:

    ❯ git clone https://github.com/eli64s/dots
  2. Navigate to the project directory:

    ❯ cd dots

Running Scripts

πŸ”» YouTube Batch Downloader

Batch download YouTube videos from csv file of URLs and convert them to MP3 files.

  1. Make the script executable:

    ❯ chmod +x scripts/youtube/youtube_downloader.sh
  2. Prepare a file with YouTube links (one URL per line):

    ❯ printf "https://youtu.be/dQw4w9WgXcQ\nhttps://youtu.be/3JZ_D3ELwOQ" > youtube_links.txt
  3. 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.

line

About

πŸ”΅ 🟒 🟑 🟠 πŸ”΄

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Contributors 2

  •  
  •