• Stars
    star
    401
  • Rank 103,996 (Top 3 %)
  • Language
    Shell
  • License
    MIT License
  • Created over 5 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🤓 Useful bash scripts to do automatable tasks with a single command

🤓 Utility bash scripts

Contributors needed Build Status

Utility bash scripts to do automatable tasks with a single command. We have scripts to download youtube videos, download music from youtube, convert media files, etc.

Contribute and add your secret script.

📝 NOTES

Download scripts download to ~/Downloads/ folder. For videos, they download to ~/Downloads/Videos and for audio, they download to ~/Downloads/Music.

For best results, clone this git repo to a fixed location on your computer and add it to $PATH.

cd ~
git clone https://github.com/aviaryan/utility-bash-scripts.git utility-scripts
cd utility-scripts
export PATH="$(pwd):$PATH"

📜 SCRIPTS

🔻 Download video from YouTube in MP4 format

Script: youtube-video
Dependencies: youtube-dl, ffmpeg, aria2c (optional)

youtube-video "https://www.youtube.com/watch?v=HgfojLtSBTM"

🔀 Merge video and audio together

Script: vamerge
Dependencies: ffmpeg

vamerge <path to video file> <path to audio file>
# the order is important, first video, then audio

🔰 Download audio from YouTube

Script: youtube-music
Dependencies: youtube-dl, ffmpeg, aria2c (optional)

Default download format is ogg(vorbis), pass second parameter as mp3, wav, m4a to use another format.

youtube-music "https://www.youtube.com/watch?v=HgfojLtSBTM"  
youtube-music "https://www.youtube.com/watch?v=HgfojLtSBTM" mp3

♋️ Convert audio file to OGG

Script: toogg
Dependencies: ffmpeg

toogg <path to file>

😈 Uglify a JS code

Script: uglify
Dependencies: Uglify-JS

uglify <input JS file> <output file>

✂️ Extract any archive

Script: extract
Dependencies: tar, gzip, p7zip, bzip2

Extracting .dmg files works only on MacOS.

extract <path to archive>

♋️ Convert audio file to MP3

Script: tomp3
Dependencies: ffmpeg

tomp3 <path to file>

🔉 Download audio from SoundCloud

Script: soundcloud-music
Dependencies: Soundscrape

soundcloud-music <link to soundcloud>

🐳 Force stop and clean Docker containers

Script: dckill

dckill

♻️ Empty Trash folder

Script: empty-trash

empty-trash

⏰ Get current time at any timezone

Script: clock
Dependencies: timedatectl for Linux, sudo access for Mac

clock list
clock <Time Zone>

🌧 Get weather report for a location

Script: weather

weather <City Name>
weather # Will use your IP Address location

Script: gh-url

gh-url <url-to-shorten> <short-code>

🤐 ZIP without .DS_Store on a Mac

Script: maczip

maczip <path to folder>

🖼 Delete screenshots from Desktop on a Mac

Script: delete-ss

delete-ss

❌ Remove .DS_Store files recursively (Mac)

Script: rm-ds-store

rm-ds-store

🖼 Show certificate information of a service

Script: show-certificate
Dependencies: openssl

show-certificate google.com

📹 Encode video to x265

Script: encode-x265
Dependencies: ffmpeg

Default encoded video's name is videoname-x265. But you can change it like the second example.

encode-x265 <path to video>
encode-x265 <path to video> <path to encoded video>

🎥 Convert video to gif

Script: gif-convert
Dependencies: ffmpeg

gif-convert <path to video> <path to gif> <start_at> <end_at> <fps> <scale>

If you don't want to change the value, you can use -.

gif-convert input.mp4 output.gif 05:00 05:03.6 - 640x360 

📜 Learn a new command

Script: learn
Dependencies: cowsay

learn

🍅 Pomodoro

Script: pomodoro

pomodoro <focus time length> <break time length>

🤘🏻 SIMPLE BASH COMMANDS

These commands are so easy to use that creating a script for them would be overkill.

🗄 Display filesystem information (disk usage, mount path)

df

More Repositories

1

awesome-no-login-web-apps

🚀 Awesome (free) web apps that work without login
Shell
2,431
star
2

VSCodeNotebook

📝 Use VS Code as a reliable note-taking/journal application
Python
629
star
3

Clipjump

