> ## Documentation Index
> Fetch the complete documentation index at: https://mintlify.com/ItzCrazyKns/Perplexica/llms.txt
> Use this file to discover all available pages before exploring further.

# Discover

> Browse trending articles and curated content across technology, finance, sports, art, and entertainment

Discover lets you explore trending content and interesting articles without searching. Browse curated feeds across different topics to stay informed about what's happening in your areas of interest.

## What is Discover?

Discover is a content feed feature that shows you relevant articles and news from trusted sources. Instead of searching for specific information, you can browse what's trending and discover content you might not have thought to search for.

**Key features:**

* Curated content from reputable sources
* Multiple topic categories
* Fresh, trending articles
* No tracking or personalization algorithms
* Direct access to source content

<Info>
  Discover content is fetched in real-time from news search results, ensuring you see fresh, current articles.
</Info>

## Available topics

Discover organizes content into five main categories:

<CardGroup cols={2}>
  <Card title="Technology" icon="microchip">
    Latest tech news, AI developments, and innovation
  </Card>

  <Card title="Finance" icon="chart-line">
    Economy, markets, investing, and financial news
  </Card>

  <Card title="Sports" icon="futbol">
    Sports news, scores, and athletic events
  </Card>

  <Card title="Art & Culture" icon="palette">
    Art exhibitions, cultural events, and creative content
  </Card>

  <Card title="Entertainment" icon="film">
    Movies, TV shows, celebrities, and entertainment news
  </Card>
</CardGroup>

## Technology

Stay updated on the latest developments in technology and innovation.

**Content sources:**

* TechCrunch
* Wired
* The Verge

**Topics covered:**

* Technology news
* Latest tech developments
* AI and machine learning
* Science and innovation
* Product launches
* Tech industry analysis

## Finance

Follow economic news, market movements, and investment insights.

**Content sources:**

* Bloomberg
* CNBC
* MarketWatch

**Topics covered:**

* Finance news
* Economy and markets
* Stock market updates
* Investing strategies
* Corporate earnings
* Economic policy

## Sports

Keep up with sports news and athletic competitions.

**Content sources:**

* ESPN
* BBC Sport
* Sky Sports

**Topics covered:**

* Sports news and updates
* Latest scores and highlights
* Cricket, football, tennis
* Major sporting events
* Player news and transfers
* Tournament coverage

## Art & Culture

Explore the world of art, culture, and creative expression.

**Content sources:**

* ARTnews
* Hyperallergic
* The Art Newspaper

**Topics covered:**

* Art news and exhibitions
* Cultural events
* Modern and contemporary art
* Museum exhibitions
* Artist profiles
* Art market news

## Entertainment

Get the latest on movies, TV, celebrities, and entertainment industry.

**Content sources:**

* The Hollywood Reporter
* Variety
* Deadline

**Topics covered:**

* Entertainment news
* Movies and film releases
* TV shows and streaming
* Celebrity news
* Industry developments
* Box office and ratings

## How Discover works

Discover uses news search to find current, relevant articles:

### Content fetching

For each topic, Discover searches across multiple trusted sources:

```typescript theme={null}
const topicConfig = {
  query: ['technology news', 'latest tech', 'AI', 'science and innovation'],
  links: ['techcrunch.com', 'wired.com', 'theverge.com']
}
```

**Search process:**

1. Combines each query term with each source domain
2. Searches using Bing News engine via SearxNG
3. Aggregates results from all combinations
4. Removes duplicate URLs
5. Randomizes order for variety

<Note>
  Discover uses the Bing News engine through SearxNG to find recent, newsworthy articles from trusted sources.
</Note>

### Normal vs. Preview mode

Discover supports two fetching modes:

**Normal mode:**

* Fetches from all sources and queries
* Comprehensive coverage of the topic
* More results for browsing
* Takes slightly longer to load

**Preview mode:**

* Selects one random source and query
* Faster loading
* Smaller sample of content
* Good for quick previews

```typescript theme={null}
GET /api/discover?topic=tech&mode=normal
GET /api/discover?topic=finance&mode=preview
```

## Privacy and content curation

Discover is designed with privacy in mind:

* No tracking of what you read
* No personalization based on browsing history
* No user profiling or data collection
* Content sources are predefined, not algorithm-driven
* Fresh results on each visit

<Info>
  Unlike personalized news feeds, Discover shows the same trending content to everyone. This avoids filter bubbles and exposes you to diverse perspectives.
</Info>

## Using Discover

To use the Discover feature:

1. Navigate to the Discover section in Perplexica
2. Select a topic that interests you
3. Browse the articles displayed
4. Click any article to read the full content at the source
5. Switch topics to explore different areas

**Benefits:**

* Stay informed without active searching
* Discover content you might have missed
* Explore trending topics in your fields of interest
* Get exposure to trusted news sources
* Break out of search-driven information gathering

## Content freshness

Discover content is fetched in real-time:

* No caching of article lists
* Each visit fetches current results
* Trending and recent content prioritized
* Sources update continuously

<Tip>
  Refresh the Discover feed to see new articles. Since content is fetched in real-time and randomized, each load may show different articles.
</Tip>

## Response format

The Discover API returns a list of articles:

```typescript theme={null}
{
  blogs: [
    {
      url: string;
      title: string;
      content: string;
      publishedDate?: string;
      // Additional metadata from search results
    }
  ]
}
```

## Source selection

Sources are carefully chosen for each topic:

* **Reputation**: Established, credible publications
* **Coverage**: Comprehensive reporting in their domain
* **Freshness**: Regular publication of new content
* **Reliability**: Consistent quality and fact-checking

## Combining with search

Discover complements Perplexica's search features:

* **Search**: Active, specific information needs
* **Discover**: Passive, exploratory content browsing
* **Together**: Stay informed both broadly and deeply

Use Discover to:

* Find topics worth searching deeper
* Stay current in your areas of interest
* Explore new subjects casually
* Identify trends before searching specifics

## Technical implementation

Discover is implemented as a simple API endpoint:

```typescript theme={null}
GET /api/discover?topic={topic}&mode={mode}
```

**Parameters:**

* `topic`: One of tech, finance, art, sports, entertainment
* `mode`: Either 'normal' or 'preview'

**Process:**

1. Select topic configuration
2. Build search queries for each source
3. Execute searches via SearxNG
4. Aggregate and deduplicate results
5. Randomize order
6. Return article list

## Upcoming features

Planned improvements to Discover:

* Additional topic categories
* More source options
* Time-based filtering (today, this week, etc.)
* Ability to customize sources
* Save articles for later reading
* Share interesting finds
