Skip to content
loootaiPublic

About

Open-source CRM with buying-intent signals built in. Companies, people, a pipeline board and an Intent tab per account. Next.js, Supabase and looot.

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Repository files navigation

looot-crm: an account Intent tab with a score of 54 broken down by signal kind, and the quote dialog that lists each looot job and its price before anything runs

Logos and names belong to their owners. Public data from a live run on 2026-10-13. No affiliation.

looot CRM

License Release Docs

Deploy with Vercel

An open-source CRM for a sales team of one to five people, with buying signals built in. It has companies, people, deals on a pipeline board and an activity timeline. Each account also has an Intent tab with five public signals (hiring, funding, tech stack, news, site changes) and a score from 0 to 100. Every signal is fetched on demand and shows its price before it runs.

It runs on Next.js and Supabase (auth and Postgres), deploys to Vercel, and gets its data from looot: one key and one prepaid balance for 2,500+ data API endpoints. This project is built on looot. It is not the looot dashboard.

Intent score with its arithmetic News with the source
Quote before a paid run Accounts ranked by intent
Spend page with every run Pipeline board, demo data

Walkthrough: companies, an Intent tab, the pipeline and the Spend page

Watch the MP4 (20 seconds).

What it replaces

A CRM seat (the Pipedrive, HubSpot Starter, Attio or folk kind) plus a separate enrichment and intent subscription (the Apollo or Common Room kind). In those products the intent data is a second plan or an upgrade, and none shows what one refresh costs. Here there is no data plan. A full refresh of one account is about $0.02 in looot calls, enriching one contact with email, verification and phone is about $0.05, and a failed call costs nothing.

What you give up: no email sequences, no dialer, no custom objects, no reports, no shared team workspace and no scheduled refresh. See Status.

What you need

  • Node 20.9 or newer (Next.js 16 requires it; package.json has no engines field and there is no .nvmrc). The tests, lint, typecheck, build and demo were run on Node 24.
  • For the demo, nothing else. No account, no token.
  • For the real app, a looot account and an agent token, plus a free Supabase project for sign-in and the database.

Create the looot account at https://looot.ai/auth/sign-up. Then get a token one of two ways.

With no browser (CI, a server), create the token in Settings > Agent tokens and run export LOOOT_TOKEN=.... The token needs the scopes runs.execute, catalog.read, runs.read and usage.read. A paid run needs a funded balance. The minimum top-up is $5, and signing up adds no credit. See https://docs.looot.ai/money.

Try it in one minute

git clone https://github.com/loootai/looot-crm && cd looot-crm && npm install --ignore-scripts && npm run demo

Open http://localhost:3217. Demo mode needs no Supabase project and no looot token. It runs on seeded data for a made-up seller of dock scheduling software: 14 companies, 41 people, 17 deals and 60 signals, with every date stored as an offset from now so it does not go stale. All company names are invented and every domain ends in .example. A "Demo data" badge sits in the top bar. Paid actions show the same quote as the real app, then play a simulated run, and the button says "Run (demo, no charge)". Changes last until the server restarts.

The only outside request in demo mode is the free price read from api.looot.ai. Set LOOOT_OFFLINE=1 to skip it and use the saved prices.

In demo mode you can force a state on a list page with ?state=empty or ?state=error. ?theme=dark and ?theme=light set the theme.

npm run demo starts next dev -p 3217. Next.js may write an AGENTS.md and a CLAUDE.md into the folder on first start. They are not part of this repo.

Run it with your own data

This repo is a web app. It has no command-line interface and no --dry-run flag. The quote dialog is the dry run. Every paid action opens it first, and it spends nothing until you press Run.

You need the sign-in setup in Run the web app with sign-in first, because the real app has no data without a Supabase project. Then:

cp .env.example .env.local
npm run dev

npm run dev serves http://localhost:3000. The app reads .env.local (Next.js loads it). These are all the variables the code reads.

