twcnv

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2025 License: BSD-3-Clause Imports: 39 Imported by: 0

Documentation

Overview

Package twcnv provides tools to convert a Twitter/X tweet into a Bluesky skeet.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsBskyCompatible

func IsBskyCompatible(th twarc.Thread) bool

Types

type Converter

type Converter struct {
	// contains filtered or unexported fields
}

func New

func New(cli *xrpc.Client, db *twdb.DB) *Converter

func (*Converter) AssociateAccounts

func (cnv *Converter) AssociateAccounts(ctx context.Context, users []twdb.User) error

func (*Converter) FindProfiles

func (cnv *Converter) FindProfiles(ctx context.Context, usr twdb.User) ([]*bsky.ActorDefs_ProfileView, error)

func (*Converter) Tweet

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL