Skip to content

PumpBot11/glork

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Glork

Glork is an X (AT Protocol) bot written in Rust. Monitors specific posts and replies automatically.

Features

  • Subscribes to the AT Protocol event stream (Jetstream).
  • Filters for posts in app.bsky.feed.post.
  • Detects exact match: @Glork.bluesky.bot is this true.
  • Replies with custom message.
  • Saves cursor to avoid duplicate processing on restart.
  • Includes basic setup for tracing and Prometheus metrics.

Requirements

  • Rust toolchain installed.
  • Bluesky account.

Setup

  1. Clone the repository (if needed)

    git clone <your-repo-url>
    cd Glork
  2. Set environment variables

    Create a .env file in the project root:

    ATP_USER="your-bluesky-username"
    ATP_PASSWORD="your-bluesky-app-password"

    Replace values accordingly. Use an app password, not your main account password.

Run

cargo run

Starts the bot, logs in, and listens for mentions.

About

glork

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Rust 93.8%
  • Shell 4.2%
  • Dockerfile 2.0%