Go to file
Nick Gerakines 7465f92a84
Trying to fix linguist.
2020-03-28 17:11:23 -04:00
asset Missing commit 2020-03-27 11:22:04 -04:00
avatar Displaying avatars on feed for actors. Closes #15 2020-03-04 11:31:03 -05:00
common Implemented inbox forwarding. Added follow/note and undo/follow/note in actor inbox. Added activity forwarding to create/note and announce/note in actor inbox. Added migrations to create table used to track object subscriptions and storage interface functions to add, remove, and list actor object subscriptions. 2020-03-28 16:20:00 -04:00
config Implemented inbox forwarding. Added follow/note and undo/follow/note in actor inbox. Added activity forwarding to create/note and announce/note in actor inbox. Added migrations to create table used to track object subscriptions and storage interface functions to add, remove, and list actor object subscriptions. 2020-03-28 16:20:00 -04:00
errors Fixing bug in generated output of error translations. Added git attributes file. 2020-03-28 17:09:39 -04:00
examples/linode Updating linode example docs. 2020-03-27 09:41:13 -04:00
fed Added publisher command and integrations from server to publisher. Closes #66. 2020-03-27 14:35:28 -04:00
g Misc packaging cleanup. Added go-bindata to package templates. Closes #50. 2020-03-24 10:11:26 -04:00
job Removing old job test. 2020-03-23 11:47:53 -04:00
json Added json ld debug command. Part of #39. 2020-03-19 06:45:23 -04:00
metrics Added publisher command and integrations from server to publisher. Closes #66. 2020-03-27 14:35:28 -04:00
migrations Implemented inbox forwarding. Added follow/note and undo/follow/note in actor inbox. Added activity forwarding to create/note and announce/note in actor inbox. Added migrations to create table used to track object subscriptions and storage interface functions to add, remove, and list actor object subscriptions. 2020-03-28 16:20:00 -04:00
public Fixing a bug in jquery and popper source js. Again. Again. Again? 2020-03-27 12:14:39 -04:00
publisher Added publisher command and integrations from server to publisher. Closes #66. 2020-03-27 14:35:28 -04:00
scripts Added goreleaser file 2020-03-24 13:36:08 -04:00
start Refreshed init migrations. Created docker-compose. Added migrations to binary. Added translations to binary. 2020-03-26 10:36:56 -04:00
storage Implemented inbox forwarding on delete object activities. Updated federation documentation. 2020-03-28 16:56:43 -04:00
templates Fixing a bug in jquery and popper source js. Again. Again. Again? 2020-03-27 12:14:39 -04:00
translations/en Added missing files from last commit. Oops 2020-03-28 17:10:27 -04:00
web Implemented inbox forwarding on delete object activities. Updated federation documentation. 2020-03-28 16:56:43 -04:00
.gitattributes Trying to fix linguist. 2020-03-28 17:11:23 -04:00
.gitignore Refreshed init migrations. Created docker-compose. Added migrations to binary. Added translations to binary. 2020-03-26 10:36:56 -04:00
.gitlab-ci.yml Adding generate to build phase. 2020-03-24 13:59:06 -04:00
.goreleaser.yml Removing generate from releaser config 2020-03-24 13:38:38 -04:00
CHANGELOG.md Fixing bug in generated output of error translations. Added git attributes file. 2020-03-28 17:09:39 -04:00
CONTRIBUTING.md Added contributing document. 2020-03-18 12:21:45 -04:00
Dockerfile Refreshed init migrations. Created docker-compose. Added migrations to binary. Added translations to binary. 2020-03-26 10:36:56 -04:00
FEDERATION.md Updated federation doc. 2020-03-28 17:02:41 -04:00
LICENSE initial commit 2020-02-27 10:43:16 -05:00
README.md Adding jquery and popper to project. Setting integrity hashes for included css and js files. Updated readme to include contributing section. 2020-03-27 10:11:31 -04:00
docker-compose.yml Misc cleanup 2020-03-26 15:36:12 -04:00
gennonprod.go Refreshed init migrations. Created docker-compose. Added migrations to binary. Added translations to binary. 2020-03-26 10:36:56 -04:00
genprod.go Refreshed init migrations. Created docker-compose. Added migrations to binary. Added translations to binary. 2020-03-26 10:36:56 -04:00
go.mod Implemented inbox forwarding. Added follow/note and undo/follow/note in actor inbox. Added activity forwarding to create/note and announce/note in actor inbox. Added migrations to create table used to track object subscriptions and storage interface functions to add, remove, and list actor object subscriptions. 2020-03-28 16:20:00 -04:00
go.sum Implemented inbox forwarding. Added follow/note and undo/follow/note in actor inbox. Added activity forwarding to create/note and announce/note in actor inbox. Added migrations to create table used to track object subscriptions and storage interface functions to add, remove, and list actor object subscriptions. 2020-03-28 16:20:00 -04:00
init.sql Refreshed init migrations. Created docker-compose. Added migrations to binary. Added translations to binary. 2020-03-26 10:36:56 -04:00
main.go Added publisher command and integrations from server to publisher. Closes #66. 2020-03-27 14:35:28 -04:00
schema.sql Refreshed init migrations. Created docker-compose. Added migrations to binary. Added translations to binary. 2020-03-26 10:36:56 -04:00

README.md

tavern

A minimalistic Activity Pub server. Think mastodon, but smaller and with fewer features.

This project is in active development and should not be used in production.

Roadmap: https://gitlab.com/ngerakines/tavern/-/wikis/Roadmap

Milestones: https://gitlab.com/ngerakines/tavern/-/milestones

Quick Start

The quickest way to get up and running is with docker-compose.

If you are building from source, be sure to run docker-compose build.

  1. docker-compose up -d db svger
  2. docker-compose run web migrate
  3. docker-compose run web init --admin-email=nick.gerakines@gmail.com --admin-password=password --admin-name=nick
  4. docker-compose up -d

Contributing

First, please read the CONTRIBUTING document. This project adheres to the contributors covenant, https://www.contributor-covenant.org/.

The build and release process involves code generation in a few ways that aren't obvious.

  1. go generate ./... generates error structures and sources used to bundle files in the compiled binary.
  2. openssl dgst -sha384 -binary the_file.whatever | openssl base64 -A is used to create SRI hashes (integrity="sha384-decafbad") in included CSS and JS files.

The -tags prod argument can be used to indicate prod vs non-prod sources. When the prod flag is not present, asset packages will load content from disk, but will still contain file path references. In other words, whenever you create or delete files including templates, migrations, or translations, you must run go generate ./....

License

MIT License

Copyright (c) 2020 Nick Gerakines