+{% if title %}
+
+{% else %}
+
+ Keep your own corner of the internet alive
+ A place to belong.
A way to give back.
+ Start with a free eom.dev account. Choose an optional membership to support the servers, experiments, and independent work behind the community.
+ {% if account %}
+
+
Signed in through Dex
{{ account.uid }}
{{ account.email }}
+
+ {% if account.stripe_customer %}{% endif %}
+
+
+
+ {% if request.GET.checkout %}Thanks for supporting the work. Stripe is confirming your subscription. Access appears after payment is verified and the membership worker has synchronized it.
{% endif %}
+ {% for subscription in subscriptions %}
+ {{ subscription.tier|default:"Membership"|title }} · {{ subscription.status }}{% if subscription.paid_until > now %} · Paid access through {{ subscription.paid_until|date:"M j, Y H:i T" }}{% else %} · No current paid access{% endif %}{% if subscription.cancel_at_period_end %} · Does not renew{% endif %}
+ {% endfor %}
+ Billing and directory status update automatically, usually within a few minutes. Signing out here does not sign you out of other Dex applications.
+ {% else %}
+
+ {% endif %}
+
+
+ Your support, your choice
Find your membership
Your account stays free. Paid group access lasts only for the service period covered by your subscription.
+
+
+ The starting point
Community
Free / always
+ An account for the eom.dev community, stored in OpenLDAP and signed into through Dex.
+ - No payment required
- One account for compatible community services
- Upgrade whenever you choose
+ {% if not account %}Join the community{% else %}{% endif %}
+
+ {% for key, tier in tiers.items %}
+
+ Independent work, supported together
{{ tier.label }}
{{ tier.price_label }}
+ {{ tier.description|default:"Help keep the projects and community running." }}
+ - Tier-specific community access
- Secure checkout hosted by Stripe
- Manage renewal from your billing portal
+ {% if account %}{% else %}Create an account to join{% endif %}
+
+ {% empty %}
Paid memberships are coming soon.
You can create your free account now. Paid tiers will appear when their prices and groups are configured.
{% endfor %}
+
+
+
+ Simple, by design.
+ What happens when a membership ends?
Your LDAP account stays. Paid group access is removed automatically when the paid service period expires. An immediate cancellation removes access on the next successful sync.
+ Where is my password stored?
Only OpenLDAP stores your password hash. This website sends your initial password over verified TLS to OpenLDAP's password-modify operation. Future sign-ins happen through Dex.
+ Can I change or cancel a plan?
Use Manage billing after signing in. The billing portal offers the changes enabled for your plan. Cancellation at period end keeps access through the paid expiry date.
+
+{% endif %}
+
+
+
+
diff --git a/membership/tiers.eom.json b/membership/tiers.eom.json
new file mode 100755
index 0000000..bb28ece
--- /dev/null
+++ b/membership/tiers.eom.json
@@ -0,0 +1,37 @@
+{
+ "level-0": {
+ "label": "Level 0",
+ "price_id": "price_1Rgv4xC5KPXqTvVLfMd6z7wn",
+ "price_label": "$4 USD / month",
+ "group_dn": "cn=www-level-0,ou=groups,dc=eom,dc=dev",
+ "description": "Support the independent work with a Level 0 membership."
+ },
+ "level-1": {
+ "label": "Level 1",
+ "price_id": "price_1Rgv5QC5KPXqTvVLv1PaHWb5",
+ "price_label": "$8 USD / month",
+ "group_dn": "cn=www-level-1,ou=groups,dc=eom,dc=dev",
+ "description": "Support the independent work with a Level 1 membership."
+ },
+ "level-2": {
+ "label": "Level 2",
+ "price_id": "price_1Rgv5rC5KPXqTvVL8Ol8sMUf",
+ "price_label": "$16 USD / month",
+ "group_dn": "cn=www-level-2,ou=groups,dc=eom,dc=dev",
+ "description": "Support the independent work with a Level 2 membership."
+ },
+ "level-3": {
+ "label": "Level 3",
+ "price_id": "price_1Rgv6FC5KPXqTvVL39mAxYjm",
+ "price_label": "$32 USD / month",
+ "group_dn": "cn=www-level-3,ou=groups,dc=eom,dc=dev",
+ "description": "Support the independent work with a Level 3 membership."
+ },
+ "level-4": {
+ "label": "Level 4",
+ "price_id": "price_1Rgv6mC5KPXqTvVLkcmznWZa",
+ "price_label": "$64 USD / month",
+ "group_dn": "cn=www-level-4,ou=groups,dc=eom,dc=dev",
+ "description": "Support the independent work with a Level 4 membership."
+ }
+}