New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

twinkle

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

twinkle

  • 0.3.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Twinkle

Twinkle makes it easy to serve up an appcast xml feed and to store anonymized and aggregated Sparkle Framework statistics.

Usage

You can easily mount Twinkle to manage and serve your Appcast and store and summarize statistics.

Twinkle contains 5 models, an appcast controller and a summarize concern for creating aggregate usage statistics.

Too much trouble hosting your own? Check out appable.xyz

Installation

Add this line to your application's Gemfile:

gem "twinkle"

And then execute:

$ bundle

Or install it yourself as:

$ gem install twinkle

Install the migrations

bin/rails twinkle:install:migrations

Mount the routes

Add the folllwing to your config/routes

mount Twinkle::Engine => "/"

This will mount the appcast routes at /updates/:app.slug

Extending Twinkle Apps

You can extend the Twinkle::App model by creating app/models/twinkle/app.rb

class Twinkle::App < ApplicationRecord
  include Twinkle::Concerns::Models::App
  include Summarize

  # Your custom app code and validations etc go here
end

Contributing

Pull requests welcome.

Testing

bin/rails db:test:prepare
bin/test

Building the gem

gem build
gem push twinkle-x.x.x.gem

License

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

FAQs

Package last updated on 08 Jan 2025

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