Files
subcast/server/deploy/subcast-api.service
向阳乔木 7c3020c356 i18n, offline downloads, updater, shared subtitles, YouTube promotion, chat actions
- Four interface languages (zh-CN, zh-TW, en, ja) with a strict dictionary check
- Offline downloads with a Storage page in Settings (sizes, open folder, clean up) and a menu on the downloaded tick
- Auto-update: background download by default, restart banner, update dot on the settings button
- Shared subtitles client (lookup before transcribing, upload after) and its API server under server/
- 词元之外: YouTube video version, red subscribe buttons, Discover banner, first-launch pick, About card; episode link opens YouTube at the current time
- Q&A: copy with or without timestamps or as Markdown with YouTube links, retry, edit, delete, new chat with history, follow-only-at-bottom
- Full show notes for rss.qiaomu.ai channels (YouTube description or 小宇宙 shownotes) with clickable chapters and links
- Rewritten guide prompt: specific points, whole-episode coverage, speakers, parts worth hearing first, timestamp self-check
- Middle column keeps a minimum width; player controls adapt and dock to the bottom when scrolled away
- Model settings ordered key, use, test, advanced; OpenCode session header

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 09:24:40 -08:00

32 lines
704 B
Desktop File

[Unit]
Description=SubCast shared transcripts API (subcast.qiaomu.ai/api)
After=network.target
[Service]
Type=simple
User=subcast
Group=subcast
WorkingDirectory=/opt/qiaomu-apps/subcast-api
EnvironmentFile=/opt/qiaomu-apps/subcast-api/.env
ExecStart=/usr/bin/node --disable-warning=ExperimentalWarning src/server.js
Restart=always
RestartSec=3
TimeoutStopSec=15
# Hardening
NoNewPrivileges=yes
ProtectSystem=strict
ReadWritePaths=/opt/qiaomu-apps/subcast-api/data
ProtectHome=yes
PrivateTmp=yes
ProtectKernelTunables=yes
ProtectKernelModules=yes
ProtectControlGroups=yes
RestrictSUIDSGID=yes
LockPersonality=yes
RestrictRealtime=yes
SystemCallArchitectures=native
[Install]
WantedBy=multi-user.target