Skip to content

fourjuaneight/at-cleanup

Repository files navigation

AT Cleanup

Script to remove content from Bluesky (AT Network).

Directly taken from Jaz's bsky-experiments.

Install

There are 3 ways to run the script:

Gorun

make run
# script should run from root of repo
./atCleanup.go

Local Binary

make build
# binary should be accessible from root of repo
./atCleanup

GOPATH Binary

make install
# binary should be accessible from anywhere
atCleanup

Usage

atCleanup --did=<DID> --password=<APP_PASS> --types=post,repost,like --days=30 --rate-limit=4 --burst-limit=1

Flags

  • --did: This is the Decentralized Identifier of the user. (Documentation)
  • --password: The application password associated with the user's account. (Create an app password here)
  • --types: A comma-separated list of record types you want to clean up.
    • post
    • repost
    • like
  • --days: The number of days beyond which records should be considered for deletion.
  • --rate-limit: The rate at which requests to delete records are sent. The default value here is 4, which corresponds to 4 requests per second.
  • --burst-limit: The maximum burst of requests sent at once.

About

🦋 Scripts to auto-delete Bluesky content

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •