小内存 Mac 救星!Qwen3 Terminal 自动搞定YouTube | Tiny RAM Mac Runs Qwen3 Like a Dream

AI + Terminal + Claude Code/OpenCode = 自动整理 YouTube 素材 + 自动生成博客草稿 + 自动管理代码和文件

姐妹们!用小内存Mac低配本深耕本地 AI 一个月,我彻底改观了✨
原来最香的根本不是付费云端大模型,而是把终端用成专属生产力搭子!
不用花钱、上手简单,每天自动帮我规整 YouTube 素材、生成博客草稿,文件也整理得清清楚楚。
谁说小内存(8G)只能追剧摸鱼?我直接用它流畅跑 Qwen3:4B + 智能 Agent,全程离线运行、隐私完全可控,这波反常识玩法真的太丝滑了!
My real experience with an Tiny RAM Mac after using local AI for a month.
Cloud AI is overrated. My favorite workflow now is Ollama + Qwen3:4B + Terminal Agent.
It’s free, user-friendly, works offline and keeps all your data private. This handy tool sorts my YouTube materials, writes blog drafts and organizes files automatically. Who says Tiny RAM(8G) is only for streaming videos? This offline AI setup runs surprisingly smoothly!

1. 准备素材文件夹 / Prepare Material Folder 
mkdir ~/ytm

把你的视频、截图、字幕、笔记全扔进去,AI 才能干活!/ Dump all your crap in. AI works. Magic

2. 一键安装全家桶 / Install Everything  bash

brew install eza bat zoxide glow lazygit yazi chafa tlrc ollama git python

3. 下载 Qwen3:4B(8GB Mac 最佳) / Download Model

ollama pull qwen3:4b

(2.5GB 左右,速度飞快,coding 能力刚好 / 2.5GB, speedy, good enough)

4. 进入项目目录(Zoxide 记忆术) / Smart Jump

第一次/First run:cd ~/ytm

以后直接敲/Then just type:z ytm

5. 自动整理素材(Python 脚本) / Auto Organize

新建 organize.py 文件,用 bat 打开编辑 / bat organize.py — edit like a boss:

bat organize.py

提示词/prompt:
请帮我写一个Python脚本 organize.py。

目录是 ./ytm。

自动整理文件:

mp4 mov → video

png jpg → image

srt → subtitle

txt md → note

如果目录不存在自动创建。

保持代码简单,使用 pathlib。

最后打印 done。

+++++++++++++++++

Write a simple Python script named organize.py.

Folder is ./ytm.

Organize files:

mp4 mov -> video

png jpg -> image

srt -> subtitle

txt md -> note

Create folders automatically if missing.

Use pathlib and keep the code simple.

Print done at the end.

~~~~~~~~~~~~~~~~~~``

代码/code(python):

from pathlib import Path


folder = Path("./ytm")

rules = {

    ".mp4": "video",

    ".mov": "video",

    ".png": "image",

    ".jpg": "image",

    ".srt": "subtitle",

    ".txt": "note",

    ".md": "note"

}

for f in folder.iterdir():

    if f.is_file():

        ext = f.suffix.lower()

        if ext in rules:

            target = folder / rules[ext]

            target.mkdir(exist_ok=True)


            f.rename(target / f.name)

print("done")

运行/run:

python organize.py

6. 启动本地 Agent(Claude 风格) / Boot Claude-ish

ollama run qwen3:4b

直接告诉它:“帮我根据视频和字幕写一篇小红书风格的技术博客草稿,标题要劲爆” / Write a banger headline from my video

7. 预览图片 / Image Preview 

chafa cover.png

8. 阅读 AI 写的博客 / Read Draft 

glow blog.md

9. 用 LazyGit 审查 AI 改动(防 AI 翻车) / LazyGit: keep AI’s chaos in check

lazygit


相关链接(relative links) https://brew.sh https://ollama.com https://ollama.com/library/qwen3 https://github.com/sharkdp/bat https://github.com/eza-community/eza https://github.com/hpjansson/chafa https://github.com/ajeetdsouza/zoxide https://github.com/tldr-pages/tlrc https://github.com/hir4ta/miru https://github.com/sxyazi/yazi https://github.com/jesseduffield/lazygit https://github.com/charmbracelet/glow https://git-scm.com https://python.org https://github.com/QwenLM/Qwen


评论

爽文共赏/Popular Posts

5分钟拿下原生IP + 免费节点 手残变大佬 | From Noob to Pro in 5 Minutes: 10 Real IPs + Daily Fresh Free Nodes

免费节点无限续?OneBox+subs-check,付费党沉默了 | Free Nodes Never Die? OneBox + subs-check, Paid Users Left Speechless

一口气搭好!Cloudflare融合Railway与Galaxy打造纯净原生免费VPS | Build a Pure Free VPS with Cloudflare + Railway + Galaxy in One Go

3 Steps to AI Video Fame✨WebSocket+Copilot Auto-Update, Newbies Win Too | 3 步 AI 视频封神✨WebSocket+Copilot 自动更,小白也能卷赢

Stop Note-Taking Pain—AI One-Click, Efficiency Skyrockets | 别再苦抄笔记!用AI一键效率爆表💥

Game-Changing! Get AI Parenting+Math Enlightenment for Free | 0成本get AI育儿+数学启蒙双buff,躺赢养娃