Skip to content

Scripts CollectionUseful Scripts Collection

Actually it's just some 💩 I wrote

Scripts Collection

This is a collection of 💩 I wrote, but with a little practicality.

Web Build Status

Netlify Status

About This Project

This project is a static documentation site built with VitePress, designed to showcase and manage various useful scripts (Shell / Python, etc.). The site supports multilingual switching (Chinese, English, Japanese) and provides a clear document structure with a user-friendly interface.

Technical Features

  • Responsive Design: Perfectly adapts to desktop and mobile devices
  • Multilingual Support: Supports Chinese, English, and Japanese languages
  • Code Highlighting: Script syntax highlighting
  • Language Switching: Preserves current page position when switching languages
  • Sitemap: Automatically generates sitemap.xml for search engine indexing
  • PWA Support: Supports offline access, installable to home screen, automatic updates

Documentation Structure

The site uses a clear directory structure:

docs/
├── index.md                    # Home page
├── scripts/                    # Script documentation
│   ├── index.md                # Script overview
│   └── *.md                    # Detailed documentation for each script
├── en/                         # English documentation
│   ├── index.md
│   └── scripts/
└── ja/                         # Japanese documentation
    ├── index.md
    └── scripts/

Access Methods

This site is available at multiple addresses:

Usage

Browsing Documentation

  1. Use the top navigation bar to switch between home and script documentation
  2. Use the left sidebar to quickly jump to specific script documentation
  3. Use the top language selector to switch display languages
  4. Click on code blocks in the documentation to view the complete script content

Getting Scripts

Each script documentation page provides methods to obtain scripts from CNB and GitHub (supports Shell / Python, etc.):

bash
# Get from CNB (Shell script example)
wget https://cnb.cool/SDCOM/shit/-/git/raw/main/script/kill_app.sh
# Get from CNB (Python script example)
wget https://cnb.cool/SDCOM/shit/-/git/raw/main/script/download_cbz_interactive.py

# Get from GitHub (Shell script example)
wget https://github.com/SDCOM-0415/shit/raw/refs/heads/main/script/kill_app.sh
# Get from GitHub (Python script example)
wget https://github.com/SDCOM-0415/shit/raw/refs/heads/main/script/download_cbz_interactive.py

Main Scripts

  • kill_app.sh: A script to quickly terminate Linux system programs
  • linux_limit.sh: Directory size limit related script with interactive and non-interactive modes
  • get_ip.sh: A script to get local IP address in termux
  • uninstall_docker.sh: Docker uninstall script
  • disable_docker.sh: Completely disable Docker and prevent reinstallation
  • enable_docker.sh: Re-enable Docker
  • fix_env.sh: Permanently fix environment variables to shell configuration files
  • upload_to_box.sh: Script to upload files to file courier
  • port_forward.sh: IPsec VPN port forwarding management tool
  • download_cbz_interactive.py: cloudme.one manga chapter download tool

Project Repository

© Author

SDCOM

文档支持多语言