PSBlueSky

2.4.0

A set of PowerShell commands that use the Bluesky AT Proto API. You can post and upload images from a PowerShell prompt, as well as get your timeline, feed, followers, and more. Run Open-BskyHelp after installation to launch a PDF guide. This module is written for PowerShell 7 and uses features like $PSStyle.

Minimum PowerShell version

7.4

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name PSBlueSky -RequiredVersion 2.4.0

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name PSBlueSky -Version 2.4.0

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c)2024-2025 JDH Information Technology Solutions, Inc.

Package Details

Author(s)

  • Jeff Hicks

Tags

Bluesky skeet API atprotocol atproto

Functions

Add-BskyImage Block-BskyUser Find-BskyUser Get-BskyAccountDID Get-BskyBlockedList Get-BskyBlockedUser Get-BskyFeed Get-BskyFollowers Get-BskyFollowing Get-BskyLiked Get-BskyNotification Get-BskyProfile Get-BskySession Get-BskyModuleInfo Get-BskyTimeline New-BskyFollow New-BskyPost Open-BskyHelp Publish-BskyPost Remove-BskyFollow Start-BskySession Update-BskySession Get-BskyPreference Set-BskyPreference Export-BskyPreference Remove-BskyPreferenceFile Enable-BskyLogging Disable-BskyLogging Get-BskyLogging Remove-BskyLogging Set-BskyLogging Unblock-BskyUser

PSEditions

Core

Dependencies

This module has no dependencies.

Release Notes

## [2.4.0] - 2025-01-22

### Added

- Added property `DID` to follower objects.
- Added a script method called `CreateHeader` to the Bluesky session object (`bskySession`). This header can be used with the Bluesky API for custom testing or development.
- Added commands `Block-BskyUser` and `Unblock-BskyUser`.
- Added properties `Viewer` and `Labels` to profile objects including blocked user profiles.
- Added a feature to create a log of API usage. Added properties `bskyLoggingEnabled` and `bskyLogFile` to the PSBluesky session object. The log is a JSON file of structured data. Logging is disabled by default on module import. Commands `Disable-BskyLogging`,`Enable-BskyLogging`,`Get-BskyLogging`,`Set-BskyLogging` and `Remove-BskyLogging` have been added to manage this feature.
- Added properties `isRead`, `Labels`, and `SeenAt` to`PSBlueSkyNotification` object. [[Issue #34](https://github.com/jdhitsolutions/PSBluesky/issues/34)]
- Added an alias property of `Username` for `AuthorHandle` on output from `Get-BskyNotification`.

### Changed

- Revised the module manifest description.
- Increased the refresh interval for the session runspace to 60 minutes. This should reduce the number of API calls. __This is a potential breaking change,__
- Cleaned up code to ensure consistency with commands. References to an endpoint should all use the same variable, `$apiUrl`. Responses from the API should all use the `$response` variable.
- Updated `Get-BskyBlockedUser` and the associated format file to show the date the account was blocked.
- Help updates.
- Updated `README.md`.

FileList

Version History

Version Downloads Last updated
2.5.0 2,842 1/29/2025
2.4.0 (current version) 1,726 1/22/2025
2.3.0 2,122 1/13/2025
2.2.1 194 1/10/2025
2.2.0 7 1/10/2025
2.1.0 2,811 11/21/2024
2.0.0 138 11/18/2024
1.3.0 108 11/15/2024
1.2.0 66 11/13/2024
1.1.0 84 11/7/2024
1.0.0 8 11/2/2024
0.6.0 8 11/1/2024
Show more