Haldwani Times
Haldwani Times
Technology

Show HN: A CLI that measures whether AI answers cite your site

Show HN: A CLI that measures whether AI answers cite your site
Photo / Illustration: Haldwani Times Editorial Desk

Measure how often AI-generated answers cite your website—reproducibly, from the command line.

The image is an illustration; the numbers in it are not a measurement.

AI Citation Monitor is an open-source, Go-based CLI for measuring GEO (Generative Engine Optimization) and AEO (Answer Engine Optimization) outcomes. It runs a versioned set of questions against search-enabled AI APIs, stores citation evidence in SQLite, and reports visibility, competitor comparisons, and changes over time.

日本語 · CLI reference · Metrics · Providers

These are sample-based observations, not overall AI search rankings. Results describe the configured questions, providers, models, stages, and runs only. They do not represent every user's ChatGPT, Gemini, or Claude experience. The same disclaimer is mandatory in generated reports.

Traditional SEO analytics cannot directly tell you whether a particular AI answer cited your website. aicm makes that question testable and auditable:

Evidence-based citation tracking: extract citations from provider response metadata, not URLs guessed from answer text.

Brand and question visibility: track brand mentions, per-question citation rates, and question coverage.

Competitor comparisons: measure competing domains under the same test conditions.

Historical trends: compare periods and display daily, weekly, or monthly changes.

Reproducibility: preserve question versions, model and API conditions, timestamps, answer hashes, and—when enabled—raw responses.

Automation-friendly CLI: JSON output, stable exit codes, and CSV/JSON/JSONL exports; no web UI or hosted account required.

aicm is one static binary — no C compiler, no runtime dependency — for macOS and Linux on amd64 and arm64, and for Windows on amd64.

Download the archive for your platform from the latest release, together with the checksums.txt published beside it:

Check the archive against the published checksum before running it:

VERSION=0.3.0 # the release you downloaded ARCHIVE=ai-citation-monitor_${VERSION}_darwin_arm64.tar.gz # your platform grep "$ARCHIVE" checksums.txt | shasum -a 256 -c - # Linux: ... | sha256sum -c - tar xzf "$ARCHIVE" mkdir -p ~/.local/bin && install -m 0755 aicm ~/.local/bin/aicm # or: sudo install -m 0755 aicm /usr/local/bin/aicm aicm version The archive has no directory level: it holds aicm, LICENSE, the READMEs, docs/ and examples/. On Windows, compare (Get-FileHash .\ai-citation-monitor_0.3.0_windows_amd64.zip -Algorithm SHA256).Hash with the line in checksums.txt, expand the .zip, and put the folder on your PATH.

Go 1.26.11 or newer (per go.mod):

go install github.com/routeflags/ai-citation-monitor/cmd/aicm@latest go install writes to $(go env GOBIN), or to $(go env GOPATH)/bin when GOBIN is unset; that directory has to be on your PATH.

git clone https://github.com/routeflags/ai-citation-monitor cd ai-citation-monitor make aicm # ./aicm, stamped with the git version (`go build -o aicm ./cmd/aicm` also works) make check # gofmt, vet, build, test, race, lint, govulncheck — what CI runs There is no Homebrew, apt/dnf, Scoop or container package yet; pick one of the three ways above.

A recorded, offline walkthrough of setup and a dry run. It does not make live API calls.

1. Create a project and import questions

aicm init --non-interactive \ --site-id example-shop \ --own-domain example.shop \ --brand-terms "Example" aicm questions import --file examples/questions.yml The example question set uses site_id: example-shop. For a real project, replace the sample domain, brand terms, and questions with your own and keep their versions stable between comparisons.

A question set is a small YAML file. The minimum that works:

set_version: "1.0.0" site_id: example-shop own_domain: example.shop market: ja-JP language: ja brand_terms: - Example competitors: [] questions: - { id: Q01, text: "What is Example?", category: definition } - { id: Q02, text: "How does Example compare with Rival?", category: comparison } stages: smoke: runs_per_question: 1 question_ids: [Q01] initial: runs_per_question: 3 question_ids: [Q01, Q02] aicm questions import --file questions.yml --check validates the file and writes nothing: the stage nesting (smoke ⊆ initial ⊆ regular when present), runs_per_question (1–5), and the round-trip count per stage. Drop --check to store the set; aicm questions list shows what is stored.

