Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tierrun/tier
The easiest way to add pricing to your SaaS. Get billing over with.
https://github.com/tierrun/tier
billing go golang priceops saas stripe
Last synced: 2 days ago
JSON representation
The easiest way to add pricing to your SaaS. Get billing over with.
- Host: GitHub
- URL: https://github.com/tierrun/tier
- Owner: tierrun
- License: bsd-3-clause
- Archived: true
- Created: 2022-08-08T18:03:13.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-02T13:57:30.000Z (10 months ago)
- Last Synced: 2024-02-17T09:36:43.130Z (9 months ago)
- Topics: billing, go, golang, priceops, saas, stripe
- Language: Go
- Homepage: https://tier.run
- Size: 21 MB
- Stars: 952
- Watchers: 6
- Forks: 30
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# This repo is now archived
# Pricing as Code
`tier` is a tool that lets you define and manage your SaaS application's pricing model in one place (pricing.json).
Tier will handle setting up and managing Stripe in a way that is much more friendly for SaaS and consumption based billing models. Tier's SDK can then be implemented for access checking, metering/reporting, and more.
[![GPLv3 License](https://img.shields.io/github/license/tierrun/tier?style=for-the-badge)](https://opensource.org/licenses/)
## Docs
- [Documentation is available here](https://www.tier.run/docs)# Key Features and Capabilities
- Manage your features, plans and their pricing in one place
- On demand test environments and preview deployments allow you to work with confidence
- Create custom plans and variants as needed for specific customers or tests
- Stripe is kept in sync and fully managed by Tier
- Access Checking and Entitlements are handled by the Tier SDKs## How to use Tier
1. [Install Tier CLI](#install)
2. [Create your first pricing.json](https://model.tier.run) and `tier push` to your dev or live environment
3. [Get a Tier SDK and add it](https://www.tier.run/docs/sdk/) to enable Access Checks and MeteringYou can see and example here: [Tier Hello World!](https://blog.tier.run/tier-hello-world-demo)
## Install
### Homebrew (macOS)
```
brew install tierrun/tap/tier
```
### Binary (macOS, linux, Windows)Binaries for major architectures can be found at [here](https://tier.run/releases).
### Go (most operating systems and architectures)
If go1.19 or later is installed, running or installing tier like:
```
go run tier.run/cmd/tier@latest
```or
```
go install tier.run/cmd/tier@latest
```## Authors
- [@bmizerany](https://www.github.com/bmizerany)
- [@isaacs](https://www.github.com/isaacs)
- [@jevon](https://www.github.com/jevon)