Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

activitypub

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

activitypub

  • 0.5.5
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

ActivityPub

A Ruby gem to make it easy to retrieve and work with ActivityPub/ ActivityStreams objects, as used in Mastodon, Lemmy, Pixelfed and similar.

CAUTION: This is early days and the API is likely to change quickly. If you want to start using this, please follow the project and/or let me know.

Goals

  • To provide a fairly minimalist, barebones set of classes to work with ActivityPub objects as used by major Fediverse apps.
  • Matching real-world use will be prioritized over strict adherence to the specs - my use-cases require me to be able to handle documents even if they have errors. But I want to be able to produce output that prefers standards compliance where it doesn't sacrifice interop.
  • Support extensions and namespace used by e.g. Mastodon and others.
  • Be easy to extend/layer new functionality on top of for anything that doesn't fit in this core.

Installation

Install the gem and add to the application's Gemfile by executing:

$ bundle add activitypub

If bundler is not being used to manage dependencies, install the gem by executing:

$ gem install activitypub

Usage

TODO: Write usage instructions here.

For now your best bet is to look at the examples/ dir and the unit tests.

Development

After checking out the repo, run bin/setup to install dependencies. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and the created tag, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/vidarh/activitypub.

License

The gem is available as open source under the terms of the MIT License.

FAQs

Package last updated on 26 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc