Skip to content

fa0311/return-line-notify

Repository files navigation

return-line-notify

Overview

Since the Line Notify service has been discontinued, this Python script uses Line Works as an alternative method for sending notifications.

Usage

python --version # Python 3.13.3
pip install -r requirements.txt
uvicorn return-line-notify.main:app --host 0.0.0.0 --port 3333

or

python -m return-line-notify.main

Docker

docker run -d -p 3333:3333 -e WORKS_ID="admin@example" -e PASSWORD="password" ghcr.io/fa0311/return-line-notify/return-line-notify-docker:latest

Send Request

1744545368191!

import requests
API_URI = "http://127.0.0.1:8000/api/notify"
headers = {"Authorization": "Bearer 336355274:10"}
data = {"message": "test"}
requests.post(API_URI, headers=headers, data=data)

Credits

This project is inspired by and references the following open-source project:

About

Line Notify on LINE WORKS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages