Skip to main content

A Discord bot that posts LinkedIn job postings

Project description

linkedin-discord-bot

ci

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

Installation

The package is on PyPi and can be installed with pip:

pip install linkedin-discord-bot

Usage

Running the bot requires either a sqlite3 or postgres database to store state of jobs and queries.

You will need the following environment variables set:

LINKEDIN_DISCORD_BOT_DISCORD_TOKEN
LINKEDIN_DISCORD_BOT_DISCORD_NOTIF_CHANNEL_ID
LINKEDIN_DISCORD_BOT_DB_CONNECTION_STRING

For a local dev flow, you can put these values in a dotenv file.

Then run the following command to start the bot. Note that the current implementation is running in the foreground.

lidb bot start

Alternative - Docker Compose

A docker compose file is provided in the repo. To use it, run:

docker compose build
docker compose create
docker compose start

The docker compose file will download a postgres container image and initiate a blank database using a local volume. It will also create an image based on the provided Dockerfile. The docker compose file references the image name. If you have built the container image using the Taskfile tasks, Docker compose will attempt to use that image before building a new one.

Dev Setup

Requirements:

Clone the repo:

git clone git@github.com:IAmSkweetis/linkedin-discord-bot.git

Use uv to sync:

uv sync

Run the following scripts for local-dev setup:

# Install chromedriver
task setup:chromedriver

# Initialize the local db
task db:init

# Run any db migrations
task db:migrate

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

linkedin_discord_bot-0.1.3.tar.gz (86.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

linkedin_discord_bot-0.1.3-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

Details for the file linkedin_discord_bot-0.1.3.tar.gz.

File metadata

  • Download URL: linkedin_discord_bot-0.1.3.tar.gz
  • Upload date:
  • Size: 86.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for linkedin_discord_bot-0.1.3.tar.gz
Algorithm Hash digest
SHA256 461000bea36bd665ba4f09cab04bdb58e695e3c20966daf62508a313c2042655
MD5 7bd9ace4881c12ed64e2c9cb78fbe9d7
BLAKE2b-256 5d09f02b303824d53e41bc2912c53d0bb040813f7c8497ed8b904b464949933b

See more details on using hashes here.

Provenance

The following attestation bundles were made for linkedin_discord_bot-0.1.3.tar.gz:

Publisher: release.yml on IAmSkweetis/linkedin-discord-bot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file linkedin_discord_bot-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for linkedin_discord_bot-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 90916a183364cea9b35a94fee76e4c9f6ca28918fa06c8c56c61566f76959602
MD5 b6c9d3de1d8fa7fde4009e9b8d133328
BLAKE2b-256 52ca9026cc15eb70959ac7c2eb3d5e1d82e7656dcd4758316e8ee362189fc3c3

See more details on using hashes here.

Provenance

The following attestation bundles were made for linkedin_discord_bot-0.1.3-py3-none-any.whl:

Publisher: release.yml on IAmSkweetis/linkedin-discord-bot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page