Investors.
We need a million dollars. Then $400. Then a few dozen crazy stories why we need it. Seeking an angel. Any angel. Please.
This is a toy and a joke. No securities, no equity, no returns, no real money. There is no invest button that takes money, because there is no payment anywhere on this page. Every pitch is fictional. If you are an angel, we love you, but please do not send money to a joke page. Refresh equals your pitches gone, except local autosave.
How it works (when it is a joke)
Everyone reads the same pitches. You laugh, you fake invest, the angel counter goes up by one, and nothing happens, because it is a joke. For now, you are the only angel, practice your pitch.
- Pitch equals amount plus angle plus crazy story
- Invest equals fake button, no payment, no equity
- Angel equals you, if you laughed
- Download .txt to keep your pitches
Community, coming soon
Shared state is not connected yet.
ðĒ 0 angels right now (fake, local toy)
ðļ Last fake invest: â
ð Last angel: â
ð Rules: No real money. No securities. Just jokes.
Backend, Investors Backend, Template, Joke Only
Right now Investors is a tinker toy, pitches is a local array in this tab, fakeInvests is a local counter, angels are local, and Refresh equals gone (except local autosave). The total asked counter is real, it runs in your browser. Disclaimer is the truth: local-only, joke only, no real money, no securities, not saved, not shared. This backend is the map to make it real, still as a joke board: one shared board, per-pitch writes, fake invests as server rows, votes as server counts, cooldowns, accounts, moderation. Proposed, not connected. There is no payment endpoint in this template on purpose. If you ever add real fundraising, that is a different product, with securities law, disclosures, and legal review. This template does NOT do that.
01 / Files to create
api/investors/pitch.php POST /api/investors/pitch api/investors/pitches.php GET /api/investors/pitches?sort=crazy&tag= api/investors/fake.php POST /api/investors/fake api/investors/vote.php POST /api/investors/vote api/investors/snapshot.php GET /api/investors/snapshot sql/investors_tables.sql
Keep the tinyfiles PHP pattern: /api/bootstrap.php, json_in() / json_out(), prepared PDO. No payment provider in this template.
02 / Database tables
investors_pitches id BIGINT AUTO_INCREMENT PRIMARY KEY user_id INT NOT NULL amount DECIMAL(12,2) NOT NULL title VARCHAR(120) NOT NULL angle VARCHAR(40) NOT NULL story TEXT NOT NULL created_at DATETIME NOT NULL investors_fake_invests id BIGINT AUTO_INCREMENT PRIMARY KEY pitch_id BIGINT NOT NULL user_id INT NOT NULL amount DECIMAL(12,2) NOT NULL -- Fake only. No cash value. No payment column. investors_votes pitch_id BIGINT NOT NULL user_id INT NOT NULL value TINYINT NOT NULL PRIMARY KEY (pitch_id, user_id)
Board is one shared feed. Never store a board per user, store only pitches by id, plus fake invests and votes. No real money table.
03 / API endpoints
POST /api/investors/pitch
{ "amount": 400, "title": "The Rent One", "angle": "server", "story": "..." }
- auth required, 1 pitch per hour
- validates amount 0.01 to 1000000, title, angle, story, else 400
- returns { "ok": true, "id": 123 }
GET /api/investors/pitches?sort=crazy&tag=
- returns pitches with fake invest counts, plus my vote
POST /api/investors/fake
{ "pitch_id": 123, "amount": 400 } - fake only, no payment, increments counter
POST /api/investors/vote
{ "pitch_id": 123, "value": 1 } - vote up or down, ranks pitchFake invests are server counts, investors_fake_invests, not client counters. Server decides Craziest, Highest, Lowest sorting.
04 / Cooldown, moderation and validation
// Cooldown: 1 pitch per hour, 1 fake invest per 2s, 1 vote per 2s // Moderation: no hate / NSFW / spam, no real fundraising links, mods can remove plus ban user_id // Validation: amount, title, angle, story, else 400 // Joke only: no payment, no securities, no equity, no returns promise
Keep disclaimer until this ships: Tinker toy, not live yet. Joke only. Do not send money.
05 / Frontend wiring
// pitches[] is already local. After posting (debounced 800ms): // POST /api/investors/pitch with new pitch // Poll GET /api/investors/pitches?sort=crazy every 5s, apply only new pitches // On load: GET /api/investors/snapshot, load into pitches[] // Fake invest: POST /api/investors/fake, then update counter from server // If API fails, fall back to local-only toy plus disclaimer.
api/investors/ plus sql/investors_tables.sql, no GitHub needed. Shared board, per-pitch writes, fake invests as server rows, joke only, no payment provider.