Skip to content

Commit c784646

Browse files
committed
Remove redundant url_template and code fields from referral config
signup_url already contains the full referral link. The url_template and code fields were unused indirection. Also moves Ebesucher to manual-only (browser extension, not Docker).
1 parent 13cf1fb commit c784646

46 files changed

Lines changed: 23 additions & 117 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ Services CashPilot can deploy and manage automatically via Docker.
7676
| [Bitping](https://app.bitping.com) ||| Unlimited | 1 | Crypto (SOL) |
7777
| [Earn.fm](https://earn.fm/ref/GEISYB91) ||| Unlimited | 1 | Crypto |
7878
| [EarnApp](https://earnapp.com/i/TSMD9wSm) ||| 15 | 1 | PayPal, Gift Cards |
79-
| [Ebesucher](https://www.ebesucher.com/?ref=geiserx) ||| Unlimited | 1 | PayPal |
8079
| [Honeygain](https://dashboard.honeygain.com/ref/SERGIB4014) ||| 10 | 1 | PayPal, Crypto |
8180
| [IPRoyal Pawns](https://pawns.app?r=19266874) ||| Unlimited | 1 | PayPal, Crypto, Bank Transfer |
8281
| [MystNodes](https://mystnodes.co/?referral_code=do7v7YOoBBpbOstKQovX2pUvZYKia4ZhH3QIdNtE) ||| Unlimited | Unlimited | Crypto (MYST) |
@@ -102,6 +101,7 @@ These services have no Docker image. CashPilot lists them in the catalog with si
102101
| Service | Residential IP | VPS IP | Devices / Acct | Devices / IP | Payout | Status |
103102
|---------|:-:|:-:|:-:|:-:|--------|--------|
104103
| [BlockMesh](https://blockmesh.xyz) ||| Unlimited | 1 | Crypto (BMESH) | Active |
104+
| [Ebesucher](https://www.ebesucher.com/?ref=geiserx) ||| Unlimited | 1 | PayPal | Active |
105105
| [Bytebenefit](https://bytebenefit.com) ||| Unlimited | 1 | PayPal | Beta |
106106
| [Bytelixir](https://bytelixir.com/r/OYEIRE0VSZBZ) ||| Unlimited | 1 | Crypto | Beta |
107107
| [Gradient Network](https://app.gradient.network/signup?referralCode=YSKMY7) ||| Unlimited | 1 | Crypto (GRADIENT) | Active |

app/static/js/app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ const CP = (() => {
788788

789789
function renderServiceSetupForm(svc) {
790790
const signupUrl = svc.referral && svc.referral.signup_url
791-
? svc.referral.signup_url.replace('{code}', svc.referral.code || '')
791+
? svc.referral.signup_url
792792
: svc.website || '#';
793793

794794
// Manual-only services: show signup link + earnings tracking notice
@@ -1037,7 +1037,7 @@ const CP = (() => {
10371037
</div>` : '';
10381038

10391039
const signupUrl = svc.referral && svc.referral.signup_url
1040-
? svc.referral.signup_url.replace('{code}', svc.referral.code || '')
1040+
? svc.referral.signup_url
10411041
: svc.website || '#';
10421042

10431043
return `

app/templates/service_detail.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ <h3 class="card-title" style="margin-bottom: 12px;">Referral Program</h3>
113113
<div class="card" style="margin-bottom: 16px;">
114114
<h3 class="card-title" style="margin-bottom: 12px;">Deploy</h3>
115115

116-
{% set signup_url = service.referral.signup_url.replace('{code}', service.referral.code or '') if service.referral and service.referral.signup_url else service.website or '#' %}
116+
{% set signup_url = service.referral.signup_url if service.referral and service.referral.signup_url else service.website or '#' %}
117117
<div style="margin-bottom: 16px;">
118118
<p style="color: var(--text-secondary); margin-bottom: 8px;">
119119
New to {{ service.name }}?

docs/guides/dawn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Dawn Internet is a decentralized wireless network that rewards users for sharing
3333

3434
### 1. Create an account
3535

36-
Sign up at [Dawn Internet](https://dawninternet.com?code={code}).
36+
Sign up at [Dawn Internet](https://dawninternet.com).
3737

3838
### 2. Get your credentials
3939

docs/guides/speedshare.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ SpeedShare lets you earn by sharing your unused internet bandwidth. Residential
3333

3434
### 1. Create an account
3535

36-
Sign up at [SpeedShare](https://speedshare.app/?ref={code}).
36+
Sign up at [SpeedShare](https://speedshare.app).
3737

3838
### 2. Get your credentials
3939

scripts/generate_docs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def _service_name_link(svc: dict) -> str:
121121
"""Service name linked to referral signup URL, fallback to website."""
122122
name = svc["name"]
123123
ref = svc.get("referral", {})
124-
signup_url = ref.get("signup_url", ref.get("url_template", ""))
124+
signup_url = ref.get("signup_url", "")
125125
if signup_url:
126126
return f"[{name}]({signup_url})"
127127
website = svc.get("website", "")
@@ -400,7 +400,7 @@ def generate_guide(svc: dict) -> str:
400400
status = svc.get("status", "active")
401401

402402
ref = svc.get("referral", {})
403-
signup_url = ref.get("signup_url", ref.get("url_template", website))
403+
signup_url = ref.get("signup_url", website)
404404
ref_bonus_referrer = ref.get("bonus", {}).get("referrer", "N/A")
405405
ref_bonus_referee = ref.get("bonus", {}).get("referee", "N/A")
406406

services/_schema.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@
1111
# short_description: One line (for tables)
1212

1313
# referral:
14-
# url_template: URL with {code} placeholder
15-
# code: "" (owner fills in)
16-
# signup_url: Direct signup page URL (referral code appended or embedded)
14+
# signup_url: Full signup URL with referral code already embedded
1715
# bonus:
1816
# referrer: What the referrer gets
1917
# referee: What the new user gets

services/bandwidth/adnade.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ description: >
1111
short_description: Ad-based earning - browser surfbar, views ads automatically
1212

1313
referral:
14-
url_template: ""
15-
code: ""
1614
signup_url: "https://adnade.com"
1715
bonus:
1816
referrer: ""

services/bandwidth/antgain.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ description: >
1010
short_description: Bandwidth sharing - unlimited devices, API key auth, crypto payout
1111

1212
referral:
13-
url_template: ""
14-
code: ""
1513
signup_url: "https://antgain.app"
1614
bonus:
1715
referrer: ""

services/bandwidth/bitping.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ description: >
1212
short_description: Bandwidth sharing - decentralized network monitoring, works on VPS
1313

1414
referral:
15-
url_template: ""
16-
code: ""
1715
signup_url: "https://app.bitping.com"
1816
bonus:
1917
referrer: ""

0 commit comments

Comments
 (0)