PSBlueSky

2.1.0

A set of PowerShell commands that use the Bluesky API. You can skeet and upload images from a PowerShell prompt. 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

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

Install-PSResource -Name PSBlueSky

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 JDH Information Technology Solutions, Inc.

Package Details

Author(s)

  • Jeff Hicks

Tags

Bluesky skeet API adprotocol

Functions

Add-BskyImage Find-BskyUser Get-BskyAccountDID Get-BskyFeed Get-BskyFollowers Get-BskyFollowing Get-BskyNotification Get-BskyProfile Get-BskySession Get-BskyModuleInfo Get-BskyTimeline New-BskyPost Open-BskyHelp Start-BskySession Update-BskySession

PSEditions

Core

Dependencies

This module has no dependencies.

Release Notes

## [2.1.0] - 2024-11-21

### Added

- Added alias `bss` for `Get-BskySession`.
- Added function `Get-BskyAccountDID`.
- Added parameter validation on image uploads to verify the image file size is less than 1MB.
- Merged [PR #23](https://github.com/jdhitsolutions/PSBluesky/pull/23) from [@jhoneill](https://github.com/jhoneill) to add label support for `New-BskyPost` and `-Username` to `Get-BskyFeed`.
- Added command `Get-BskyAccountDID`. This command does not require authentication.

### Changed

- Made `PostCache` a global-scoped variable and renamed it to `BskyPostCache``. Thanks to [@ShaunLawrie](https://github.com/ShaunLawrie) for the suggestion
- Revised parameter validations on `ImagePath` to provide more granular error messages.
- Updated `README` with documentation about setting up a credential using an app password.
- Revised `OnRemove` handler to remove type customizations. This should eliminate errors on module re-import in the same session.

### Removed

- Removed `gif` as a valid image type to upload.

### Fixed

- Modified `New-BskyPost` to re-order items that require facets so that the message is properly formatted. [[Issue #22](https://github.com/jdhitsolutions/PSBluesky/issues/22)]

FileList

Version History

Version Downloads Last updated
2.1.0 (current version) 532 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 83 11/7/2024
1.0.0 8 11/2/2024
0.6.0 8 11/1/2024
Show more