Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. iOS
  3. passbook

passbook

MITRuby

A Ruby gem for generating Apple Wallet passes (pkpass files) for iOS 6+.

GitHubGitHub
231 stars66 forks0 contributors

What is passbook?

Passbook is a Ruby gem that allows developers to generate Apple Wallet passes (pkpass files) for iOS devices. It handles the creation of passes, certificate signing, and integration with web services for push notifications. The gem simplifies the process of building and updating passes according to Apple's specifications.

Target Audience

Ruby developers building applications that need to create or manage Apple Wallet passes, particularly those working with Rails or Sinatra frameworks.

Value Proposition

It provides a pure Ruby solution for generating pkpass files with built-in support for certificates, push notifications, and framework integration, reducing the need to manually handle Apple's complex pass requirements.

Overview

Passbook gem let's you create pkpass for passbook iOS 6

Use Cases

Best For

  • Adding Apple Wallet pass support to Ruby on Rails applications
  • Generating event tickets or boarding passes for iOS users
  • Creating digital loyalty cards or coupons for mobile wallets
  • Building pass update services with push notifications
  • Integrating pass generation into Sinatra-based web apps
  • Automating pkpass creation via command line tools

Not Ideal For

  • Teams using non-Ruby backends like Node.js or Python
  • Projects needing a visual GUI or drag-and-drop pass builder
  • Applications requiring real-time pass updates with sub-minute latency
  • Organizations with strict compliance needs for automated certificate rotation

Pros & Cons

Pros

Ruby-Native Integration

Seamlessly works with Rails and Sinatra via configuration generators and Rack middleware, reducing setup time for Ruby-based apps.

Certificate Flexibility

Supports both p12 and PEM certificate formats, and allows per-pass signers for different certificates, as shown in the README's configuration examples.

Push Notification Support

Includes built-in middleware and classes for handling Apple's push service, abstracting the complexity of pass update workflows.

Command Line Tools

Provides CLI commands like 'pk generate' and 'pk build' for quick pass generation and testing without full app integration.

Cons

Complex Certificate Setup

Requires manual extraction and management of Apple certificates (WWDC, p12/PEM), which is error-prone and poorly documented in the gem itself.

Sparse Implementation Examples

Push notification support demands custom class implementation with minimal guidance, and the README defers to external articles for key steps.

Push Notification Scaling Issues

Admits updates can take up to 15 minutes per device, and handling multiple devices requires separate calls, which may not scale for large user bases.

Frequently Asked Questions

Quick Stats

Stars231
Forks66
Contributors0
Open Issues7
Last commit3 years ago
CreatedSince 2012

Tags

#ios#rails#certificate-management#ruby-gem#push-notifications#sinatra

Built With

R
Rails
R
Ruby
S
Sinatra
R
Rack

Included in

iOS51.7k
Auto-fetched 16 hours ago

Related Projects

DubaiDubai

Generate and Preview Passbook Passes

Stars328
Forks28
Last commit5 years ago
PasskitPasskit

Design, Create and validate Passbook Passes

Stars0
Forks0
Last commit
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub