An open API service indexing awesome lists of open source software.

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.

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)