Metadata-Version: 2.4
Name: linkedin-discord-bot
Version: 0.1.2
Summary: A Discord bot that posts LinkedIn job postings
License-File: LICENSE.md
Requires-Python: >=3.12
Requires-Dist: linkedin-jobs-scraper>=5.0.2
Requires-Dist: prettytable>=3.16.0
Requires-Dist: py-cord>=2.6.1
Requires-Dist: pydantic-settings>=2.8.1
Requires-Dist: pydantic>=2.11.3
Requires-Dist: sqlalchemy>=2.0.40
Requires-Dist: sqlmodel>=0.0.24
Requires-Dist: typer>=0.15.2
Requires-Dist: typing-extensions>=4.13.2
Description-Content-Type: text/markdown

# linkedin-discord-bot

[![ci](https://github.com/IAmSkweetis/linkedin-discord-bot/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/IAmSkweetis/linkedin-discord-bot/actions/workflows/ci.yml)

A simple little discord bot that will search LinkedIn job postings daily at post them to discord.

Features:
- [x] Persistent DB - Stores Job Queries and Past Jobs
- [x] CLI
- [ ] Discord Integration

## Installation

The current implementation of the bot runs locally. PyPi and/or containerization to be provided soon.

For now, follow the setup instructions.

## Usage

In the current iteration, the bot is CLI only and can be run via uv (or within the virtual env generated by uv).

```bash
uv run lidb
```


## Dev Setup

Requirements:
- [uv](https://docs.astral.sh/uv/)
- [Taskfile](https://taskfile.dev/)
- sqlite3

Clone the repo:
```bash
git clone git@github.com:IAmSkweetis/linkedin-discord-bot.git
```

Use uv to sync:
```bash
uv sync
```

Run the following scripts for local-dev setup:
```bash
# Install chromedriver
task setup:chromedriver

# Initialize the local db
task db:init

# Run any db migrations
task db:migrate
```
