Commit Graph

1 Commits

Author SHA1 Message Date
D Anzorge c06d31eda4 importer: Add a Mastodon importer
The Mastodon importer uses the Mastodon API (implemented by Mastodon and
Pleroma) to import posts into Perkeep. The webui also now recognizes
Mastodon posts, and displays their text.

The importer does some things differently than most other Perkeep
importers, since it needs to be able to import from arbitrary URLs. It
does not share any credentials globally between all accounts, to enable
use of multiple accounts on multiple servers.

This also introduces new dependencies of go-mastodon and linkheader
(both under the MIT license).

Resolves #1183

Change-Id: I9a532bbd5720992482fc758f14286c11d5bf6ef0
2018-07-17 00:20:37 +02:00