Variable Needed What it does Where to get it
NEXT_PUBLIC_SUPABASE_URL yes Supabase project URL, used for sign-in and every query Supabase, Project Settings, API
NEXT_PUBLIC_SUPABASE_ANON_KEY yes Supabase anon key. The app uses it with the user's session only, there is no service role key Supabase, Project Settings, API
LOOOT_TOKEN for paid actions looot agent token, server only. Without it the CRM works and paid actions say the token is missing Settings > Agent tokens in looot
LOOOT_CRM_ALLOWED_EMAILS yes, outside demo Comma separated emails that may use the workspace. Case-insensitive, exact match. With this and the domains variable both empty, the app shows a setup page and refuses data, settings and spending You choose
LOOOT_CRM_ALLOWED_DOMAINS no Comma separated email domains that may use the workspace, for example acme.example. Exact domain, not a suffix You choose
SPEND_RATE_LIMIT_PER_MIN no Calls per user per minute to /api/quote and /api/actions. Default 30 Your choice
LOOOT_API_URL no Defaults to https://api.looot.ai Leave unset
PER_ACTION_MAX_USD no The most one action may spend. Default 2 Your choice
BULK_MAX_RECORDS no The most records one bulk action may touch. Default 50 Your choice
NEXT_PUBLIC_DEMO no 1 turns on demo mode Set by npm run demo
LOOOT_OFFLINE no 1 skips the price read and uses the saved prices Your choice

Start with Import CSV on the Companies page. The repo ships examples/companies.example.csv (3 companies, 3 contacts, fake .example domains). Pick it, check that the columns map to name, domain, first name, last name, title, email and LinkedIn, and import. Import is free, skips duplicate domains, and takes up to 2,000 rows. A test (src/lib/csv.test.ts) checks that this file maps and imports as 3 companies and 3 contacts.

Then open a company, go to the Intent tab and press Refresh on one signal. The quote shows the price. Results are saved in your Supabase project, and every run appears on the Spend page with its run id, cost and idempotency key.

Spending

  • Every paid action calls POST /api/quote first. It spends nothing and returns one line per step, the estimate and the worst case.
  • You confirm the most you want to spend. The cap on one action is PER_ACTION_MAX_USD, default 2 (dollars), and you can set a lower ceiling in Settings.
  • BULK_MAX_RECORDS defaults to 50 records per bulk action.
  • A full refresh of one account is about $0.02 at list price. Enriching one contact with email, verification and phone is about $0.05. Finding 10 more people is about $0.004. The tables are in looot jobs and prices.
  • A failed, blocked or empty call is recorded at its real cost, normally $0. A failed call is not charged.
  • Period budget. The owner sets a daily and a monthly budget for the whole workspace in Settings (defaults $5 a day and $50 a month, UTC). They live in the settings table. The request that starts an action cannot carry a budget, and the server ignores any budget fields in it.
  • Reservation. Before each paid call the app quotes the price, applies the per-action max and the per-run cap, then reserves the call's cap, the most looot may charge for it, in one database step. The step locks your settings row, adds spent + already reserved + this amount, and refuses if that passes the daily or the monthly budget. Two actions that start at the same moment cannot both pass.
  • What a reservation means. It is money set aside for a call that has not finished, and it counts against the budget as if it were spent. A completed call settles to its real cost. A failed call, or one looot refused, releases it. A call looot accepted but did not finish (queued, running, pending_provider, reconciliation_pending) keeps its reservation. It is not written as failed and it does not give budget back. The sidebar and the Spend page show used, held and left for today and for the month. When a budget is reached the action stops, the remaining steps are skipped with the reason, and the dialog says which budget and the numbers.
  • Crashes and slow runs. A reservation older than 15 minutes is checked against the run (GET /v1/runs/{id}) the next time an action starts. A finished run is settled to its real cost or released. A run that is still pending, or cannot be fetched (including a request that got no answer, since no run id came back), stays reserved until 24 hours after it was made, then it is released. A run that finishes after that is not counted, so keep the looot token balance as the last limit.

Run the web app with sign-in

The app uses Supabase Auth (magic link and Google) and a Postgres database. There is no local Docker stack in these steps.

  1. Create a project in the Supabase dashboard. In Project Settings, API, copy the project URL into NEXT_PUBLIC_SUPABASE_URL and the anon key into NEXT_PUBLIC_SUPABASE_ANON_KEY in .env.local.

  2. Apply the schema. There are two migrations, supabase/migrations/20261009000000_init.sql and supabase/migrations/20261011000000_period_budget.sql (the daily and monthly budget columns, the budget_reservations table and its functions, additive). Either link and push from a clone of this repo:

    npx [email protected] login
    npx [email protected] link --project-ref <your-project-ref>
    npx [email protected] db push

    Or open the SQL editor in the Supabase dashboard, paste each file in order and run it. If you already run 0.1.4, apply only 20261011000000_period_budget.sql before you deploy 0.1.5. Without it paid actions fail with a missing function error and make no call.

  3. In Supabase, Authentication, URL Configuration, add these redirect URLs. The app sends users to <origin>/auth/callback after the magic link or Google sign-in (src/app/auth/callback/route.ts).

    • http://localhost:3000/auth/callback for npm run dev
    • https://<your-app-domain>/auth/callback for the deployed app Set the Site URL to your deployed app URL.
  4. Optional, for "Continue with Google", turn on the Google provider under Authentication, Sign In / Providers and enter the client id and secret from your own Google Cloud project. Magic link works without it.

  5. Set the allow-list in .env.local, for example [email protected]. Without it nobody gets in, because every signed-in Supabase user would otherwise be able to read your data and spend your LOOOT_TOKEN.

  6. In Supabase, Authentication, Sign In / Providers, turn off "Allow new users to sign up" if only you and your team will use the app. The allow-list still protects you if you leave sign-ups open, but a closed project also stops strangers from creating accounts and sending magic-link emails from your project.

  7. Put the LOOOT_TOKEN in .env.local (see What you need), then npm run dev and open http://localhost:3000. Enter your email and click the link you receive.

Deploy

  1. Push the repo to your own GitHub account, or use the Deploy with Vercel button at the top.

  2. In Vercel, Add New, Project, import the repo. The framework preset is Next.js and the defaults work. The repo has no vercel.json.

  3. Add these environment variables before the first deploy.

    Name Value
    NEXT_PUBLIC_SUPABASE_URL your Supabase project URL
    NEXT_PUBLIC_SUPABASE_ANON_KEY your Supabase anon key
    LOOOT_TOKEN your looot agent token
    LOOOT_CRM_ALLOWED_EMAILS the emails that may sign in, comma separated (required)
    LOOOT_CRM_ALLOWED_DOMAINS optional, email domains that may sign in

    PER_ACTION_MAX_USD, BULK_MAX_RECORDS and SPEND_RATE_LIMIT_PER_MIN are optional. Turn off public sign-ups in your Supabase project too (see the sign-in steps above).

  4. Deploy, then add https://<your-vercel-domain>/auth/callback to the Supabase redirect URLs and set the Site URL to the same domain.

The repo has no scheduled workflow. Intent is checked only when you click.

Live run

On 2026-10-13 (UTC) the CRM ran against the real looot API for five accounts in the looot market: Clay, Apollo.io, Apify, Attio and HubSpot. The app ran in demo mode with an empty store and the real client switched on locally, so every signal, score and price on the Intent, Today, Companies and Spend screens comes from looot. Nothing in that local setup is committed.

  • Calls: 28 paid looot calls in six actions.
  • Charged: $0.1695 in total, read from the Spend page and the run costs.
  • Intent signals: news for all five accounts (8 to 10 headlines each), funding for Clay, Apify and HubSpot, hiring and tech stack for all five.
  • Company enrich: 5 calls, $0.0095.

What was good. The news calls were cheap ($0.00099) and returned real, sourced headlines. The quote and the run log matched on every cheap job.

