{"id":22156206,"url":"https://github.com/naghim/as-utils","last_synced_at":"2025-07-26T22:07:01.951Z","repository":{"id":265492845,"uuid":"896120476","full_name":"naghim/AS-utils","owner":"naghim","description":"A collection of small, useful scripts for automating common tasks. These tools were designed to help with file management, subtitle processing, and more.","archived":false,"fork":false,"pushed_at":"2024-12-29T21:16:25.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-29T19:24:55.921Z","etag":null,"topics":["archiver","archiving","g-portal","renamer","renamer-utility","subtitles","utility","webscraper","zipper","zipping-files"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/naghim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-29T15:31:27.000Z","updated_at":"2024-12-29T21:16:28.000Z","dependencies_parsed_at":"2024-12-30T01:16:38.049Z","dependency_job_id":null,"html_url":"https://github.com/naghim/AS-utils","commit_stats":null,"previous_names":["naghim/as-utils"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naghim%2FAS-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naghim%2FAS-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naghim%2FAS-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naghim%2FAS-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/naghim","download_url":"https://codeload.github.com/naghim/AS-utils/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245289580,"owners_count":20591099,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["archiver","archiving","g-portal","renamer","renamer-utility","subtitles","utility","webscraper","zipper","zipping-files"],"created_at":"2024-12-02T02:38:37.474Z","updated_at":"2025-07-26T22:07:01.932Z","avatar_url":"https://github.com/naghim.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# as-utils - A Collection of Utility Scripts\n\nA collection of small, useful scripts for automating common tasks. These tools were designed to help with file management, subtitle processing, and more.\n\n## Scripts\n\nNo installation required. Simply download the scripts and run them with Python. **Each script includes its own documentation and a list of required dependencies.**\n\n### 1. [`auto_zipper.py`](auto_zipper/README.md)\n\nA versatile Python script for managing archives. It:\n\n- Extracts files from `.zip` and `.rar` archives.\n- Sorts files in natural order (e.g., `1, 2, 10` instead of `1, 10, 2`).\n- Renames files based on their content:\n  - Adds or normalizes file extensions using magic header detection.\n  - Pads single-digit numbers with leading zeros.\n- Combines the renamed and sorted files into a new `.zip` archive.\n- Treats all files as if they are in a single flat directory (no folder hierarchy is preserved).\n\nThis tool is ideal for organizing archives with inconsistent naming conventions or missing file extensions.\n\n### 2. `rename_files.py`\n\nThis script renames image files in the current directory. It:\n\n- Adds leading zeros to single-digit numbers for consistent naming (e.g., `1.png` becomes `01.png`).\n- Normalizes file extensions to lowercase for uniformity.\n\nThis is an older and simpler version of the core functionality of the `auto_zipper.py` script.\n\n### 3. [`as_sassin.py`](as_sassin/README.md)\n\nThis script is a web scraper that extracts data from websites based on a configurable `config.json`. It uses BeautifulSoup to parse HTML and saves results in `output.json`. It:\n\n- Scrapes multiple modules and handles pagination.\n- Customizable via `config.json`.\n\nOptimized for G-Portál blogs but adaptable for other websites. Customization points are marked in the code.\n\n### 4. [Fontos](https://github.com/naghim/fontos)\n\n⚡ **Font Finder and Collector**  \nThis application helps manage fonts for `.ass` subtitle files. It:\n\n- Checks whether the fonts used in a `.ass` subtitle file are installed on your system.\n- Collects the required fonts into a directory for easy packaging or sharing.\n\n\u003e Note: **Fontos** now has its own dedicated repository.\n\n### 5. [SubAssistant](https://github.com/naghim/subassistant)\n\n✨ **Subtitle Translation Made Easy**  \nA GUI-based desktop tool crafted specifically for `.ass` subtitle files. SubAssistant is designed for translators and proofreaders, offering features such as:\n\n- Commenting out the original dialogue while writing translations alongside it.\n- Allowing proofreaders to review both the original and translated versions within the same file.\n- An option to delete the commented-out texts once translation is complete.\n- **Fontos GUI Integration**: Includes tools to check if fonts used in a `.ass` subtitle file are installed on your system and to collect these fonts into a directory for packaging or sharing.\n\nThis tool streamlines the subtitle translation process, making it efficient and user-friendly.\n\n\u003e Note: **SubAssistant** also has its own dedicated repository.\n\n### 6. [Selaphiel-bot](https://github.com/naghim/Selaphiel-bot)\n\n💬 **The Messenger Archangel**  \nSelaphiel is a bot that forwards Discord messages from a channel to a public Twitter/X feed. Perfect for sharing community updates or highlights with the world in real time.\n\n\u003e Note: **Selaphiel-bot** also has its own dedicated repository.\n\n### 7. [Novelfulll Downloader](https://github.com/naghim/Novelfulll-downloader)\n\n📥 **Download content from Novelfulll.com**  \nThis Python script allows you to download images from chapters or an entire comic hosted on https://www.novelfulll.com.\n\n\u003e Note: **Novelfulll Downloader** also has its own dedicated repository.\n\n### 8. [Seriesname.com-type Scraper](seriesname.com-type-scraper/README.md)\n\nA minimal image scraper for seriesname.com-style sites, with auto image conversion, renaming, and easy customization. Built for reuse and quick setup.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaghim%2Fas-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnaghim%2Fas-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaghim%2Fas-utils/lists"}