bluesky
Send posts to Bluesky from your Dagger PipeleinesInstallation
dagger install github.com/levlaz/daggerverse/bluesky@v0.1.0Entrypoint
Return Type
Bluesky ! Example
dagger -m github.com/levlaz/daggerverse/bluesky@ce757073e58e31ac8cd95f6c9a5fd6bf265b74fb call \
func (m *MyModule) Example() *dagger.Bluesky {
return dag.
Bluesky()
}@function
def example() -> dagger.Bluesky:
return (
dag.bluesky()
)@func()
example(): Bluesky {
return dag
.bluesky()
}Types
Bluesky 🔗
post() 🔗
Send post to Bluesky
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| String ! | - | Bluesky account email | |
| password | Secret ! | - | Bluesky password |
| text | String ! | - | Bluesky post message body |
| host | String ! | "https://bsky.social" | Bluesky server url |
Example
dagger -m github.com/levlaz/daggerverse/bluesky@ce757073e58e31ac8cd95f6c9a5fd6bf265b74fb call \
post --email string --password env:MYSECRET --text string --host stringfunc (m *MyModule) Example(ctx context.Context, email string, password *dagger.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)
}