{"id":16975876,"url":"https://github.com/chilfish/scripts","last_synced_at":"2025-04-14T21:44:49.490Z","repository":{"id":178934623,"uuid":"656748837","full_name":"Chilfish/Scripts","owner":"Chilfish","description":"My scripts","archived":false,"fork":false,"pushed_at":"2025-04-04T12:30:31.000Z","size":1052,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-04T13:35:56.633Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Chilfish.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-06-21T14:57:20.000Z","updated_at":"2025-04-04T12:30:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"f6414ce2-7960-4cf9-ab39-c2c1c71264ca","html_url":"https://github.com/Chilfish/Scripts","commit_stats":null,"previous_names":["chilfish/scripts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chilfish%2FScripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chilfish%2FScripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chilfish%2FScripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chilfish%2FScripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Chilfish","download_url":"https://codeload.github.com/Chilfish/Scripts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248966662,"owners_count":21190813,"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":[],"created_at":"2024-10-14T01:24:14.544Z","updated_at":"2025-04-14T21:44:49.466Z","avatar_url":"https://github.com/Chilfish.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### 一些自用的脚本\n\n不负责任地随缘维护更新）\n\n必要依赖：[tsx: ts 运行器](https://github.com/privatenumber/tsx)、ffmpeg、nodejs\u003e=20、Python3\n\n- [cli/srt](cli/srt.ts)：提取字幕或翻译 srt 字幕文件\n- [bestdori](crawler/bestdori/)：BanG Dream！bestdori 相关爬虫\n- [monkey](monkey/)：一些油猴脚本\n  - [twitter-utls](monkey/twitter-utils/README.md)：推特相关的小工具\n  - [twitter-media.user.js](monkey/twitter-media.user.js)：下载推特原图（改自 [twitter-media-downloader](https://greasyfork.org/zh-CN/scripts/423001-twitter-media-downloader)）\n  - [ins-download.user.js](monkey/ins-download.user.js)：下载 ins 图片、快拍\n  - [ins-exporter.user.js](monkey/ins-exporter.user.js)：导出 ins 用户的帖子数据\n  - [katakana-terminator.user.js](monkey/katakana-terminator.user.js)：修改后的片假名标翻译\n- [video-dlp.py](python/video-dlp.py)：全速地下载一系列视频\n- [cut-video.py](python/cut-video.py)：快速视频切片\n- [PowerShell_profile.ps1](pwsh/Microsoft.PowerShell_profile.ps1)：Powershell 的配置文件\n- [download-weibo.ts](crawler/download-weibo.ts)： 下载微博图片/视频\n- [twitter-rss](crawler/twitter/rss.ts)：启动一个本地的 twitter 搜索的 rss 服务器 http://localhost:3456/search/:keyword 。需要先获取完整 cookies 到 config.yaml（当然现在改用 RSSHub 了）\n\n\u003e 使用 [twitter-web-exporter](https://github.com/prinsss/twitter-web-exporter) 插件导出推文 json 后，用 [tweets.ts](crawler/twitter/tweets.ts) 解析必要数据，用 [tweets-img.ts](crawler/twitter-img.ts) 下载导出的图片。\n\u003e\n\u003e 图片格式为 `${name}_YYYYMMDD_HHMMSS_{status_id}`，这样既可以快速知道图片的日期，要查看原推文则 `https://twitter.com/i/status/{status_id}`\n\n- [rss-download](cli/rss-download.ts)：订阅 rss 并自动下载视频，b站使用 [BBDown](https://github.com/nilaoda/BBDown)，其它的使用 [yt-dlp](https://github.com/yt-dlp/yt-dlp)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchilfish%2Fscripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchilfish%2Fscripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchilfish%2Fscripts/lists"}