Something went wrong. Try again.
CLI tools and operational extensions for the void architecture on ATProtocol.
Something went wrong. Try again.
1234567891011121314151617181920212223242526import osfrom atproto import Clientfrom dotenv import load_dotenv
load_dotenv('/home/cameron/void/.env', override=True)pds_uri = os.environ.get('PDS_URI', 'https://bsky.social')client = Client(pds_uri)client.login(os.environ.get('BSKY_USERNAME'), os.environ.get('BSKY_PASSWORD'))
handle = 'segfaultvicta.aludel.xyz'try: profile = client.get_profile(handle) print(f"--- PROFILE ---") print(f"Display Name: {profile.display_name}") print(f"Handle: {profile.handle}") print(f"Description: {profile.description}") print(f"Followers: {profile.followers_count}, Following: {profile.follows_count}") print(f"\n--- RECENT POSTS ---") feed = client.get_author_feed(handle, limit=10) for item in feed.feed: text = getattr(item.post.record, 'text', '') print(f"- {text}")except Exception as e: print(f"Error: {e}")