Dagger
Search

bluesky

Send posts to Bluesky from your Dagger Pipelines

Installation

dagger install github.com/levlaz/daggerverse/bluesky@v0.2.1

Entrypoint

Return Type
Bluesky !
Example
dagger -m github.com/levlaz/daggerverse/bluesky@dda735fd9f1effde4d7857e12594b2cb1dc3fd08 call \
func (m *myModule) example() *Bluesky  {
	return dag.
			Bluesky()
}
@function
def example() -> dag.Bluesky:
	return (
		dag.bluesky()
	)
@func()
example(): Bluesky {
	return dag
		.bluesky()
}

Types

Bluesky 🔗

Dagger Module for interacting with the BlueSky API

post() 🔗

Send post to Bluesky

Return Type
String !
Arguments
NameTypeDefault ValueDescription
emailString !-Bluesky account email
passwordSecret !-Bluesky password
textString !-Bluesky post message body
hostString !"https://bsky.social"Bluesky server url
Example
dagger -m github.com/levlaz/daggerverse/bluesky@dda735fd9f1effde4d7857e12594b2cb1dc3fd08 call \
 post --email string --password env:MYSECRET --text string --host string
func (m *myModule) example(ctx context.Context, email string, password *Secret, text string, host string) string  {
	return dag.
			Bluesky().
			Post(ctx, email, password, text, host)
}
@function
async def example(email: str, password: dagger.Secret, text: str, host: str) -> str:
	return await (
		dag.bluesky()
		.post(email, password, text, host)
	)
@func()
async example(email: string, password: Secret, text: string, host: string): Promise<string> {
	return dag
		.bluesky()
		.post(email, password, text, host)
}