Total Pageviews

Sunday, 8 March 2026

搭建基于nuxtjs和github api的静态博客程序:nuxt3-blog

 首先fork此项目https://github.com/yunyuyuan/nuxt3-blog,我fork后的项目地址是

 https://github.com/ymbrite/nuxt3-blog,访问https://github.com/ymbrite/nuxt3-blog/blob/master/config.ts ,编辑config.ts文件。然后导入项目 

https://github.com/ymbrite/nuxt3-blog到vercel.com/new ,点击Deploy按钮,等待部署完成。

部署完成后,我得到网址 https://nuxt3-blog-phi.vercel.app/

 新建 token:访问Github.com,点击右上方的下拉菜单,进入Settings, 左侧菜单选择Developer settings-点击左侧的personal access tokens-点击tokens(classic)-点击右上角的

generate new token-点击generate new token(classic), 

输入三个地方的值:

  • Note 填上nuxt3-blog,代表这个 token 是由 nuxt3-blog 使用的。
  • Expiration 建议选择No expiration,代表这个 token 永不过期,当然你也不要泄露给别人,自己最好找个地方保存,万一弄丢了就得重新生成一个。
  • 下方把repo勾上。 

 然后滚动网页到下方,点击Generate token按钮,此时 token 创建完成,注意⚠:这个 token 的使用者有权限修改你 Github 上的所有仓库,请勿泄露!它只会展示这一次,务必妥善保存。 

 访问博客网址https://nuxt3-blog-phi.vercel.app/,点击右上方小火箭🚀,进入编辑界面,把刚刚保存的 token 填上。点击右上角的‘新建’,即可新建源帖。内容写好后,点击右上角的“发布”按钮,在弹出的窗口,点击“确定”,即可发布文章。发布新帖后,需等2分钟,博客网站才会更新。

 项目地址:

 https://github.com/yunyuyuan/nuxt3-blog

  https://github.com/ymbrite/nuxt3-blog

演示博客地址: https://nuxt3-blog-phi.vercel.app/

 源帖其实都保存在这里:

https://github.com/ymbrite/nuxt3-blog/tree/master/public/rebuild/articles

参考:

https://blog.yunyuyuan.net/articles/6562

https://github.com/yunyuyuan/nuxt3-blog/wiki/

https://github.com/yunyuyuan/nuxt3-blog/wiki/1.3-%E6%96%B0%E5%BB%BAToken%E7%94%A8%E4%BA%8E%E7%AE%A1%E7%90%86%E5%8D%9A%E5%AE%A2

 

 

Saturday, 7 March 2026

情人的关怀

 

forwardemail.net/en

 https://forwardemail.net/en

伊朗动用大家伙了!一吨半弹头有多恐怖?以色列拦不住,也躲不掉

-这个视频分析得很有深度

川普失策「美伊战争」烧到9月?

 

-川普就是个神经病,想一出是一出,他想到某个点子,却从来不顾实施后,可能发生的负面后果,以为发生的事情一定会按他设想的剧本走,比如去年对中国发起的高额关税战,以为中国会屈服,没想到却踢到中国这块铁板。这次对伊朗的入侵也是这样,他又以为发生的事情一定会按他设想的剧本走,没想到美/以遭到了伊朗的高超音速导弹的痛击,而美/以的防空系统却形同虚设,完全无法拦截伊朗的高超音速导弹而被打得屁滚尿流。

Shortform-Video-Generator


This project creates shortform videos (like TikTok, Reels) from plain text using AI tools.

Demo link

✨ Features

  • 🔊 Text-to-speech using TikTok TTS
  • 🧠 AI-generated, word-level subtitles using OpenAI Whisper
  • 🎥 Automatic video composition with background video & music
  • 💬 Burned-in, styled subtitles (font size, position, bold)
  • 🧪 One command = complete video with synced captions

🛠 Tech Stack

  • Node.js + TypeScript
  • OpenAI Whisper API
  • FFmpeg via fluent-ffmpeg
  • TikTok TTS (unofficial API)

📦 Installation

git clone https://github.com/Ali-Onar/shortform-video-generator.git
cd shortform-video-generator
npm install

Create a .env file:

OPENAI_API_KEY=your_openai_key_here

Usage

Add video and music into src/assets folder.

npx tsx src/index.ts

Your final video will be saved in /output/output.mp4

Acknowledgements

Inspired by the egebese/brainrot-generator repo that Ege created with Python codes.

from  https://github.com/Ali-Onar/shortform-video-generator

 

Friday, 6 March 2026

tunestotube.com


TunesToTube turns your mp3, flac, or wav into a video for YouTube.

Drop a track, add an image, and upload audio to YouTube.

from   https://www.tunestotube.com