What was bad.

  • The funding job charged $0.05 per account against a quote of $0.01. The per-run cap ($0.07) held, but the quote undercounts it. The saved price table in src/lib/jobs.ts should be checked against this.
  • Funding rounds came back with no dates, so every round counts as found today and scores the full 30 points. Titles such as "Seed Round - HubSpot" for a public company look like a loose match, not a clean history. Treat funding scores as unproven.
  • Company enrich returned a wrong industry for Clay ("maritime") and HubSpot ("renewable energy power generation"). The industry column is hidden in the card images for that reason.
  • Tech stack returned "categories only" for all five accounts: no signal, $0.
  • Hiring matched nothing for four of five accounts. Clay's one match came from a first pass that used the demo seller's keywords (logistics), so it is a miss, not a signal.

Still Demo data: the people (placeholders named Demo Contact), the five deals, their amounts and stages, the user name, and the looot balance in the sidebar.

Screens

Today. New signals grouped by account with the score change this week, what is due or overdue, and the open pipeline by stage. Today
Companies. Sort by score, a 12-week sparkline, the top signal, open deal value, and when intent was last checked. Keys: j k move, Enter opens, x selects, r refreshes intent. Companies table
Company page. Details on the left with the source and date of each enriched field, then Timeline, Intent, People and Deals tabs. Company page
Intent tab. The score, its history, and a table that shows how the five kinds add up to it. Then one section per signal with the looot job, its price and its own Refresh button. Intent tab
Not checked yet. A new account shows the price of each check before anything runs. Intent tab, not checked
A failed check. The section shows the error, the $0 cost and "Try again". Intent tab with a failed section
People. Email status as an icon and a word, phone, last activity, filters and bulk enrich. People table
Contact drawer. Each missing field has a Find button with its price. Contact drawer
Quote. Every paid action opens this first. Untick a step, lower the most you will spend, then run. Quote dialog
After the run. What each step returned and what it cost. Here the email was found and verified, and the phone lookup came back empty at $0. A step that returns nothing gets no check mark. Quote dialog after a run
Find more people like this. Starts from one contact's title. Nothing is saved until you pick. Find more people
Pipeline. Six stages with count and value. Cards carry the intent score and the next step, in amber when overdue or missing. Drag with the mouse, or pick a card up with Space, change its stage with the left and right arrows and its order with up and down, then Space again. Dropping on Won or Lost asks for the reason. Pipeline board
Deal. Stage stepper, the two newest signals as "Why now", next step, contacts with roles, timeline. Deal sheet
Spend. Every looot run the app made: job, run id, cost and idempotency key, next to the max you confirmed. Spend
Settings. Role keywords for the hiring match, watched pages, score weights, and your ceiling per action. Settings
Command palette. Cmd+K or /. ? lists every shortcut. Command palette
Sign in. Magic link and Google through Supabase Auth. Demo mode skips it. Sign in
Dark. Intent tab, dark

At phone width the sidebar becomes a bottom tab bar, tables become lists, and the board shows one stage at a time with a "Move to" menu on each card.

Today on a phone Companies on a phone Intent tab on a phone Pipeline on a phone

Quote on a phone Deal on a phone Spend on a phone Pipeline on a phone, dark

The score

The score is a sum you can check by hand, not a model.

  • Points per signal: a funding round 30, each open role whose title matches your keywords 8, each technology added or removed 10, a news item tagged funding, launch, leadership or partnership 6, other news 2, a changed watched page 5. You can edit these in Settings.
  • Caps per kind: funding 30, hiring 24, tech 20, news 16, site 10. They add up to 100.
  • Decay: a signal loses half its points every 30 days and counts zero after 90 days.

The Intent tab shows the points per kind and the total. The code is scoreCompany in src/lib/score.ts.

The first check of tech stack or a watched page saves a baseline and makes no signal, because there is nothing to compare with yet. Changes show from the second check.

looot jobs and prices

