Package act provides an implementation of the ActivityPub and ActivityStreams protocols, as they are used on the Fediverse, for the Go programming language.
Find a file
2026-03-08 22:58:07 -07:00
ns/sec1 deleted old code 2026-03-07 22:37:00 -08:00
accept.go object (field) 2026-03-08 22:58:07 -07:00
activity.go object (field) 2026-03-08 22:58:07 -07:00
activitytypes.go refactor type constants 2025-09-08 20:25:40 -07:00
actortypes.go correction 2025-09-08 20:29:15 -07:00
add.go object (field) 2026-03-08 22:58:07 -07:00
announce.go object (field) 2026-03-08 22:58:07 -07:00
announce_example_test.go example 2026-03-05 14:35:46 -08:00
anyactivity.go object (field) 2026-03-08 22:58:07 -07:00
anyactivity_unmarshaljson.go object (field) 2026-03-08 22:58:07 -07:00
anyactivity_unmarshaljson_test.go summary 2026-03-08 22:05:33 -07:00
anyactor.go summary 2026-03-08 22:05:33 -07:00
anyactor_unmarshaljson.go attachment 2026-03-08 20:51:08 -07:00
anycollection.go summary 2026-03-08 22:05:33 -07:00
anycollection_unmarshaljson.go attachment 2026-03-08 20:51:08 -07:00
anycollectionpage.go summary 2026-03-08 22:05:33 -07:00
anycollectionpage_unmarshaljson.go attachment 2026-03-08 20:51:08 -07:00
anyentity.go comments 2026-03-08 14:41:58 -07:00
anyimage.go summary 2026-03-08 22:05:33 -07:00
anyimage_unmarshaljson.go attachment 2026-03-08 20:51:08 -07:00
anylink.go comments 2026-03-08 14:41:58 -07:00
anylink_unmarshaljson.go changed unnecessary raw-messages to concrete types 2026-03-08 15:14:28 -07:00
anylink_unmarshaljson_test.go AnyLink JSON unmarshal 2026-03-08 11:36:36 -07:00
anynode.go comments 2026-03-08 14:41:58 -07:00
anynode_marshaljsonld_test.go tests 2026-03-05 18:20:22 -08:00
anynode_unmarshaljson_test.go tests 2026-03-05 18:23:33 -08:00
anyobject.go summary 2026-03-08 22:05:33 -07:00
anyobject_unmarshaljson.go attachment 2026-03-08 20:51:08 -07:00
anyrelationship.go summary 2026-03-08 22:05:33 -07:00
anyrelationship_unmarshaljson.go attachment 2026-03-08 20:51:08 -07:00
application.go summary 2026-03-08 22:05:33 -07:00
article.go summary 2026-03-08 22:05:33 -07:00
audio.go summary 2026-03-08 22:05:33 -07:00
block.go object (field) 2026-03-08 22:58:07 -07:00
collection.go summary 2026-03-08 22:05:33 -07:00
collectionpage.go summary 2026-03-08 22:05:33 -07:00
collectiontypes.go docs 2026-03-08 01:57:43 -08:00
contenttype.go asns.ContentType 2025-09-08 19:39:33 -07:00
create.go object (field) 2026-03-08 22:58:07 -07:00
delete.go object (field) 2026-03-08 22:58:07 -07:00
dislike.go object (field) 2026-03-08 22:58:07 -07:00
doc.go docs 2026-03-08 19:15:48 -07:00
document.go summary 2026-03-08 22:05:33 -07:00
endpoints.go endpoints.uploadMedia 2026-03-07 21:22:33 -08:00
errors.go slightly renamed errors (to export them) 2026-03-08 11:41:18 -07:00
event.go summary 2026-03-08 22:05:33 -07:00
flag.go object (field) 2026-03-08 22:58:07 -07:00
follow.go object (field) 2026-03-08 22:58:07 -07:00
go.mod go.* 2026-03-08 21:59:36 -07:00
go.sum go.* 2026-03-08 21:59:36 -07:00
group.go summary 2026-03-08 22:05:33 -07:00
hashtag.go entity 2026-03-08 14:31:35 -07:00
hashtag_marshaljsonld_test.go entity 2026-03-08 14:31:35 -07:00
hashtag_unmarshaljson_test.go tests 2026-03-06 08:00:50 -08:00
href.go entity 2026-03-08 13:15:06 -07:00
httperror.go renamed from github.com/reiver/go-act to github.com/reiver/go-asns 2025-02-09 03:13:05 -08:00
ignore.go object (field) 2026-03-08 22:58:07 -07:00
image.go summary 2026-03-08 22:05:33 -07:00
invite.go object (field) 2026-03-08 22:58:07 -07:00
is.go JSONType() 2026-03-08 22:26:03 -07:00
is_test.go is 2026-03-08 15:42:52 -07:00
join.go object (field) 2026-03-08 22:58:07 -07:00
jsontype.go JSONType() 2026-03-08 22:26:03 -07:00
leave.go object (field) 2026-03-08 22:58:07 -07:00
LICENSE initial commits 2024-12-03 17:50:43 -08:00
like.go object (field) 2026-03-08 22:58:07 -07:00
link.go entity 2026-03-08 14:31:35 -07:00
linktypes.go hashtag 2026-02-25 17:29:03 -08:00
listen.go object (field) 2026-03-08 22:58:07 -07:00
location.go nameMap 2026-03-07 22:27:48 -08:00
location_marshal_test.go codeberg 2025-09-08 05:35:54 -07:00
map.go slightly renamed errors (to export them) 2026-03-08 11:41:18 -07:00
map_test.go map 2026-03-07 22:16:23 -08:00
marshal.go asns.Marshal() 2025-09-09 04:12:04 -07:00
marshal_test.go replies 2026-03-08 20:38:04 -07:00
mention.go entity 2026-03-08 14:28:58 -07:00
move.go object (field) 2026-03-08 22:58:07 -07:00
note.go summary 2026-03-08 22:05:33 -07:00
object.go summary 2026-03-08 22:05:33 -07:00
objectid.go entity 2026-03-08 13:15:06 -07:00
objecttypes.go collection types 2026-03-08 01:52:29 -08:00
offer.go object (field) 2026-03-08 22:58:07 -07:00
orderedcollection.go summary 2026-03-08 22:05:33 -07:00
orderedcollectionpage.go summary 2026-03-08 22:05:33 -07:00
orderedcollectionpage_test.go summary 2026-03-08 22:05:33 -07:00
organization.go summary 2026-03-08 22:05:33 -07:00
page.go summary 2026-03-08 22:05:33 -07:00
person.go summary 2026-03-08 22:05:33 -07:00
person_marshal_test.go summary 2026-03-08 22:05:33 -07:00
place.go summary 2026-03-08 22:05:33 -07:00
profile.go summary 2026-03-08 22:05:33 -07:00
protoactivity.go protoactivity 2026-03-08 15:25:09 -07:00
protoactivityunmarshaljson.go activity 2026-03-08 17:51:52 -07:00
protoactor.go protoactor 2026-03-08 15:24:44 -07:00
protoactorunmarshaljson.go actor 2026-03-08 17:47:45 -07:00
protocollection.go collection 2026-03-08 00:41:53 -08:00
protocollectionorprotolink.go refactor 2026-03-08 16:43:45 -07:00
protocollectionorprotolinkunmarshaljson.go summary 2026-03-08 22:05:33 -07:00
protocollectionpage.go collection 2026-03-08 01:21:12 -08:00
protocollectionpageorprotolink.go correction 2026-03-08 11:42:42 -07:00
protocollectionpageorprotolinkunmarshaljson.go collection page or link 2026-03-08 18:33:23 -07:00
protocollectionpageunmarshaljson.go collection page 2026-03-08 18:09:42 -07:00
protocollectionunmarshaljson.go improving unmarshaling 2026-03-08 22:20:57 -07:00
protoentity.go entity 2026-03-08 17:38:44 -07:00
protoentityunmarshaljson.go improving unmarshaling 2026-03-08 22:15:59 -07:00
protoimage.go proto 2026-03-01 16:23:38 -08:00
protoimageunmarshaljson.go []byte 2026-03-08 13:18:04 -07:00
protolink.go entity 2026-03-08 17:38:44 -07:00
protolinkunmarshaljson.go is 2026-03-08 16:42:25 -07:00
protonode.go relationship 2026-03-08 17:23:48 -07:00
protonodeunmarshaljson.go improving unmarshaling 2026-03-08 22:17:39 -07:00
protoobject.go relationship 2026-03-08 17:38:56 -07:00
protoobjectorprotolink.go relationship 2026-03-08 17:23:48 -07:00
protoobjectorprotolinkunmarshaljson.go improving unmarshaling 2026-03-08 22:14:08 -07:00
protoobjectunmarshaljson.go improving unmarshaling 2026-03-08 22:20:57 -07:00
protorelationship.go relationship 2026-03-08 17:43:47 -07:00
protorelationshipunmarshaljson.go relationship 2026-03-08 17:43:47 -07:00
rawactivity.go summary 2026-03-08 22:05:33 -07:00
rawactor.go summary 2026-03-08 22:05:33 -07:00
rawcollection.go summary 2026-03-08 22:05:33 -07:00
rawcollectionpage.go summary 2026-03-08 22:05:33 -07:00
rawimage.go summary 2026-03-08 22:05:33 -07:00
rawlink.go changed unnecessary raw-messages to concrete types 2026-03-08 15:14:28 -07:00
rawobject.go summary 2026-03-08 22:05:33 -07:00
rawrelationship.go summary 2026-03-08 22:05:33 -07:00
read.go object (field) 2026-03-08 22:58:07 -07:00
README.md docs 2025-09-08 18:47:52 -07:00
reject.go object (field) 2026-03-08 22:58:07 -07:00
relationship.go summary 2026-03-08 22:05:33 -07:00
remove.go object (field) 2026-03-08 22:58:07 -07:00
servehttp.go renamed 2026-03-01 18:07:42 -08:00
service.go summary 2026-03-08 22:05:33 -07:00
strings.go slightly renamed errors (to export them) 2026-03-08 11:41:18 -07:00
strings_marshaljson_test.go asns.Strings 2025-09-09 03:51:21 -07:00
strings_unmarshaljson_test.go refactor 2025-09-08 18:19:55 -07:00
tentative_accept.go object (field) 2026-03-08 22:58:07 -07:00
tentative_reject.go object (field) 2026-03-08 22:58:07 -07:00
tombstone.go summary 2026-03-08 22:05:33 -07:00
undo.go object (field) 2026-03-08 22:58:07 -07:00
unmarshalobjectbytype.go JSONType() 2026-03-08 22:26:03 -07:00
update.go object (field) 2026-03-08 22:58:07 -07:00
video.go summary 2026-03-08 22:05:33 -07:00
view.go object (field) 2026-03-08 22:58:07 -07:00
wholenumber.go docs 2026-03-01 16:40:09 -08:00

go-asns

Package act provides an implementation of the ActivityPub and ActivityStreams protocols, as they are used on the Fediverse, for the Go programming language.

Documention

Online documentation, which includes examples, can be found at: http://godoc.org/codeberg.org/reiver/go-asns

GoDoc

Import

To import package act use import code like the follownig:

import "codeberg.org/reiver/go-asns"

Installation

To install package act do the following:

GOPROXY=direct go get codeberg.org/reiver/go-asns

Author

Package act was written by Charles Iliya Krempeaux