https://github.com/nigelhorne/bluesky-poster
Simple interface for posting to Bluesky (AT Protocol)
https://github.com/nigelhorne/bluesky-poster
bluesky bluesky-client cpan perl perl5
Last synced: 12 months ago
JSON representation
Simple interface for posting to Bluesky (AT Protocol)
- Host: GitHub
- URL: https://github.com/nigelhorne/bluesky-poster
- Owner: nigelhorne
- License: gpl-2.0
- Created: 2025-06-05T20:32:08.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-06-05T23:20:19.000Z (about 1 year ago)
- Last Synced: 2025-06-25T14:57:50.978Z (12 months ago)
- Topics: bluesky, bluesky-client, cpan, perl, perl5
- Language: Perl
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
- License: LICENSE
Awesome Lists containing this project
README
# NAME
Bluesky::Poster - Simple interface for posting to Bluesky (AT Protocol)
# SYNOPSIS
use Bluesky::Poster;
my $poster = Bluesky::Poster->new(
handle => 'your-handle.bsky.social',
app_password => 'abcd-efgh-ijkl-mnop',
);
my $result = $poster->post("Hello from Perl!");
print "Post URI: $result->{uri}\n";
# DESCRIPTION
I've all but given up with X/Twitter.
It's API is overly complex and no longer freely available,
so I'm trying Bluesky.
This module authenticates with Bluesky using app passwords and posts text
messages using the AT Protocol API.
# METHODS
## new(handle => ..., app\_password => ...)
Constructs a new poster object and logs in.
## post($text)
Posts the given text to your Bluesky feed.
# AUTHOR
Nigel Horne, with help from ChatGPT
# LICENSE
This is free software; you can redistribute it and/or modify it under
the same terms as Perl itself.