Read from the free catalog (GET https://api.looot.ai/v1/catalog/overview?depth=jobs, revision 101880) on 2026-10-08. The quote is the higher of the cheapest price per call and the cheapest price per result times the results one call is expected to return. The cap is sent as fallback.maxCostUsd, so looot does not charge one run more than that.

Feature looot job Providers Cheapest per call Cheapest per result Quote Cap per run
Enrich company company.enrich 21 $0.0019 $0.00145 $0.0019 $0.02
Intent: hiring jobs.search 7 $0.0005 $0.000145 $0.00145 (10 results) $0.02
Intent: news news.search 8 $0.00099 none $0.00099 $0.01
Intent: tech stack company.technographics 5 $0 $0.01 $0.01 $0.02
Intent: funding company.funding 3 $0.01 none $0.01 $0.07
Intent: site changes web.scrape.markdown 10 $0.0002 $0.001 $0.001 per page $0.005
Find work email people.email.find 17 $0.003598 $0.019 $0.019 $0.03
Verify email people.email.verify 13 $0.00145 none $0.00145 $0.01
Find phone people.phone.find 12 $0.00483 $0.0264 $0.0264 $0.06
Find more people people.search 17 $0 $0.00036 $0.0036 (10 results) $0.02

Totals you can redo by hand:

  • Refresh one account with two watched pages: $0.00145 + $0.00099 + $0.01 + $0.01 + 2 x $0.001 = $0.02444 estimated, $0.13 worst case.
  • Enrich one contact, all three steps: $0.019 + $0.00145 + $0.0264 = $0.04685 estimated, $0.10 worst case.
  • Find 10 more people: $0.0036 estimated, $0.02 worst case.

The app reads live prices from the same free endpoint, caches them for an hour, and falls back to the saved table in src/lib/jobs.ts when the catalog cannot be reached. The quote dialog says which one it used. The Spend page prints the table it is using.

The app calls jobs, not pinned endpoints, so looot picks the provider and the response body differs per provider. The readers in src/lib/extract.ts are tolerant: they look for the fields each provider documents and treat "nothing found" as no result. They were written from public docs and fixtures. No paid run was made while building this, so the first real run of a job may need a small reader fix.

How the money rules work

  1. Every paid action first calls POST /api/quote. It builds the plan on the server and returns one line per step, the estimate, the worst case, and where the prices came from. It spends nothing.
  2. You confirm the most you want to spend. POST /api/actions rebuilds the plan on the server and never trusts prices from the browser.
  3. For each run the cap is the smaller of the job's cap and what is left of your max, and that cap is then reserved against the daily and monthly budget (see Spending). If what is left is below the job's quote, the run is skipped and the action ends as "stopped at max". Actual spend cannot pass the max you confirmed. The actions table also has a check constraint actual_usd <= max_cost_usd.
  4. Each run carries an idempotency key, crm:<actionKey>:<job>:<target>. A retry or a double click replays the stored run and does not charge again. runs has a unique index on it.
  5. Steps that would be pointless are not paid for. Verification does not run when no email was found.
  6. A failed, blocked or empty run is recorded with its real cost, which is normally $0.
  7. A run whose end is unknown keeps its cap held out of your max. That is a run still going when the app stops polling (about a minute), or a request that got no answer. looot may still charge it later, so the steps after it only get what is left. The run row says how much is held.
  8. PER_ACTION_MAX_USD (default 2) and BULK_MAX_RECORDS (default 50) are server limits. Your typed max is clamped to the first, and to the lower ceiling you can set in Settings.

LOOOT_TOKEN is read in src/lib/looot.ts, src/lib/api.ts and the balance route, all of which import server-only. There is no NEXT_PUBLIC_ copy. The build was checked with a fake token: grep -r over .next/static does not find the value. The variable name does appear there once, inside the error message "LOOOT_TOKEN is not set on the server".

Securing a deployment

Versions before 0.1.4 let any signed-in Supabase user use the workspace. If your Supabase project allows open sign-ups (the default), a stranger could create an account, read the data, change settings and spend your LOOOT_TOKEN. Upgrade and set the allow-list.

What is public: /login, /auth/callback (the sign-in landing), /setup and /not-authorised (static messages), and static assets. Everything else is private: every page, /api/quote, /api/actions, /api/actions/[key], /api/balance, /api/export, /api/import and every server action. An unlisted path is private. The app has no webhook or cron route.

How access works:

  • Set LOOOT_CRM_ALLOWED_EMAILS (and optionally LOOOT_CRM_ALLOWED_DOMAINS). The server checks it in the proxy, in each route handler and in each server action. The email must also be confirmed in Supabase.
  • With no allow-list the app is closed. Signed-in users see the setup page and the APIs answer 503. A signed-in user not on the list sees "not authorised for this workspace" and the APIs answer 403.
  • The allow-list is the only gate for sharing your LOOOT_TOKEN: every allowed user spends from the same looot balance. Each user's rows stay separate through row level security (npm run test:rls), but the token and the server limits PER_ACTION_MAX_USD and BULK_MAX_RECORDS are shared.
  • Spending: the limits are the per-action cap (the server limit and the ceiling in Settings, which a caller can only lower) and the workspace daily and monthly budget, which a run request cannot change at all. Every run rebuilds its plan from record ids on the server (the same plan /api/quote shows), and the idempotency key of each looot call is derived from the action key and the step, so a retry never charges twice. Each user gets SPEND_RATE_LIMIT_PER_MIN calls a minute on the quote and action routes.
  • The rate limit lives in memory, so each server instance counts for itself. On a host that runs several instances (several Vercel function instances, several containers) a user gets SPEND_RATE_LIMIT_PER_MIN calls a minute from each one. Treat it as a per-instance brake. The hard limit is the budget in your database. Before each paid call the reserve_budget function locks your settings row, adds spent (runs) and reserved (budget_reservations) and writes the reservation in the same transaction. Actions that start at the same moment on different instances queue on that lock, so what they hold together never passes the budget. Nothing about the budget sits in memory. Before 0.1.5 there was no total across actions: only the per-instance rate limit and the token balance bounded a day or a month of spend. That is fixed.
  • What the budget does not cover. A call that costs more than its cap cannot happen, because looot enforces the cap, but a reservation released after 24 hours for a run that never reported back may have cost money that no row records. And the budget only limits calls this app makes. The looot token balance is the final limit. Create a dedicated token for this app and fund it with only what you are willing to spend. If the app, its database or a signed-in user is ever compromised, that balance is all an attacker can spend.
  • next on the sign-in callback is accepted only as a same-origin relative path.
  • Turn off public sign-ups in Supabase (Authentication, Sign In / Providers) when only your team will use the app.
  • A stronger option is to put the app behind a VPN or an identity-aware proxy so strangers never reach it.
  • Demo mode (NEXT_PUBLIC_DEMO=1) has no sign-in and no real data. Do not set LOOOT_TOKEN on a demo deployment.

Data model and security

The migrations create 12 tables: companies, contacts, deals, deal_contacts, activities, signals, signal_baselines, score_history, actions, runs, settings and budget_reservations. Every table has owner_id uuid default auth.uid(), row level security enabled and forced, and four policies for the authenticated role with owner_id = (select auth.uid()). The anon role can read nothing. The app uses the anon key with the user's session only. There is no service role key.

npm run test:rls proves it on a throwaway local Postgres started with initdb and pg_ctl (no Docker, no Supabase project). A second user sees, updates and deletes zero rows of the first user in all 12 tables, cannot insert a row with a forged owner, and cannot point a row at another owner's company. It also checks that an actions row with actual above max is refused. The script prints "SKIPPED" when PostgreSQL is not installed.

Troubleshooting

These are the exact messages in the code.

Message What it means and what to do
Supabase is not configured (sign-in page) NEXT_PUBLIC_SUPABASE_URL or NEXT_PUBLIC_SUPABASE_ANON_KEY is empty. Set both in .env.local and restart npm run dev, or run the demo.
That sign-in link has expired or was already used. Ask for a new one. The magic link works once. Request a new one. Check that <origin>/auth/callback is in the Supabase redirect URLs.
Sign in first. (HTTP 401 from the app's own API) Your Supabase session is gone. Sign in again.
LOOOT_TOKEN is not set on the server. Add it to .env.local No token. Create one (see What you need), put it in .env.local or the Vercel environment variables, and restart.
looot returned HTTP 401 or the message looot sends back The token is wrong, revoked or missing a scope. Create a new one with runs.execute, catalog.read, runs.read and usage.read.
Balance too low. Top up at looot.ai (HTTP 402, or a blocked run) The balance cannot cover the run. Top up at https://looot.ai (minimum $5). The action stops at the first such error.
The run did not finish in time (status ...). It may still complete, so $... of the max is held. The app stopped polling after about a minute. The run may still finish and be charged up to its cap. The Spend page shows the run id.
The provider returned an error. or The run was stopped before it finished. The run failed or stopped. It cost $0. Try again.
This provider returned categories only, No funding round found, The page returned no text, No company field found, No person returned The response parsed but held nothing the app can use, or its shape is one the parser does not know. The section shows $0 or the real cost. If you think the provider did return data, file an issue with the raw body.

How to file an issue. Open one at https://github.com/loootai/looot-crm/issues with the run id (on the Spend page), what you clicked, and the raw response body with secrets removed.

Status

  • No real looot run was made while building this. Prices and job ids come from the live catalog. Result readers come from provider docs and fixtures. If a reader fails on a real response, open an issue with the raw response body (secrets removed).
  • Not run against a hosted Supabase project. The migration and row level security were tested on local Postgres, and the Supabase code path passes typecheck and build. Sign-in was not clicked through with a real project.
  • people.search passes job_title and limit as sent, and only some providers use those names. The app also filters returned people by your title keywords and says how many matched.
  • The cheapest company.technographics provider returns category counts, not named technologies. The added and removed lists need named technologies. Otherwise the section says the provider returned categories only.
  • company.funding has three providers and two of them do not key on a domain. If the run fails on input, the section shows the error at $0. Funding news still arrives through news.search.
  • One workspace per sign-in. A shared team workspace needs a members table and new policies.
  • No scheduled refresh. Intent is checked when you click.
  • No email sending, no sequences, no dialer, no sync to another CRM. CSV import and export instead.
  • No contrast audit tool was run. Colors were picked to pass AA and checked by eye in both themes.
  • Some icon buttons are 24 to 28 px at phone width (row actions on Today, the row expander in Spend, keyword chips in Settings). The target is 40 px.
  • The spend chart shows a day's split on hover only. There is no keyboard path to it yet. The table under it has the same numbers.
  • npm audit reports braces (a lint-time dependency, no fixed version published). Nothing from it ships in the app.
  • Later signal kinds from the catalog: lookalike accounts (company.similar), a contact changed jobs (people.job-change), a company job board (jobs.company).

Develop

npm ci
npm run typecheck
npm run lint
npm test
npm run test:rls
npm run build

npm test runs vitest tests with looot mocked: the score rule with decay and caps, plan and worst case per action, the max-cost guard (including the hold on a run that has not ended), the period budget (concurrent reservations on a throwaway Postgres, pending, failed and late runs, expired reservations), idempotency, each result reader on fixtures, CSV mapping and duplicates, and the demo seed sums. scripts/screenshots.mjs retakes the README screenshots from a running demo with headless Chrome. Start the demo fresh first, since demo writes last until the server restarts.

Dependencies are pinned to exact versions and .npmrc sets ignore-scripts=true. scripts/leak-scan.sh runs before each commit once you run git config core.hooksPath .githooks.

License

MIT. See LICENSE. looot privacy policy: https://looot.ai/privacy. Terms: https://looot.ai/terms. Support: https://looot.ai/contact.

About

Open-source CRM with buying-intent signals built in. Companies, people, a pipeline board and an Intent tab per account. Next.js, Supabase and looot.

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages