Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lithos-hub/boe-analytics

Web app to get summaries and analytics from the Spanish Official State Gazette (BOE) using Artificial Intelligence
https://github.com/lithos-hub/boe-analytics

ai deepseek llm nuxt vue

Last synced: 23 days ago
JSON representation

Web app to get summaries and analytics from the Spanish Official State Gazette (BOE) using Artificial Intelligence

Awesome Lists containing this project

README

        

# BOE Analytics

⚠️ Project under development ⚠️

This project aims to create summaries of the Spanish Official State Gazette (BOE) using Artificial Intelligence. It employs scraping techniques and queries to the [DeepSeek](https://www.deepseek.com) API, a powerful open-source LLM.

In addition to the summaries, an analysis is performed on the neutral points and the positive and negative aspects of each BOE, keywords, etc.

The goal is for users to obtain relevant information from the BOE published on a specific date, in a quick, simple, and accessible way.

Due to the nature of the project, [Vue 3](https://vuejs.org/) and [Nuxt 3](https://nuxt.com/) have been chosen for the application development. The main language of the application is Spanish, although the possibility of future translation to English is not ruled out for foreign residents in Spain who wish to use the application to obtain BOE information.

## DeepSeek

The [DeepSeek](https://www.deepseek.com) API, a powerful open-source LLM, is used to analyze the BOEs. If you want to try the project, you can register at [DeepSeek](https://www.deepseek.com) and obtain an API key.

You will need to create a `.env` file in the project root with the following variable:

```
DEEPSEEK_APIKEY=your-api-key
```

## TODO

- [x] Generation of a summary and brief statistics of the BOE for the current date in the "Home" section, or root route `/`.
- [x] Generation of a detailed analysis of the BOE for a specific date in the route `/boe/:date`.
- [x] Query a BOE from the calendar.
- [ ] Split BOE text when exceeding the maximum tokens (65536)
- [ ] Global analytics of BOEs published in a year.
- [ ] Database storage of analyzed BOEs and generated summaries.

## Setup

Make sure to install dependencies:

```bash
# bun
bun install
```

## Development Server

Start the development server on `http://localhost:3000`:

```bash
# bun
bun run dev
```

## Production

Build the application for production:

```bash
# bun
bun run build
```

Locally preview production build:

```bash
# npm
npm run preview

# pnpm
pnpm preview

# yarn
yarn preview

# bun
bun run preview
```