linkedin-discord-bot
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
Metadata
Release files for linkedin-discord-bot 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| linkedin_discord_bot-0.1.4.tar.gz | 86.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| linkedin_discord_bot-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 107.1 kB
Release files / linkedin_discord_bot-0.1.4.tar.gz
| Download URL | linkedin_discord_bot-0.1.4.tar.gz |
|---|---|
| Size | 86.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a7b50680c43f3bfe0ebf29701d08e4ec2322846adf91618657b96a99e38a6c80
|
|
BLAKE2b-256 checksum How to use checksums |
ee6394c52e197b69cfbc7f6ffb6d709f9fd5e67350a1b440d8785208d4a3199f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 24, 2025.
Transparency logRelease files / linkedin_discord_bot-0.1.4-py3-none-any.whl
| Download URL | linkedin_discord_bot-0.1.4-py3-none-any.whl |
|---|---|
| Size | 20.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aebc82e16b7a7c2cfa3d339dc6c62dbda1c5381f14e8e9e10eaba5519c4f52ff
|
|
BLAKE2b-256 checksum How to use checksums |
82838722579d22fc5913b830c393484e193a794db2eefdfb3d2090b7c2f60feb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 24, 2025.
Transparency log