Dagger
Search

bluesky

Send posts to Bluesky from your Dagger pipelines
Example (Post)
no available example in current language
// Example for Post function
func (m *Example) Bluesky_Post (ctx context.Context) (string, error) {
	// ideally this is passed in as a secret
	password := dag.SetSecret("test", "test")
	return dag.Bluesky().Post(ctx, "test@test.com", password, "Hello, world!")
}
no available example in current language
no available example in current language

Installation

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

Entrypoint

Return Type
Bluesky
Example
dagger -m github.com/levlaz/daggerverse/bluesky@7ea4ab7ea966555c5624bd7d4bb0415dad0d7e91 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 🔗

post() 🔗

Send post to Bluesky

Return Type
String !
Arguments
NameTypeDefault ValueDescription
emailString !-No description provided
passwordSecret !-No description provided
textString !-No description provided
hostString !"https://bsky.social"No description provided
Example
no available example in current language
no available example in current language
def bluesky_post(self) -> str:
	"""Example for post function"""
	# ideally this is passed in as a secret
	password = dag.set_secret("test", "test")
	return dag.bluesky().post("test@test.com", password, "Hello, world!")
	/**
	 * example for post function
	 */
	@func()
	blueskyPost() {
		// ideally this is passed in as a secret
		const password = dag.setSecret("test", "test");
		
		return dag.bluesky().post("test@test.com", password, "Hello, world!");
	}