📋 Clipboard Manager for Windows, built in AutoHotkey
AutoHotkey
362
star
4

chattt

❯❯❯ Chat without leaving your terminal
JavaScript
252
star
5

learn-for-free

🚫💰 Why pay for a degree or a course when you can learn on the Internet for free? This project contains free learning resources for all topics you can think of.
251
star
6

learnxinyminutes-pdf

📚 Learn X in Y minutes as PDF
Python
245
star
7

SublimeNotebook

📝 Make Sublime Text your favorite note taking/journal application
Python
214
star
8

python-gsearch

🔍 Google Search unofficial API for Python with no external dependencies
Python
210
star
9

Kissanime-Batch-Downloader

🇯🇵 📺 KissAnime, KissCartoon and KissAsian batch links generator script
JavaScript
134
star
10

autohotkey-scripts

👌 A collection of Autohotkey scripts and functions authored by me (Avi Aryan).
AutoHotkey
115
star
11

work

My open source projects portfolio. Built with React.
JavaScript
72
star
12

BigEval.js

Fully featured mathematical expression solving library
JavaScript
54
star
13

competitive

💻 My competitive programming archive
C++
51
star
14

series-renamer

📺 A robust TV/Anime series renamer in Python
Python
46
star
15

BrainGames

⚡ Games to boost your brain, written in Python using Pyglet
Python
46
star
16

resume

:bowtie: Simple and clean resume in Jekyll
HTML
38
star
17

Ahk-Best-Practices

[WIP] AutoHotkey Best Practices
32
star
18

AutoHotkey

🔣 (Discontinued) Sublime Text Autohotkey package.
JavaScript
30
star
19

alfred-google-search

Alfred workflow to do inline google searches (open URL or copy to clipboard)
Python
30
star
20

tYp3r

😎 dA aNn0Y1Ng t3Xt g3NeRa7or (The annoying text generator :-P)
HTML
29
star
21

Hinix

🔠 Exciting Word Game
Java
24
star
22

typ3r.js

🍟 [Library] dA aNn0Y1Ng t3Xt g3NeRa7or
JavaScript
23
star
23

your-word

⛓ Ethereum based DApp that helps you keep your promises [Rinkeby]
JavaScript
20
star
24

chattt-backend

🖥 Backend for chattt
JavaScript
17
star
25

react-typescript-tailwind-styled-components

Boilerplate for getting started with a TypeScript based React (CRA) project with Tailwind and Styled-Components. Also includes editorconfig, prettier and HMR.
JavaScript
17
star
26

hooks-testing

HTML
17
star
27

alfred-clc

Powerful Calculator for Alfred
Shell
16
star
28

Sublime4Autohotkey

📜 (Deprecated) Sublime Text patch for Autohotkey coding
JavaScript
15
star
29

alfred-last2imgur

Alfred workflow to upload the last screenshot taken to Imgur + (delete and minify image)
Shell
14
star
30

Ahk-CI-Example

A demo on using AppVeyor for AHK continuous testing
AutoHotkey
13
star
31

gcide-dictionary-json

📖 GCIDE dictionary in json format
Python
12
star
32

bootstrap-chm

Bootstrap documentation in CHM, complete with searchable Index and table of contents
Python
11
star
33

Evernote-Decrypt

Decrypt encrypted Evernote notes
Python
11
star
34

shape-recog

Shape recognition tool. Built in AutoHotkey. Calculus Project
AutoHotkey
10
star
35

email-templates

Email templates for Dev Letters and others
9
star
36

lc3-sublime

LC3 Programming Package for Sublime Text
Assembly
9
star
37

aviaryan.github.com-retired-2018

My website (retired)
HTML
9
star
38

CloseFolder

Sublime Text plugin to close all open files inside some folder or all open files inside the folder of current active file.
Python
9
star
39

javascripts

✨ Little web-apps
CSS
9
star
40

clipjump-addons

All the Clipjump plugins and customs
AutoHotkey
8
star
41

highlighter-ahk-zenburn

Syntax Highlighter for AutoHotkey with Zenburn and Github themes
CSS
8
star
42

footballers-arena

Application to display footballers profiles with ratings and other cool stats
Python
8
star
43

dls

☁️ Direct Link Service
Python
8
star
44

private-podcast-s3

Host your MP3 files as a personal private podcast on S3
JavaScript
7
star
45