set_version is the identity of the set. Change it in the same edit that changes a question text, or a later comparison reads as a change in citations when only the wording moved.

category is one of definition, comparison, regulation, effect, safety, usage, purchase, list, identification, dosage.

competitors: [] is allowed. The import warns (I042) that the share table will show own / other only.

2. Preview the calls before spending money

aicm run --provider openai --model YOUR_SUPPORTED_MODEL \ --stage smoke --repeat 1 --dry-run --dry-run does not call a provider or require an API key. The tool does not calculate a monetary quote; check provider pricing separately.

3. Run a measurement

export OPENAI_API_KEY="your-api-key" aicm run --provider openai --model YOUR_SUPPORTED_MODEL \ --stage smoke --repeat 1 --yes Models must be specified with --model or in aicm.toml; the tool does not guess a model. A real run calls a paid third-party API. Start with a small question set and --limit if needed. Keep API keys out of configuration files and version control.

4. Inspect the results

aicm report --period 30d aicm compare --period 30d --baseline previous aicm trends --interval weekly --period 90d aicm verify Reports are written to the configured report directory (default reports/). For CSV or JSON data use aicm export.

What a report looks like

A recorded report view, generated from saved data without live API calls. The figures shown are sample observations, not a benchmark.

Static report screenshot

Question design shapes what you observe

A small observation on 2026-11-28, using Perplexity (openai/gpt-5.6-sol), --store hash-only, and the same conditions for both five-question sets, returned different citation counts:

General-knowledge questions (for example, quantum entanglement, the aurora, and olive-oil production): own-site citations 0.0% (n=0/5).

Questions needing current information (for example, Tokyo's current population, Japan's prime minister, the latest stable Go release, Japan's inflation rate, and G20 membership): own-site citations 60.0% (n=3/5).

The report also shows domain citation rates such as 60.0% (n=3/5) for the own domain and 20.0% (n=1/5) for other domains; these are figures from that exact sample, not benchmarks.

This is a single small sample, not evidence that changing a question causes more citations or that other providers and models behave the same way. A zero citation count can mean that the provider did not run web retrieval or return citation metadata; it does not necessarily mean the site was searched and rejected. Keep the question set and model fixed when comparing periods.

Interpretation matters: every rate reports its denominator n. n = 0 means not measured, never 0% visibility. Failed calls or responses without citation observability are not silently treated as uncited answers, and the status of a call and the observability of its citations are separate dimensions. Rates are grouped by provider × model × stage; when a period puts records of different measurement conditions into one group, the report lists the fields that differ (mixed_conditions) instead of presenting the average as one measurement. Competitor citation rates can add up to more than 100% because an answer can cite multiple domains. Citation share counts hosts, so it is read separately from the per-site citation rate. For exact numerators and denominators, see metrics definitions.

Global --json mode keeps stdout machine-readable and sends diagnostics to stderr. See the complete CLI reference for command flags, output examples, and exit codes.

Supported providers and validation status

These observations verify specific response shapes, not universal model support or a completed production measurement. A full live question-set study has not been performed. Tests also cover citation extraction, retry behavior, rate limits, concurrent calls, and interruption/resume behavior. See provider details.

Privacy, reliability, and cost

Local-first: SQLite is the source of truth; no hosted backend or external database is required.

Evidence retention: full mode stores answer text and provider JSON for later inspection, with credential redaction. Use aicm run --store hash-only or store_answer_body = false to omit those bodies; it preserves aggregate metrics but limits later reinspection.

Resumable: previously recorded question/provider/model/repeat/stage/session conditions are skipped on rerun. This includes recorded failures; use a new --session after fixing a failure if you want to retry it.

Explicit spending: interactive runs require confirmation; non-interactive real runs require --yes. Retries at the HTTP level may still incur provider charges.

No ranking promises: citation rates depend on question selection, geography/language settings, provider behavior, model versions, and the observation period.

Scope and project documentation

Phase 1 is a CLI-only tool supporting OpenAI, Gemini, Anthropic, Perplexity, and Grok. It does not include a web UI, server, or scheduler.

Architecture — code structure, data flow, storage

Metric definitions — exact calculation rules

Provider integrations — response metadata and API caveats

CLI reference — commands, flags, error handling

Configuration example and questions example

Contributing and Security

Changelog — release notes

Phase 1 decisions (Japanese)

This column outlines the principles that guide how we engage with OSS. These principles are the reason we continue our day-to-day OSS activities and writing. It reframes long-unreviewed social structures as a form of technical debt. We would be glad if you take a look.

Engineering Blog: Society Also Has Technical Debt

How to Measure AI SEO Performance: Tracking GEO/AEO Citation Rates — An in-depth guide to AI citation monitoring, published by ROUTE FLAGS Co., Ltd. (Japanese).

Apache License 2.0. See LICENSE.

Source Attribution: This report incorporates information referenced or syndicated from Github.com. Read original coverage at Github.com.

More from Technology →
Haldwani Times
Haldwani Times Independent News & Editorial
Login
MARKETS & FINANCE
BRENT CRUDE: $78.40 -0.52% SENSEX: 81,450.20 +0.42% NIFTY 50: 24,820.15 +0.38% GOLD (24K): ₹74,500/10g -0.18% USD/INR: ₹95.54 +0.10%

ADMINISTRATIVE LEADERSHIP

Mr. Narendra Modi
Mr. Narendra Modi
Mr. Lt. Gen. Gurmit Singh
Mr. Lt. Gen. Gurmit Singh
Mr. Pushkar S. Dhami
Mr. Pushkar S. Dhami
Mr. Lalit M. Rayal
Mr. Lalit M. Rayal
Mr. Gajraj S. Bisht
Mr. Gajraj S. Bisht

Top Headlines & Breaking Stories

View All News →

Haldwani Times – Everything in Haldwani: News, Shops, Businesses & Services

Haldwani Times is the premier digital news and commercial discovery platform built specifically for the citizens, business owners, students, professionals, and visitors of Haldwani, Nainital district, and the wider Kumaon region of Devbhoomi Uttarakhand. As the economic gateway to the Kumaon Himalayas, Haldwani is a bustling metropolis connecting the plains of northern India with the scenic mountain districts of Nainital, Almora, Pithoragarh, Bageshwar, Champawat, and Udham Singh Nagar. Haldwani Times serves as the definitive digital heartbeat of the city, bringing breaking hyperlocal news, verified commercial directories, educational updates, healthcare guides, Mandi Bhav rates, and civic announcements onto a single unified, trusted platform.

The Definitive Source for Breaking Haldwani News & Civic Updates

Haldwani stands as one of the fastest-growing urban conglomerates and commercial engines in northern India. Positioned in the fertile Terai-Bhabhar belt at the foothills of the Shivalik range, the twin cities of Haldwani and Kathgodam form the administrative and logistical nerve center for the entire Kumaon division. With rapid urbanization, expanding commercial infrastructure, flourishing educational centers, and increasing inter-state transit, the demand for fast, fact-checked, and unbiased local journalism has never been greater. Haldwani Times delivers 24/7 comprehensive news coverage built on rigorous journalistic standards: - **Hyperlocal Civic News:** Real-time coverage of municipal corporation affairs, city drainage projects, traffic management blueprints, and road widening drives across Tikonia, Mukhani, Kusumkhera, Bareilly Road, and Rampur Road. - **Administrative Directives:** Official notifications from the District Magistrate (DM) Nainital, Senior Superintendent of Police (SSP), and state secretariat decisions affecting citizen welfare. - **Kumaon Weather & Disaster Alerts:** Timely mountain rainfall warnings, landslide advisories along NH-109 (Haldwani-Nainital Highway), and emergency bulletins during the monsoon and winter seasons. - **Education & Campus News:** Timely reports on Kumaon University examination schedules, Uttarakhand Board (UBSE) results, medical college admissions, and competitive coaching updates. - **Commercial & Market Trends:** Daily wholesale Mandi Bhav rates from Haldwani Subzi Mandi, real estate trends, retail market festivals, and local business openings. - **Cultural & Pahadi Heritage:** In-depth feature stories celebrating Kumaoni folk traditions, Aipan art, Nanda Devi festivals, and local community milestones.

Everything in Haldwani on One Unified Digital Ecosystem

Beyond traditional news reporting, Haldwani Times is engineered as an exhaustive local discovery engine. Historically, finding verified local business telephone numbers, emergency hospital contacts, specialized doctors, reliable plumbers, or trusted real estate consultants in Haldwani required asking neighbors or browsing outdated social media posts. Haldwani Times eliminates this friction by organizing every commercial, professional, and civic resource into searchable, verified categories. Whether you are a newly arrived resident in Kusumkhera looking for high-speed broadband providers, a parent searching for reputable CBSE schools near Kaladhungi Road, or a tourist seeking taxi rentals to Nainital, our portal delivers accurate, verified, and actionable information in seconds.

Local Shops, Retail Hubs & Traditional Bazaars in Haldwani

The retail commerce of Haldwani spans centuries-old traditional bazaars and modern commercial complexes: - **Bada Bazaar & Mangal Parao:** The historic retail heart of Haldwani, renowned for traditional Kumaoni wedding jewelry (Pauji, Guloband, Nath), brass utensils, ethnic handlooms, and wholesale clothing. - **Nainital Road & Tikonia Commercial Corridor:** Modern multi-brand retail showrooms, electronics stores, authorized smartphone service centers, branded footwear outlets, and international apparel stores. - **Bareilly Road & Rampur Road Trade Hubs:** Major agricultural machinery dealers, hardware and building material wholesalers, furniture manufacturing units, plywood distributors, and automobile showrooms. - **Subzi Mandi & Wholesale Grain Market:** One of the largest agricultural distribution centers in North India, supplying fresh vegetables, hill fruits (apples, peaches, plums), and organic Pahadi pulses (Gahat, Bhatt, Rajma) across northern states.

Healthcare Hub of Kumaon: Hospitals & Emergency Services

Haldwani serves as the premier medical lifeline for all six hill districts of Kumaon. Patients travel from Almora, Pithoragarh, Bageshwar, and Champawat to access specialized clinical treatments in Haldwani: - **Government Healthcare Institutions:** Dr. Susheela Tiwari Government Medical College & Hospital (STGH) and Base Hospital Haldwani provide tertiary trauma care, specialized super-specialties, pediatric ICUs, and 24/7 emergency response. - **Private Multi-Specialty Hospitals:** Advanced private medical centers specializing in cardiology, joint replacements, neurology, critical care, nephrology, and advanced laparoscopic surgeries. - **Diagnostic Centers & 24/7 Pharmacies:** Fully automated pathology laboratories, high-resolution MRI/CT scan centers, and round-the-clock emergency pharmacies clustered around Medical College Road, Kaladhungi Road, and Rampur Road.

Education, Colleges, Coaching Academies & Youth Development

Haldwani is the educational capital of the Kumaon region, home to thousands of ambitious students preparing for medical, engineering, defense, and civil services careers: - **Premier Degree Colleges:** Motiram Baburam Government Post Graduate College (MBPG College) and Women's Degree College providing extensive undergraduate and postgraduate humanities, commerce, and science programs. - **Competitive Coaching Ecosystem:** Highly reputed coaching academies for NEET UG, JEE Main & Advanced, UPSC Civil Services, UKPSC/UKSSSC, NDA, CDS, and Banking examinations along Kaladhungi Road and Tikonia. - **Affiliated Schooling Infrastructure:** Esteemed CBSE, ICSE, and Uttarakhand Board schools imparting value-based holistic education with modern sports and laboratory facilities.

Real Estate, Housing Colonies & Urban Expansion Trends

Driven by rapid infrastructure expansion and high quality of life, Haldwani's real estate market is expanding outward into organized residential colonies: - **Prime Residential Localities:** Highly sought-after residential sectors in Mukhani, Kusumkhera, Kaladhungi Road, Judge Farm, Daharia, and Bhotia Parao offering planned housing, green parks, and modern civic amenities. - **Commercial Property Investments:** Thriving commercial retail complexes, office spaces, and warehouse hubs developing rapidly along the proposed Haldwani Ring Road and transport corridors. - **Property Advisory & RERA Compliance:** In-depth real estate updates, circle rate revisions by the Nainital district administration, and buyer advisory guidelines for safe property acquisitions.

Strategic Transit Gateway, Tourism Routes & Kumaon Himalayan Connectivity

Haldwani-Kathgodam is the vital transit bridge connecting the plains of Delhi NCR and Uttar Pradesh with the hill stations of Uttarakhand: - **Kathgodam Railway Terminal:** Connecting Kumaon directly to New Delhi (Shatabdi Express, Ranikhet Express), Lucknow, Kolkata, Jammu, and Dehradun. - **ISBT Haldwani:** Operating round-the-clock interstate and mountain bus routes managed by Uttarakhand Transport Corporation (UTC) and private deluxe coaches. - **Pantnagar Airport (PGH):** Located just 26 km from Haldwani, offering scheduled domestic flights to New Delhi, Dehradun, Pithoragarh, and regional hubs. - **Himalayan Tourism Hub:** The primary staging point for journeys to Nainital (34 km), Bhimtal (30 km), Mukteshwar (72 km), Kainchi Dham (42 km), Almora (90 km), Ranikhet (80 km), and Jim Corbett National Park (55 km).

Gaula River Mining, Ecological Balance & The Bhabhar Economy

The Gaula River represents the undisputed economic and hydrological lifeline of Haldwani and the broader Nainital district. Originating from the Sattal-Bhimtal catchment in the lesser Himalayas, the river flows south past Kathgodam and Haldwani before merging into the Ramganga. For generations, the Gaula riverbed has provided the foundation for both regional agriculture and the construction economy across northern India: - **Regulated Minor Mineral Extraction:** During the open mining season (typically October to May), thousands of registered tractor-trolleys and heavy dumpers harvest riverbed gravel, sand, and boulders under strict surveillance by the Uttarakhand Forest Development Corporation and the Nainital district administration. - **Livelihood Support for Over 50,000 Families:** The Gaula mining economy directly and indirectly sustains vehicle owners, drivers, mechanics, diesel pump stations, roadside eateries, and local laborers, circulating over ₹500 crore into Haldwani's local markets annually. - **Environmental Safeguards & Flood Mitigation:** In strict adherence to High Court and National Green Tribunal (NGT) directives, scientific replenishment studies, satellite GPS tracking on transport vehicles, and seasonal mining bans during the monsoon protect the river's ecological balance and prevent bank erosion along low-lying residential sectors.

Culinary Landscape: From Traditional Kumaoni Rasoi to Modern Cafes

Haldwani's gastronomic scene reflects a delightful blend of rustic mountain traditions and cosmopolitan dining: - **Authentic Kumaoni Specialties:** Local restaurants and heritage dhabas serve traditional mountain delicacies cooked in iron vessels, including Bhatt ki Churkani (black soybean curry), Gahat ke Dubke (horsegram puree), Aloo ke Gutke tempered with wild Himalayan chives (Jamboo) and Jakhiya, and refreshing cucumber Raita flavored with freshly crushed mustard seeds. - **Traditional Confectioneries:** Historic sweet shops along Bada Bazaar and Nainital Road craft Almora's world-famous Bal Mithai (roasted caramelized khoya fudge coated in sugar balls) and Singaudi (sweetened khoya wrapped in wild Malu leaves). - **Vibrant Street Food & Cafe Culture:** As dusk falls, Tikonia and Nainital Road come alive with bustling street food stalls offering steaming Tibetan momos, spiced thukpa, Kathi rolls, and hot Masala Chai, alongside modern rooftop cafes serving specialty Italian coffees and continental snacks.

Cultural Festivals, Folk Heritage & The Aipan Art of Kumaon

Beyond commercial enterprise, Haldwani is the proud cultural showcase of Devbhoomi Uttarakhand: - **Aipan Folk Art Tradition:** The sacred geometrical floor and wall art handcrafted with red ochre (Geru) and white rice paste (Biswar) adorning thresholds, altars, and chowkis during auspicious ceremonies, now preserved through local women's self-help cooperatives. - **Classical Baithki & Khadi Holi:** Unique to Kumaon, musical celebrations starting as early as the month of Paush, featuring classical Hindustani ragas sung in community courtyards followed by energetic Chholiya dance performances during spring. - **Nanda Devi & Chholiya Heritage:** Grand annual fairs celebrating the patron deity Nanda Devi, accompanied by martial sword-and-shield Chholiya dancers whose rhythmic brass trumpets (Ransingha) and hurka drums resonate through the valley.

Public Amenities, Parks & Community Spaces in Haldwani

Urban lifestyle and recreational infrastructure in the city: - **Green Parks & Walking Tracks:** Walkway projects around Daharia, Judge Farm, and Awas Vikas providing lush recreational zones for families and seniors. - **Community Centers & Sports Grounds:** Multi-purpose auditoriums and grounds hosting cultural melas, badminton tournaments, and community celebrations. - **Gaula Barrage & Forest Trails:** Scenic river viewpoints and natural birdwatching areas attracting eco-tourists and local nature enthusiasts on weekends.

Frequently Asked Questions (FAQs)

How can I access live breaking news and weather alerts for Haldwani?

Haldwani Times operates a dedicated 24/7 hyperlocal newsroom providing real-time breaking bulletins, traffic alerts, and meteorological warnings. You can access live news directly from our homepage, subscribe to instant browser push notifications, or view categorical updates on Uttarakhand, Education, and Mandi Bhav. During monsoon and winter weather events, our correspondents provide live updates on NH-109 road blockages and emergency administrative orders issued by the Nainital District Magistrate.

Is Haldwani Times completely free to read for all visitors?

Yes, Haldwani Times offers completely unrestricted, open-access reading to all users without mandatory paywalls. Readers across Haldwani, Uttarakhand, and the global diaspora can freely browse all breaking news reports, investigative articles, business directory listings, and historical archives. Our public-interest mission ensures that essential civic information, emergency hospital directories, and educational circulars remain universally accessible to everyone at zero cost.

How can local business owners list their shop or service in the Haldwani directory?

Local merchants, medical practitioners, schools, and service professionals can register their business by navigating to our 'Business Directory' page and selecting 'Add Listing'. The registration process allows you to input your business name, address, contact numbers, operational hours, services offered, and high-resolution showroom photographs. Once submitted, our local verification team verifies the physical address within 24 hours to ensure high consumer trust and top ranking on Google.

Can I read Haldwani Times articles in Hindi as well as English?

Yes, Haldwani Times features a seamless, native bilingual reading experience tailored for our regional readership. With our one-click language toggle located prominently in the navigation bar, you can instantly switch between English and pure Hindi. Both versions feature carefully crafted editorial phrasing, accurate regional terminology, and culturally resonant storytelling to ensure maximum readability for students, families, and senior citizens alike.

How do I submit news tips, event notices, or press releases to the editorial team?

Our newsroom warmly welcomes verified news tips, community event notices, civic grievances, and official press releases from citizens and local organizations. You can submit your documents, photos, or video evidence directly to our central editorial desk at editorial@haldwanitimes.com or via our Help & Support page. Our senior editors review every submission for factual authenticity, multi-source verification, and public relevance prior to publication.

Where can visitors find authentic Kumaoni Bal Mithai and Singaudi in Haldwani?

Renowned traditional sweet houses clustered along Bada Bazaar, Mangal Parao, Kathgodam Station Road, and Nainital Road specialize in daily batches of authentic Bal Mithai and fragrant Singaudi prepared with pure mountain dairy khoya and natural ingredients.

What transportation options are available for traveling from Haldwani to Nainital and Bhimtal?

Continuous state transport buses (UTC), KMOU coaches, and registered taxi union sharing cabs operate 24/7 from the Haldwani Roadways Bus Station (near Tikonia) and Kathgodam Railway Station. Fares are regulated by the transport department, with mountain travel times ranging between 1 to 1.5 hours.