跳到正文
DEV Community· Zarko Zivkovic·· 7 小時前AI 評分52

Zarko Zivkovic 用 Node.js、Express 和原生 JavaScript 六天打造 Namedrop AI 可見度 SaaS

Building an AI Visibility SaaS in Six Days With Node.js, Express and Vanilla JavaScript

AI 導讀

作者 Zarko Zivkovic 在 11 月 17 日至 11 月 23 日間,以 Node.js、Express 和原生 JavaScript 將 Namedrop 從首個可運作的 Alpha 開發成公開推出的 AI 可見度 SaaS。

正文

No React. No Next.js. No external database. No complicated deployment infrastructure.

Just Node.js, Express, vanilla JavaScript and a Linux VPS.

Between November 17 and November 23, I took Namedrop from its first working alpha to a publicly available SaaS product with payments, authentication, four AI engines, sentiment analysis, reporting, a Chrome extension and an MCP server.

The six days refer to the build itself. Market research, competitor testing and refining the idea happened beforehand.

The problem I wanted to solve

AI assistants are becoming another channel through which people discover and compare products.

But measuring that visibility is complicated.

Ask ChatGPT, Gemini, Claude and Perplexity the same question, and you'll often get different recommendations, different sources and different descriptions of the same product.

Ask the same engine again, and even that answer might change.

I wanted to build something that would make collecting, comparing and analyzing those answers easier without requiring another monthly subscription.

The technology stack

I deliberately kept the stack lightweight.

Component Technology
Frontend Vanilla JavaScript, HTML, CSS
Backend Node.js, Express 4
Data storage File-based JSON datastore
Page analysis Cheerio
Charts Inline SVG
Payments Paddle Billing
Authentication Google OAuth, email and password
Transactional email Resend
PDF generation PDFKit
Browser extension Chrome Manifest V3
MCP server Official MCP SDK, Zod
Hosting Ubuntu, nginx, Let's Encrypt

The application is a single-page app built with plain JavaScript. The landing page, pricing, documentation and changelog are rendered on the server.

There is no frontend framework.

That isn't a statement against frameworks. React, Vue and others solve real problems. But I didn't see enough benefit in introducing one for this particular application.

The same applies to the datastore. File-based JSON is sufficient for the current alpha, but it isn't necessarily the right long-term choice. Concurrency, data integrity and growing usage will determine when that architecture needs to change.

The interesting problem: AI answers aren't deterministic

Traditional rank tracking has a relatively straightforward unit of measurement: a keyword, a search engine and a ranking position.

AI visibility introduces a different problem.

An answer can mention your brand without recommending it. It can recommend your product while citing somebody else's website. It can cite your documentation while recommending a competitor.

And the next answer to the same question can be different.

Treating all of these outcomes as equivalent would produce misleading results.

Namedrop separates several dimensions:

  • Whether a brand appears in an answer.
  • Its position and recommendation.
  • Which competitors appear.
  • Which sources are cited.
  • The sentiment surrounding the brand.

Users can also run each question one, three or five times.

Five runs aren't enough to establish statistical certainty, but they provide more information than treating a single generated answer as a stable ranking.

Saved question sets can be rerun and compared against earlier results.

Sentiment needs evidence, not just a score

A positive or negative sentiment label is easy to display. Making it useful is harder.

Consider an AI-generated answer that recommends a product for its functionality but criticizes its pricing.

Is that positive or negative?

Namedrop supports positive, mixed, neutral and negative classifications, but also exposes the evidence behind them:

  • A short description of the praise or criticism.
  • The exact sentence from the answer.
  • The sources associated with that sentence.

The objective is to let users inspect the underlying evidence rather than blindly trust a classification.

Sentiment analysis also works on saved runs without requiring users to spend additional credits.

Building a prepaid credit system

I didn't want to build another subscription product.

Namedrop uses prepaid credits, and those credits never expire.

From an implementation perspective, that introduces its own requirements.

Different operations have different costs. Users need to understand those costs before running a check. Failed answers shouldn't consume their balance. Payments need to be reconciled with account credits.

The payment integration uses Paddle Billing, Paddle.js checkout and signed webhooks.

Failed answer checks automatically return the corresponding credits.

Repeat runs are discounted by 20%, encouraging users to compare results over time instead of treating their first check as a definitive answer.

A prepaid system also changes the product's relationship with its users. Someone can run an audit today, disappear for three months and return without having paid for anything in between.

Page audits: not every page has the same job

The second major component is a page citability audit.

It analyzes how easily AI assistants could read, understand, trust and quote a page.

The HTML parsing uses Cheerio, and the audit criteria vary depending on the page type:

  • Homepage
  • Article
  • Product page
  • Comparison page

A comparison page shouldn't necessarily be evaluated using the same criteria as a homepage.

The audit returns a score and prioritized recommendations.

Importantly, this is a diagnostic assessment, not a guarantee that an AI engine will cite the page. Actual citation behavior needs to be measured separately.

Two additional interfaces: Chrome and MCP

I didn't want every interaction with Namedrop to require opening its dashboard.

Chrome extension

The Chrome extension uses Manifest V3 and plain JavaScript.

It allows users to audit the page they're currently viewing and check whether AI assistants cite it.

For someone reviewing a website, that removes the need to repeatedly switch between browser tabs and copy URLs.

Model Context Protocol

The MCP integration takes this a step further.

It allows compatible AI assistants to run visibility checks, perform page audits and retrieve results directly within a conversation.

The server uses:

  • The official MCP SDK.
  • Streamable HTTP transport.
  • Zod schemas.
  • OAuth 2.1 with PKCE.
  • Dynamic client registration.

Users approve a spending limit, which matters when an assistant can initiate operations that consume prepaid credits.

The MCP integration effectively turns Namedrop from a standalone dashboard into a capability that can participate in larger research and analysis workflows.

What shipped in six days

Date Release Main additions
Nov 17 Alpha 0.1 Answer checker, page audits, prepaid credits
Nov 19 Alpha 0.2 Payments, page-specific audits, authentication, failed-check refunds
Nov 20 Alpha 0.3 Redesigned interface, PDF reports, CSV exports
Nov 21 Alpha 0.4 Repeatable checks, saved runs, Google login, gift codes
Nov 22 Alpha 0.5 Projects, sentiment analysis, trend charts, Chrome extension, MCP
Nov 23 Alpha 1.0 Public launch

The full changelog is public:

https://namedrop.coreaex.com/changelog

What six days doesn't mean

It doesn't mean the product is finished.

It doesn't mean the architecture has been validated at scale.

And it certainly doesn't mean that market research, security, testing and maintenance have become unnecessary.

AI-assisted development makes it considerably easier to implement ideas quickly. It doesn't automatically make those ideas good, nor does it remove the need to verify what has been built.

The interesting challenge now is deciding which features deserve further investment, which architectural decisions need revisiting and which things users don't actually need.

I've already made changes based on community feedback, and I expect that process to continue.

Launching today

Namedrop is publicly available and launching on Product Hunt today.

New accounts receive 25 free credits, and there's no subscription.

I'd be particularly interested in hearing from other developers who have shipped commercial products using lightweight stacks and AI-assisted development.

Has AI changed your architectural choices, or has it simply made it easier to build increasingly complicated things?

And at what point do you decide that your intentionally simple architecture is no longer simple enough to maintain?

來源:DEV Community · dev.to