Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion edict/frontend/src/components/MorningPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ const CAT_META: Record<string, { icon: string; color: string; desc: string }> =
'军事': { icon: '⚔️', color: '#ff5270', desc: '军事与冲突' },
'经济': { icon: '💹', color: '#2ecc8a', desc: '经济与市场' },
'AI大模型': { icon: '🤖', color: '#a07aff', desc: 'AI与大模型进展' },
'技术博客': { icon: '📝', color: '#f5a623', desc: 'HN 精选技术博客(ai-daily-digest)' },
};

const DEFAULT_CATS = ['政治', '军事', '经济', 'AI大模型'];
const DEFAULT_CATS = ['政治', '军事', '经济', 'AI大模型', '技术博客'];

export default function MorningPanel() {
const morningBrief = useStore((s) => s.morningBrief);
Expand Down
2 changes: 1 addition & 1 deletion edict/frontend/tsconfig.tsbuildinfo
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"root":["./src/app.tsx","./src/api.ts","./src/main.tsx","./src/store.ts","./src/vite-env.d.ts","./src/components/confirmdialog.tsx","./src/components/courtceremony.tsx","./src/components/edictboard.tsx","./src/components/memorialpanel.tsx","./src/components/modelconfig.tsx","./src/components/monitorpanel.tsx","./src/components/morningpanel.tsx","./src/components/officialpanel.tsx","./src/components/sessionspanel.tsx","./src/components/skillsconfig.tsx","./src/components/taskmodal.tsx","./src/components/templatepanel.tsx","./src/components/toaster.tsx"],"version":"5.9.3"}
{"root":["./src/App.tsx","./src/api.ts","./src/main.tsx","./src/store.ts","./src/vite-env.d.ts","./src/components/ConfirmDialog.tsx","./src/components/CourtCeremony.tsx","./src/components/EdictBoard.tsx","./src/components/MemorialPanel.tsx","./src/components/ModelConfig.tsx","./src/components/MonitorPanel.tsx","./src/components/MorningPanel.tsx","./src/components/OfficialPanel.tsx","./src/components/SessionsPanel.tsx","./src/components/SkillsConfig.tsx","./src/components/TaskModal.tsx","./src/components/TemplatePanel.tsx","./src/components/Toaster.tsx"],"errors":true,"version":"5.9.3"}
12 changes: 12 additions & 0 deletions scripts/fetch_morning_news.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,18 @@
('VentureBeat AI', 'https://venturebeat.com/category/ai/feed/'),
('MIT Tech Review', 'https://www.technologyreview.com/feed/'),
],
# 技术博客精选:来源于 ai-daily-digest(https://github.com/vigorX777/ai-daily-digest)
# 收录 Karpathy 推荐的 HN 最受欢迎技术博客 RSS 源
'技术博客': [
('Simon Willison', 'https://simonwillison.net/atom/everything/'),
('Paul Graham', 'https://www.aaronsw.com/2002/feeds/pgessays.rss'),
('antirez (Redis)', 'https://antirez.com/rss'),
('overreacted.io', 'https://overreacted.io/rss.xml'),
('Eli Bendersky', 'https://eli.thegreenplace.net/feeds/all.atom.xml'),
('Krebs on Security', 'https://krebsonsecurity.com/feed/'),
('Daring Fireball', 'https://daringfireball.net/feeds/main'),
('Fabien Sanglard', 'https://fabiensanglard.net/rss.xml'),
],
}

CATEGORY_KEYWORDS = {
Expand Down