Skip to content

aksel-os/pal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pal - Peoply Action Listener

Pal is a simple tool designed to track events posted to Peoply, and post them to a given discord channel.

Introduction

Pal is pal.

Setup

Echo the webhook to a .env file in the root directory.

echo "DISCORD_WEBHOOK_URL=<webhook_url>" > .env

Make sure direnv uses the provided shell.nix.

echo "use nix" > .envrc && direnv allow

Alternatively, use pip yuck.

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
echo "export VIRTUAL_ENV='.venv'\nlayout python3" > .envrc && direnv allow

Usage

To start Pal as a “standalone”, run the provided main.py.

python3 main.py

To start Pal as a systemd service, do the following.

# Start the service
systemctl --user start pal.service

# Auto startup
systemctl --user enable pal.service

License

This project is licensed under the MIT License.

About

A simple Peoply.app event scraper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors