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.4.tar.gz (86.8 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.4-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: linkedin_discord_bot-0.1.4.tar.gz
  • Upload date:
  • Size: 86.8 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.4.tar.gz
Algorithm Hash digest
SHA256 a7b50680c43f3bfe0ebf29701d08e4ec2322846adf91618657b96a99e38a6c80
MD5 8e126f0dad1063428106ae292300ac2b
BLAKE2b-256 ee6394c52e197b69cfbc7f6ffb6d709f9fd5e67350a1b440d8785208d4a3199f

See more details on using hashes here.

Provenance

The following attestation bundles were made for linkedin_discord_bot-0.1.4.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.4-py3-none-any.whl.

File metadata

File hashes

Hashes for linkedin_discord_bot-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 aebc82e16b7a7c2cfa3d339dc6c62dbda1c5381f14e8e9e10eaba5519c4f52ff
MD5 567ff1bdad7fdc2991be2f85ed742890
BLAKE2b-256 82838722579d22fc5913b830c393484e193a794db2eefdfb3d2090b7c2f60feb

See more details on using hashes here.

Provenance

The following attestation bundles were made for linkedin_discord_bot-0.1.4-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