Skip to content

Commit 9aed305

Browse files
authored
Merge pull request #34 from ChenziqiAdam/main
Add daily-news-briefing to showcases
2 parents ba76e2c + c7dad70 commit 9aed305

File tree

1 file changed

+98
-0
lines changed

1 file changed

+98
-0
lines changed

docs/showcase/daily-news-briefing.mdx

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
---
2+
title: Daily News Briefing | AI-Powered News Summaries for Obsidian
3+
description: An Obsidian plugin that delivers AI-powered daily news summaries directly to your vault using Perplexity's Sonar API for intelligent content curation
4+
sidebar_position: 22
5+
keywords: [daily-news-briefing, obsidian-plugin, AI, perplexity, news, summarization, automation]
6+
---
7+
8+
**Daily News Briefing** is an Obsidian plugin that delivers AI-powered news summaries directly to your vault. Stay informed about your topics of interest with smart, automated news collection and summarization using Perplexity's Sonar API for intelligent content curation.
9+
10+
<iframe
11+
className="w-full aspect-video rounded-xl"
12+
src="https://www.youtube.com/embed/nbbisoqsZDc"
13+
title="Daily News Briefing Demo"
14+
frameBorder="0"
15+
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
16+
allowFullScreen
17+
></iframe>
18+
19+
## Features
20+
21+
* **Personalized News Collection** based on your topics of interest and preferences
22+
* **AI-Powered Summarization** of news articles using Perplexity Sonar API
23+
* **Automated Daily Briefings** delivered directly to your Obsidian vault
24+
* **Customizable Delivery Schedule** and format options
25+
* **Seamless Obsidian Integration** with your existing knowledge management workflow
26+
* **Trusted Source Filtering** to ensure quality and reliability
27+
* **Markdown Formatting** for easy linking and organization within your vault
28+
29+
## Prerequisites
30+
31+
* Obsidian desktop app installed
32+
* Perplexity API key (Sonar API access)
33+
* Internet connection for fetching news articles
34+
* TypeScript development environment (for customization)
35+
36+
## Installation
37+
38+
```bash
39+
# Clone the repository
40+
git clone https://github.com/ChenziqiAdam/Daily-News-Briefing.git
41+
cd Daily-News-Briefing
42+
43+
# Install dependencies
44+
npm install
45+
46+
# Build the plugin
47+
npm run build
48+
```
49+
50+
## Configuration
51+
52+
1. **Install Plugin**: Copy the built plugin to your Obsidian plugins folder
53+
2. **Enable Plugin**: Activate in Obsidian settings
54+
3. **API Setup**: Enter your Perplexity API key in plugin settings
55+
4. **Configure Topics**: Set up your news topics and delivery preferences
56+
57+
## Usage
58+
59+
1. **Configure Interests**: Set up preferred topics, sources, and delivery schedule
60+
2. **Automated Collection**: Plugin uses Perplexity Sonar API to gather latest news
61+
3. **AI Summarization**: Articles are processed and summarized using Perplexity's capabilities
62+
4. **Vault Delivery**: Summaries are formatted as Markdown notes in your Obsidian vault
63+
5. **Knowledge Integration**: Link news briefings with other notes in your knowledge base
64+
65+
## Code Explanation
66+
67+
* **Frontend**: TypeScript-based Obsidian plugin with custom UI components
68+
* **AI Integration**: Perplexity Sonar API for intelligent news gathering and summarization
69+
* **Content Processing**: Automated article extraction and summarization workflows
70+
* **Scheduling**: Configurable delivery schedules and topic monitoring
71+
* **Markdown Generation**: Structured content formatting for Obsidian compatibility
72+
* **Error Handling**: Robust error management for API limits and network issues
73+
74+
## Technical Implementation
75+
76+
The plugin leverages Perplexity Sonar API for:
77+
78+
```typescript
79+
// News gathering with Perplexity Sonar API
80+
const newsQuery = `latest news about ${topic} in the past 24 hours`;
81+
const searchResponse = await perplexityClient.search({
82+
query: newsQuery,
83+
max_results: 5,
84+
include_domains: userPreferences.trustedSources || []
85+
});
86+
87+
// AI-powered summarization
88+
const summaryPrompt = `Summarize these news articles about ${topic}`;
89+
const summaryResponse = await perplexityClient.generate({
90+
prompt: summaryPrompt,
91+
model: "sonar-medium-online",
92+
max_tokens: 500
93+
});
94+
```
95+
96+
## Links
97+
98+
- [GitHub Repository](https://github.com/ChenziqiAdam/Daily-News-Briefing)

0 commit comments

Comments
 (0)