Skip to content
/ polar Public
forked from polarsource/polar

Polar is a creator platform for developers. Let's fix open source funding!

License

Notifications You must be signed in to change notification settings

id-2/polar

 
 

Repository files navigation


Public Beta - Get started   •   Website   •   Blog   •   Docs   •   API

Polar is released under the Apache 2.0 license. Discord Chat Follow @polar_sh


Polar.sh: A Patreon for Open Source Developers

A creator platform for developers and the open source ecosystem – built open source (Apache 2.0).

Offering you – as a developer – a platform on top of your GitHub repositories to:

  • Build, own & reach your audience through free- and premium posts and newsletters.
  • Offer subscriptions of value-add benefits designed for our ecosystem & built-in to Polar. We'll handle value-add taxes.
  • Get funding behind your GitHub issues & split it with contributors (Rewards)
  • Integrate it all on your own docs, sites or services using our API & SDK.

Subscriptions

  • Reach your entire audience with free tier(s). You can build, grow & reach your entire audience (you own it and can export them at any time). They can subscribe for free with email-only and upgrade to paid later. Substack-style.
  • Polar handles value-add taxes for paid tier(s). We're proud to be the merchant of record & manage value-add taxes to enable this for individual developers.
  • Unique business subscriptions. Enabling all their team members to gain access to benefits. Offering unparalleled opportunities and value to subscriptions offered via Polar to businesses.
  • Powerful, built-in, benefits. Going beyond free text upsells to built-in services you can easily manage via Polar. Delightful for backers to consume.

We're going to invest heavily in automating typical benefits offered within the open source ecosystem. Making it seamless for you to manage & delightful for your backers to use. Some ideas in our pipeline short-term:

  • Discord invites (unique roles per tier)
  • Sponsor Logo Automation. Businesses can setup their logotype & description once and it automatically propagating across your README (PR/SVG) to sites/docs (SDK)
  • Early access (private repo collaborators)
  • Sponsored Posts

You can read more about this, posts & newsletters on our blog here.

Posts & Newsletters

image

Features

  • Public posts
  • Premium posts (paid subscribers)
  • Hybrid, i.e public with paywall sections
  • Publish online
  • Send email (newsletters)
  • Schedule posts

Editor & Content

  • Markdown editor
  • Preview on web & email
  • Syntax highlighting
  • Youtube embeds
  • Issue embeds with funding promotion
  • Subscribe Now-button embeds
  • Paywall sections to paid subscribers
  • Drop images to embed them
  • More to come

Issue Funding & Contributor Rewards

image

  • Your users can pool funding behind issues/feature requests
  • Beautiful Funding SVG to automatically embed on select issues
  • Set public funding goals
  • Split funding with contributors - PR authors automatically suggested
  • Setup public rewards, i.e a percentage split to promote in advance
  • Fund such rewards yourself, i.e bounties.

However, Issue Funding & Contributor Rewards on Polar is built for maintainers, not bounty hunters. You can read more about this feature and our principles around it here.

Polar API & SDK

You can integrate Polar on your docs, sites or services using our Public API and/or our Polar JS SDK (Beta)

Pricing

  • No fixed, monthly, costs
  • 5% (Polar) + payment & payout fees (Stripe)
  • We'll also cover Stripe fees from our 5% until March 31st, 2024.

Roadmap, Issues & Feature Requests

Join our Discord or GitHub Discussions to help shape the future of Polar and to see what we're working on. We're excited to hear from you!

🐛 Found a bug? Submit it here.

🔓 Found a security vulnerability? We greatly appreciate responsible and private disclosures to security@polar.sh. See Security

Contributions

You can develop on Polar in GitHub Codespaces. The environment is pre-configured to contain (most) of the tools that you'll need, and will help you to configure the integration between Polar and GitHub (see .devcontainer/README). Using an instance with at least 4 cores is recommended.

Open in GitHub Codespaces

You can also develop on Polar locally on your computer, which is the recommended way of working if you want to get into the deep of how Polar works. Documentation on how to setup a development environment is incoming. Until then, if you're feeling adventurous checkout our repository structure below and clients/README and server/README in particular.

Contributors

Monorepo

  • server – Python / FastAPI / Arq / SQLAlchemy (PostgreSQL) / Redis
  • clients – Turborepo
    • web (Dashboard) – NextJS (TypeScript)
    • chrome-extension – React (TypeScript) - To be deprecated
    • polarkit - Shared React components
    • SDK - Polar SDK

♥️🙏 To our pyproject.toml friends: FastAPI, Pydantic, Arq, SQLAlchemy, Githubkit, sse-starlette, Uvicorn, httpx-oauth, jinja, blinker, pyjwt, Sentry + more
♥️🙏 To our package.json friends: Next.js, TanStack Query, tailwindcss, zustand, openapi-typescript-codegen, axios, radix-ui, cmdk, framer-motion + more

Security

If you believe you have found a security vulnerability in Polar, we encourage you to responsibly disclose this and not open a public issue. We will investigate all legitimate reports and greatly appreciate your help. Email security@polar.sh to disclose any security vulnerabilities.

License

Licensed under Apache License, Version 2.0.

About

Polar is a creator platform for developers. Let's fix open source funding!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 52.7%
  • TypeScript 46.0%
  • JavaScript 0.7%
  • HTML 0.4%
  • SCSS 0.1%
  • Shell 0.1%