downloads

A simple POC to use GitHub Pages to serve static downloads.
Shell
6
star
46

pythons

My Python scripts
Python
6
star
47

ud-catalog

[Udacity] [FSND] Item Catalog full stack project
Python
5
star
48

emojiui

Offline Emoji searcher app
JavaScript
5
star
49

flask-postgres-apache-server

[Udacity] [FSND] Setup a Flask-postgres project on a linux server using Apache and mod-wsgi
5
star
50

shach

Pronounced sh-aa-ch
Yacc
4
star
51

devletters

☠️ Hugo based site of devletters.com
HTML
4
star
52

cmd-crypto-chart

Last 24-hour chart of cryptocurrencies in your terminal
Rust
4
star
53

algorithms-course

Things I learned/did in my 4th semester algorithms course
C++
4
star
54

todo-pwa

TODO app for a mobile web workshop
JavaScript
4
star
55

PopularMovies

An app to showcase cool movies
Java
4
star
56

gatsby-bulma-default

A very basic customizable Bulma Gatsby starter template
JavaScript
4
star
57

aavi.me

🔗 Personal short URL redirector
3
star
58

lightAHK

Really lightweight syntax highlighting for AutoHotkey
CSS
3
star
59

twitter-2-steem

Twitter to STEEM auto-poster
JavaScript
3
star
60

playlist-dl

🎬 Resumable customizable Youtube playlist downloader
Python
3
star
61

ud-memory-game

[Udacity] [FEND] Memory Game
CSS
3
star
62

flask-restplus-talk

Python
3
star
63

Dockerfiles

👷 Useful Dockerfiles
2
star
64

ud-feed-reader-testing

[Udacity] [FEND] Feed Reader Testing using Jasmine
JavaScript
2
star
65

ud-arcade-game

[Udacity] [FEND] Arcade Game Frogger
JavaScript
2
star
66

initranslator

Translates Ini's
AutoHotkey
2
star
67

ud-mws-restaurant-stage-all

MWS Restaurant Project
JavaScript
2
star
68

collegare-server

[WIP] Collegare PHP backend
PHP
2
star
69

CSwA_puzzle8

Unit 5: Puzzle-8 game in Android
Java
2
star
70

deposits-app

Python
2
star
71

pop-places-patna

[Udacity] [FSND] Popular places in Patna [Neighborhood Map project]
JavaScript
2
star
72

CFBuddy

A complete Codeforces app (Udacity project)
Java
2
star
73

XYZReader

Feed Reader app for Android
Java
1
star
74

distributed-project-server

Simple backend server to coordinate a distributed text searching system. Distributed Systems and Parallel Programming course project.
Python
1
star
75

ud-myreads

[Udacity] [React] MyReads Project
JavaScript
1
star
76

cs-amxmodx-plugins

My Counter Strike AMX Mod X plugins repo. Hope to add more soon
SourcePawn
1
star
77

SunshineAndroidWear

Sunshine Android app with Android Wear support
Java
1
star
78

CSwA_anagrams

CS With Android Unit 1
Java
1
star
79

timemandy

Python
1
star
80

Counter-Strike-Bot-Editor

Counter Strike 1.6/CZ Bot Editor. Last updated → Jan-2013 😝
AutoHotkey
1
star
81

Intro-to-ML

Intro to Machine Learning (ud120) - Udacity course projects
DIGITAL Command Language
1
star
82

totalpastebin

Total Pastebin - currently a plan only
AutoHotkey
1
star
83

nkm-server

WIE Hackathon project
Python
1
star
84

quotesOnTheGo

🖊 Go commandline application that shows you random quotes. Go Learning Project.
Go
1
star
85

ud-portfolio

[Udacity] [FSND] Portfolio website
HTML
1
star
86

ini-highlighter

Syntax Highlighter Brush for Ini format
1
star
87

todo-pwa-workshop

JavaScript
1
star
88

lc3-codes

A repo for some of my LC3 scripts
Assembly
1
star
89

ud-logs-analysis

[Udacity] [FSND] Logs Analysis Project
Python
1
star
90

bitmex-position-size-calculator

Position size calculator for Bitmex, Bybit
JavaScript
1
star
91

cc-licenses-parser-scancode

Scan Creative Commons License pages and generate scancode data files
Python
1
star