Skip to content

AntiFrizz1/scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AntiFrizz's scripts for every day use

Personal collection of scripts for everyday use.

Prerequisites

The following tools must be installed before using these scripts:

  • uv — Python package and project manager. Used to run scripts with inline dependencies.

    Install:

    curl -LsSf https://astral.sh/uv/install.sh | sh

Installation

Clone the repository and run the installer:

git clone <repo-url> ~/projects/scripts
cd ~/projects/scripts
./install.sh

Scripts will be installed to ~/.local/bin. Make sure it's in your PATH:

echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc

Install specific scripts only

./install.sh domain-extractor

Install to a custom directory

./install.sh --dest ~/bin

Update

Re-run the installer after git pull:

git pull
./install.sh

Scripts

domain-extractor

Extracts unique root domains from a .har file. Supports output formats for Nekoray (default), Hysteria2, and JSON. Without --save, output is printed to stdout; with --save, it writes to a file (default: unique_root_domains.json).

domain-extractor traffic.har                              # nekoray format, stdout
domain-extractor traffic.har -f json                      # json format, stdout
domain-extractor traffic.har -f hysteria2 --save          # hysteria2, saved to unique_root_domains.json
domain-extractor traffic.har -f nekoray --save -o out.txt # nekoray, saved to out.txt

About

Personal collection of scripts for everyday use

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors