Skip to content

pBsky is a linux command line BlueSky client. Written using Python, it taps into methods exposed by the atprototools project.

License

Notifications You must be signed in to change notification settings

davidcarryer/pBsky

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pBsky

Python based BlueSky Client for the Linux Command Line. This is not intended to be an exhustive client. Instead it serve's as an example use of the atprototools codebase.

Uses atprototools for bSky Interopability.

Setup

Create a config file in the same directory as pBsky.py called pBsky.ini. Edit the file with your bsky username and password:

[AUTHENTICATION]
USERNAME = your_username
PASSWORD = your_password

Usage

Run the python script with python3 pBsky.py --help, or execute with ./pBsky.py --help to see available options.

POST: ./pBsky.py -p "{post_text}"
REPLY: ./pBsky.py -r "This is my reply" {rkey}
DELETE: ./pBsky.py -d {did} {rkey}
FOLLOW: ./pBsky.py -f {username - without the @}
GET (Your Following): ./pBsky.py -g {return count}
GET (Specific Account): ./pBsky.py -g {username - without the @} {return count}
GET PROFILE (Specific Account): ./pBsky.py -gp {username - without the @}

TODO

Todo List:

  • Error checking.
  • Like.

Extras

  • Tested on Ubuntu 22.04.2 LTS VM on a MacBook Pro with Python3
  • Best efforts made to align with PEP 8 – Style Guide for Python Code

Original Author: David Carryer
Email: [email protected]
Bluesky: @davidcarryer.com
License: MIT

About

pBsky is a linux command line BlueSky client. Written using Python, it taps into methods exposed by the atprototools project.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages