Нет описания

Benton Edmondson 8d8f10529e Merge branch 'main' of https://github.com/BentonEdmondson/mimicry 1 год назад
.vscode dd5d523732 rename from mimicry to servitor 1 год назад
ansi 0afdf6847c ansi: make SetLength handle non-ascii 1 год назад
client 20adced6ea add various checks that posts, comments, and outbox elements are not forged 1 год назад
config c433ebb8ac config: config is now accessible throughout the program 1 год назад
feed dd5d523732 rename from mimicry to servitor 1 год назад
gemtext dd5d523732 rename from mimicry to servitor 1 год назад
history 6928d069ff Globally reformat with go fmt 1 год назад
hypertext dd5d523732 rename from mimicry to servitor 1 год назад
jtp c433ebb8ac config: config is now accessible throughout the program 1 год назад
markdown dd5d523732 rename from mimicry to servitor 1 год назад
mime 6928d069ff Globally reformat with go fmt 1 год назад
object dd5d523732 rename from mimicry to servitor 1 год назад
plaintext dd5d523732 rename from mimicry to servitor 1 год назад
pub 14d3e54c33 pub/collection: don't filter elements of collection after construction as it results in confusing ux 1 год назад
splicer e17d36263c splicer: simplify logic and make it more parallel 1 год назад
style c433ebb8ac config: config is now accessible throughout the program 1 год назад
ui f05a7e7b49 main: shorten size poll time from 500ms to 25ms 1 год назад
.gitignore dd5d523732 rename from mimicry to servitor 1 год назад
go.mod dd5d523732 rename from mimicry to servitor 1 год назад
go.sum 97742ab7bc implemented package config 1 год назад
html.md 2e11dde7d8 Backing up everything out of paranoia 2 лет назад
main.go f05a7e7b49 main: shorten size poll time from 500ms to 25ms 1 год назад
readme.md e2f1bd3352 readme: Add first draft 1 год назад

readme.md

Servitor

A command line, RSS-style reader for the fediverse.

// image

  • Works with fediverse software such as Mastodon, Lemmy, PeerTube, and more: This browser works with all fediverse software that implements ActivityPub. You can view and subscribe to microblogs (like Linus Torvalds @torvalds@social.kernel.org), video channels (like Luke Smith @luke@videos.lukesmith.xyz), subs (like RPGMemes @rpgmemes@ttrpg.network), and hashtags (like tweesecake.social's #linux) all in the same reader.
  • Doesn't require a server: This browser does not rely on you having a server, so you don't have to host your own server or find another one to rely on.
  • Sidesteps defederation politics: Posts are always pulled directly from their source site, so you are not affected by servers blocking each other.
  • Keeps your subscriptions private: Just like an RSS reader, subscriptions are stored locally, so you can subscribe to people without sending them follow requests.

Usage

Configuration

The config file is located at ~/.config/servitor/config.toml.

[feeds]
# each entry is list of profiles to subscribe to
linux = [ # open with `servitor feed linux`
    "@torvalds@social.kernel.org",
    "@luke@videos.lukesmith.xyz",
    "@thelinuxexperiment@tilvids.com",
]
dnd = [ # open with `servitor feed dnd`
    "@rpgmemes@ttrpg.network",
    "@dnd@lemmy.world",
]

[media]
# the command that is called to open external media
# %u is automatically substituted with the url, %m is substituted with the mime type
hook = [ "xdg-open", "%u" ]

Where to Find Content to Follow

Please submit a PR if you know of another good resource.

A Brief Overview of ActivityPub

For the purpose of this browser, the fediverse can be thought of as a collection of internet forums that use a shared protocol called ActivityPub. Instead of serving content over text/html, they serve their content over application/activity+json, which provides for higher-level semantics such as comment sections, retweets, etc. Just like conventional forums, each site has a different moderation policy, and the administrators of each site have complete control over the moderation of that site. Unlike conventional internet forums, the fediverse allows users from one site to interact with (like, follow, comment on, etc) users and posts on another site, assuming the administrators of the both sites permit the interaction.

Supported Markup Formats

Servitor can render posts published in:

Dependencies

I tried to minimize the amount of dependencies used. They are: