GithubHelp home page GithubHelp logo

davidcarryer / pbsky Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 1.0 37 KB

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

Home Page: http://www.davidcarryer.com

License: MIT License

Python 100.00%
atprotocol bluesky python

pbsky's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.