Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.
/ clnotify Public archive

A golang application to notify on Craigslist posts matching specific terms to a Discord webhook.

License

Notifications You must be signed in to change notification settings

ecnepsnai/clnotify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Caution

This project and package are no longer maintained and likely do not work.

Original readme

clnotify

clnotify is a golang application to notify on Craigslist posts matching specific terms to a Discord webhook.

Usage

A configuration file is required:

craigslist.area_id can be found by searching: https://reference.craigslist.org/Areas search_distance is in KM searches[].categories can be found here: https://github.com/ecnepsnai/craigslist/blob/main/categories.md

For example, the following looks for "vintage" and "retro" in the computers for sale category of Vancouver's craigslist

{
    "craigslist": {
        "area_id": 16,
        "latitude": 49.2810,
        "longitude": -123.0400,
        "search_distance": 30
    },
    "discord": {
        "webhook_url": "https://discord.com/api/webhooks/..."
    },
    "searches": [
        {
            "categories": [ "sya" ],
            "query": "retro",
            "name": "Retro Computers"
        },
        {
            "categories": [ "sya" ],
            "query": "vintage",
            "name": "Vintage Computers",
            "ignore": [
                "dell"
            ]
        }
    ]
}

About

A golang application to notify on Craigslist posts matching specific terms to a Discord webhook.

Topics

Resources

License

Stars

Watchers

Forks

Languages