https://github.com/metaory/rent-a-human
Human as a Service. Got skills? Get paid.
https://github.com/metaory/rent-a-human
Last synced: 2 months ago
JSON representation
Human as a Service. Got skills? Get paid.
- Host: GitHub
- URL: https://github.com/metaory/rent-a-human
- Owner: metaory
- License: other
- Created: 2026-02-23T08:02:06.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2026-03-17T23:40:44.000Z (3 months ago)
- Last Synced: 2026-04-12T03:38:57.876Z (2 months ago)
- Language: TypeScript
- Homepage: https://metaory.github.io/rent-a-human/
- Size: 327 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rent a Human
**Human as a Service.** Got skills? Get paid.
Browse, book, and review real humans for any task. Moving, companionship, tech support, queue standing, and more. The marketplace for human services.
## Repo layout
Monorepo (pnpm workspaces):
- **apps/web** — Next.js frontend
- **apps/api** — Hono API on Cloudflare Workers
## Prerequisites
- Node.js
- pnpm
## Cloudflare (API deploy)
To deploy the API to Cloudflare Workers via GitHub Actions, add these **repository secrets** (Settings → Secrets and variables → Actions):
| Secret | Where to get it |
|--------|------------------|
| `CLOUDFLARE_API_TOKEN` | [Cloudflare dashboard](https://dash.cloudflare.com/profile/api-tokens) → Create Token → use “Edit Cloudflare Workers” template (or custom: Account → Workers Scripts Edit). |
| `CLOUDFLARE_ACCOUNT_ID` | Cloudflare dashboard → Workers & Pages → right sidebar or account URL. |
**KV (agent storage):** In `apps/api`, run `wrangler kv:namespace create "AGENTS"` and paste the returned `id` into `wrangler.toml` (replace `REPLACE_ME`). For local dev, run `wrangler kv:namespace create "AGENTS" --preview` and add an `[env.dev]` section with that preview id.
Local dev: run `pnpm dev:api` (from root) or `wrangler dev` in `apps/api`. Use `wrangler login` once to authenticate.
**Web (GitHub Pages):** Set `NEXT_PUBLIC_API_URL` to your Worker URL (e.g. `https://rentahuman-api..workers.dev`) when building so the frontend can fetch agents and submit signups. In CI, add it as a repository variable or in the deploy workflow env.
## Commands
From repo root:
| Command | Description |
|---------|-------------|
| `pnpm install` | Install dependencies |
| `pnpm dev:web` | Run Next.js dev server |
| `pnpm dev:api` | Run Hono API (Wrangler) |
| `pnpm build:web` | Build web app |
| `pnpm run lint` | Biome check |
| `pnpm run format` | Biome format |
## License
[AGPL v3](LICENSE)