Free & Open-Source Invoice Generator - No Sign-Up, No Ads, Instant PDF Export, 100% In-Browser, and Fully Customizable Templates.
TypeScript fintechinvoiceinvoice-generatorinvoice-pdfinvoice-templateinvoicesnextjsopen-sourcequotesreactreact-pdf-rendererself-hostedshadcn-uitailwindcsstypescript
feat: minor updates and fixes (#234)
Vlad Sazonau243736074f58
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.ymlindex 94b37cf..af5d62d 100644--- a/.github/workflows/e2e.yml+++ b/.github/workflows/e2e.yml@@ -40,16 +40,19 @@ jobs:with:mode: firewall-free- - uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0- name: π¦ Setup pnpm-- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0name: π Setup Node.jswith:node-version: lts/*+ - name: π¦ Enable Corepack+ run: corepack enable++ - name: π¦ Install pinned package manager from package.json+ run: corepack install+- name: π Install dependencies- run: sfw pnpm install # firewall to block malicious packages from being installed https://docs.socket.dev/docs/socket-firewall-overview+ run: sfw pnpm install --frozen-lockfile # firewall to block malicious packages from being installed https://docs.socket.dev/docs/socket-firewall-overview- name: π¦ Install Playwright browser binaries & OS dependenciesrun: pnpm exec playwright install chromium webkit --with-depsdiff --git a/.github/workflows/knip.yml b/.github/workflows/knip.ymlindex 2583314..1471dc6 100644--- a/.github/workflows/knip.yml+++ b/.github/workflows/knip.yml@@ -26,16 +26,19 @@ jobs:with:mode: firewall-free- - uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0- name: π¦ Setup pnpm-- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0name: π Setup Node.jswith:node-version: lts/*+ - name: π¦ Enable Corepack+ run: corepack enable++ - name: π¦ Install pinned package manager from package.json+ run: corepack install+- name: π Install dependencies- run: sfw pnpm install # firewall to block malicious packages from being installed https://docs.socket.dev/docs/socket-firewall-overview+ run: sfw pnpm install --frozen-lockfile # firewall to block malicious packages from being installed https://docs.socket.dev/docs/socket-firewall-overview- name: π Run Knipid: knipdiff --git a/.github/workflows/lint.yml b/.github/workflows/lint.ymlindex 4eaf4f7..0e78ebf 100644--- a/.github/workflows/lint.yml+++ b/.github/workflows/lint.yml@@ -26,16 +26,19 @@ jobs:with:mode: firewall-free- - uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0- name: π¦ Setup pnpm-- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0name: π Setup Node.jswith:node-version: lts/*+ - name: π¦ Enable Corepack+ run: corepack enable++ - name: π¦ Install pinned package manager from package.json+ run: corepack install+- name: π Install dependencies- run: sfw pnpm install # firewall to block malicious packages from being installed https://docs.socket.dev/docs/socket-firewall-overview+ run: sfw pnpm install --frozen-lockfile # firewall to block malicious packages from being installed https://docs.socket.dev/docs/socket-firewall-overview- name: π Run lintingid: lintdiff --git a/.github/workflows/pnpm-policy.yml b/.github/workflows/pnpm-policy.ymlnew file mode 100644index 0000000..b7c126e--- /dev/null+++ b/.github/workflows/pnpm-policy.yml@@ -0,0 +1,40 @@+name: π pnpm supply-chain policy+on:+ push:+ branches: [main]+ pull_request:+ branches: [main]++permissions:+ contents: read++jobs:+ pnpm-policy:+ name: Verify pnpm supply-chain config+ timeout-minutes: 5+ runs-on: ubuntu-latest+ steps:+ # we use pinned versions because there are safer to use: https://x.com/paulmillr/status/1900948425325031448+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ name: ποΈ Checkout repository+ with:+ persist-credentials: false++ - uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0+ name: π Setup Node.js+ with:+ node-version: lts/*++ - name: π¦ Enable Corepack+ run: corepack enable++ - name: π¦ Install pinned package manager from package.json+ run: corepack install++ - name: Verify pnpm supply-chain config+ run: |+ set -euo pipefail+ [[ "$(pnpm config get minimum-release-age)" = "7200" ]] || { echo "β minimum-release-age mismatch"; exit 1; }+ [[ "$(pnpm config get block-exotic-subdeps)" = "true" ]] || { echo "β block-exotic-subdeps mismatch"; exit 1; }+ [[ "$(pnpm config get trust-policy)" = "no-downgrade" ]] || { echo "β trust-policy mismatch"; exit 1; }+ echo "β pnpm config values are correct"diff --git a/.github/workflows/type-check.yml b/.github/workflows/type-check.ymlindex ddc09f0..fe4de7d 100644--- a/.github/workflows/type-check.yml+++ b/.github/workflows/type-check.yml@@ -26,16 +26,19 @@ jobs:with:mode: firewall-free- - uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0- name: π¦ Setup pnpm-- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0name: π Setup Node.jswith:node-version: lts/*+ - name: π¦ Enable Corepack+ run: corepack enable++ - name: π¦ Install pinned package manager from package.json+ run: corepack install+- name: π Install dependencies- run: sfw pnpm install # firewall to block malicious packages from being installed https://docs.socket.dev/docs/socket-firewall-overview+ run: sfw pnpm install --frozen-lockfile # firewall to block malicious packages from being installed https://docs.socket.dev/docs/socket-firewall-overview- name: π Run type checkid: type-checkdiff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.ymlindex 67673ca..a0f1df6 100644--- a/.github/workflows/unit-tests.yml+++ b/.github/workflows/unit-tests.yml@@ -26,16 +26,19 @@ jobs:with:mode: firewall-free- - uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0- name: π¦ Setup pnpm-- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0name: π Setup Node.jswith:node-version: lts/*+ - name: π¦ Enable Corepack+ run: corepack enable++ - name: π¦ Install pinned package manager from package.json+ run: corepack install+- name: π Install dependencies- run: sfw pnpm install # firewall to block malicious packages from being installed https://docs.socket.dev/docs/socket-firewall-overview+ run: sfw pnpm install --frozen-lockfile # firewall to block malicious packages from being installed https://docs.socket.dev/docs/socket-firewall-overview- name: π§ͺ Run Vitest testsid: vitestdiff --git a/.npmrc b/.npmrcindex f942dbf..d553782 100644--- a/.npmrc+++ b/.npmrc@@ -1,10 +1,10 @@save-exact=true# this specifies the number of minutes that must pass after a version is published before pnpm will install it (to prevent supply chain attacks)-# https://pnpm.io/settings#minimumreleaseage--minimum-release-age=4320 # 3 days,# https://pnpm.io/supply-chain-security++# https://pnpm.io/settings#minimumreleaseage+minimum-release-age=7200 # 5 days,block-exotic-subdeps=truetrust-policy=no-downgrade\ No newline at end of filediff --git a/README.md b/README.mdindex 56e9f48..dd3e45f 100644--- a/README.md+++ b/README.md@@ -227,7 +227,9 @@ Your support helps keep this project free and open-source πEasyInvoicePDF is [AGPL v3](#license); self-host your own instance locally or on your infrastructure with the steps below.-- Run `pnpm i`+- Run `corepack enable`+- Run `corepack install`+- Run `pnpm install`- Copy `.env.example to .env.local` (`cp .env.example .env.local`)- Run `pnpm run dev`diff --git a/package.json b/package.jsonindex 5ee5293..48874b0 100644--- a/package.json+++ b/package.json@@ -4,7 +4,7 @@"private": true,"packageManager": "[email protected]+sha512.3590e550d5384caa39bd5c7c739f72270234b2f6059e13018f975c313b1eb9fefcc09714048765d4d9efe961382c312e624572c0420762bdc5d5940cdf9be73a","pnpm": {- "minimumReleaseAge": 4320,+ "minimumReleaseAge": 7200,"trustPolicy": "no-downgrade","blockExoticSubdeps": true},@@ -113,7 +113,7 @@"husky": "9.1.7","knip": "5.85.0","lint-staged": "15.5.0",- "postcss": "^8",+ "postcss": "8.5.3","prettier": "3.5.3","prettier-plugin-tailwindcss": "0.6.11","react-email": "4.0.4",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex a42075a..331fbcb 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -229,7 +229,7 @@ importers:specifier: 15.5.0version: 15.5.0postcss:- specifier: ^8+ specifier: 8.5.3version: 8.5.3prettier:specifier: 3.5.3diff --git a/public/llms.txt b/public/llms.txtindex 3ced261..afe74c1 100644--- a/public/llms.txt+++ b/public/llms.txt@@ -41,6 +41,49 @@- Mobile-friendly design: responsive layout and touch-optimized UX for phones and tablets.- Open-source codebase with a clear AGPL-3.0 plus commercial licensing path.+## Solution pages++Dedicated pages for specific invoicing workflows. Each page links to the app editor; use the default template or Stripe-style template as noted.++### [Free Invoice Generator - No Login Required](https://easyinvoicepdf.com/invoice-generator-no-login)++Generate professional invoices in seconds with no account, no signup and no ads. Data stays in your browser.++- Create invoices in about 60 seconds; download PDF instantly+- No registration, hidden paywalls, or data upload for normal editing+- For freelancers, developers, small businesses, and anyone who needs a PDF invoice now+- [Start with default template](https://easyinvoicepdf.com/?template=default)++### [Open-Source Invoice Generator - Free & Customizable](https://easyinvoicepdf.com/open-source-invoice-generator)++Fully open-source, self-hostable invoice PDF generator with transparent codebase and no vendor lock-in.++- Generate PDFs instantly; fork and modify the code for your workflow+- Self-host for full control over branding and data privacy+- For indie hackers, SaaS builders, agencies, and privacy-focused users+- Licensed under AGPL-3.0; commercial license available for proprietary use+- [Start with default template](https://easyinvoicepdf.com/?template=default)++### [Stripe Invoice Alternative - Easier & Faster](https://easyinvoicepdf.com/stripe-invoice-alternative)++Create invoices without Stripe setup. Fast, free, ad-free PDF workflow when you do not need payment processing.++- No Stripe account, dashboard, or product configuration required+- Does not accept payments; use for one-off PDF invoices and document billing elsewhere+- EasyInvoicePDF focuses on fast invoice PDFs; Stripe covers payments, subscriptions, and full billing+- For freelancers, consultants, developers, and side projects+- [Start with Stripe-style template](https://easyinvoicepdf.com/?template=stripe)++### [Free PDF Invoice Templates - Professional & Downloadable](https://easyinvoicepdf.com/invoice-template-pdf)++Pre-designed invoice layout with automatic totals, tax labels, and currency support. No design skills or desktop software required.++- Universally accepted PDF format; consistent across devices and printers+- Skip Word or Excel formatting headaches and manual calculations+- Faster than heavyweight tools when you only need a document+- For freelancers, contractors, agencies, and small businesses+- [Generate invoice PDF](https://easyinvoicepdf.com/?template=default)+## Links- [Home](https://easyinvoicepdf.com)@@ -55,6 +98,8 @@- [EasyInvoicePDF on X](https://x.com/EasyInvoicePDF)- [Vlad Sazonau on X](https://x.com/vladsazonau)- [Demo video (YouTube)](https://www.youtube.com/watch?v=iAROeCIcZ40)-- [Share feedback](https://dub.sh/easy-invoice-pdf-feedback)- [Bug reports / feature board](https://pdfinvoicegenerator.userjot.com/board/bugs)-- [Buy Me a Coffee](https://buymeacoffee.com/vladsazon)+- [Free Invoice Generator - No Login Required](https://easyinvoicepdf.com/invoice-generator-no-login)+- [Open-Source Invoice Generator - Free & Customizable](https://easyinvoicepdf.com/open-source-invoice-generator)+- [Stripe Invoice Alternative - Easier & Faster](https://easyinvoicepdf.com/stripe-invoice-alternative)+- [Free PDF Invoice Templates - Professional & Downloadable](https://easyinvoicepdf.com/invoice-template-pdf)diff --git a/src/app/(app)/hooks/use-show-random-cta-toast.tsx b/src/app/(app)/hooks/use-show-random-cta-toast.tsxindex 22ede50..a57f576 100644--- a/src/app/(app)/hooks/use-show-random-cta-toast.tsx+++ b/src/app/(app)/hooks/use-show-random-cta-toast.tsx@@ -1,7 +1,6 @@"use client";import { useEffect, useRef } from "react";-import { umamiTrackEvent } from "@/lib/umami-analytics-track-event";import { showRandomCTAToast } from "../components/cta-toasts";import { useCTAToast } from "../contexts/cta-toast-context";@@ -39,18 +38,22 @@ export function useShowRandomCTAToastOnIdle() {// Idle detection β resets on every form update (interactionCount change)useEffect(() => {+ // Skip if CTA already triggered this session or toast already shownif (hasTriggeredCTAAction || triggeredRef.current) return;+ // Skip if user hasn't engaged enough with the form yetif (interactionCount < MIN_INTERACTIONS) return;+ // Start idle timer β triggers toast after IDLE_TIME of inactivityconst idleTimer = setTimeout(() => {+ // Verify both conditions still met: minimum time elapsed AND not already triggeredif (!hasMinTimeElapsedRef.current || triggeredRef.current) return;+ // Mark as triggered to prevent duplicate toaststriggeredRef.current = true;+ // Show the toast and mark action as triggeredshowRandomCTAToast();markCTAActionTriggered();-- umamiTrackEvent("cta_toast_shown_idle");}, IDLE_TIME);return () => clearTimeout(idleTimer);diff --git a/src/app/(seo-landings)/components/seo-landing-shell.tsx b/src/app/(seo-landings)/components/seo-landing-shell.tsxindex 4c00f1e..86724b6 100644--- a/src/app/(seo-landings)/components/seo-landing-shell.tsx+++ b/src/app/(seo-landings)/components/seo-landing-shell.tsx@@ -100,8 +100,8 @@ export function SeoLandingShell({ definition }: SeoLandingShellProps) {</div>) : null}{definition.hero.bullets.length ? (- <div className="mt-4 text-pretty">- <p className="text-sm text-stone-700 md:text-base">+ <div className="mt-3 text-pretty">+ <p className="text-sm text-stone-900">{definition.hero.bullets.join(", ")}</p></div>@@ -122,7 +122,7 @@ export function SeoLandingShell({ definition }: SeoLandingShellProps) {</div>{canShowComparisonTable && comparisonTable ? (<div className="py-6 md:py-8">- <h2 className="w-fit bg-rose-500 text-2xl font-semibold tracking-tight text-white dark:bg-cyan-600 dark:text-white md:text-3xl">+ <h2 className="w-fit bg-rose-500 text-2xl font-semibold italic tracking-tight text-white dark:bg-cyan-600 dark:text-white md:text-3xl">π Feature comparison</h2>{comparisonTable?.intro ? (@@ -141,7 +141,7 @@ export function SeoLandingShell({ definition }: SeoLandingShellProps) {<sectionid="faq"- className="pb-4 pt-10 md:pt-12"+ className="pb-4 pt-10"aria-labelledby="seo-landing-faq-heading"><h2@@ -256,40 +256,42 @@ export function SeoLandingShell({ definition }: SeoLandingShellProps) {function SeoSectionBlock({ section, id }: { section: SeoSection; id: number }) {const colors = [- "bg-yellow-300 dark:bg-yellow-600 text-slate-900 dark:text-slate-900",- "bg-purple-500 dark:bg-purple-500 text-white dark:text-white",- "bg-green-500 dark:bg-green-500 text-white dark:text-white",- "bg-blue-500 dark:bg-blue-500 text-white dark:text-white",- "bg-orange-500 dark:bg-orange-500 text-white dark:text-white",- "bg-teal-500 dark:bg-teal-500 text-white dark:text-white",- "bg-red-500 dark:bg-red-500 text-white dark:text-white",+ "bg-yellow-300/90 text-black dark:bg-yellow-600 dark:text-black",+ "bg-purple-500/90 dark:bg-purple-500 text-white dark:text-white",+ "bg-green-500/90 dark:bg-green-500 text-white dark:text-white",+ "bg-blue-500/90 dark:bg-blue-500 text-white dark:text-white",+ "bg-orange-500/90 dark:bg-orange-500 text-white dark:text-white",+ "bg-teal-500/90 dark:bg-teal-500 text-white dark:text-white",+ "bg-red-500/90 dark:bg-red-500 text-white dark:text-white",] as const;const color = colors[id % colors.length];return (<section- className="border-b border-slate-100 py-6 last:border-b-0 md:py-8"+ className="border-b border-slate-100 py-6 last:border-b-0"data-testid={`seo-landing-section-${section.title}`}><h2 className="text-2xl font-semibold tracking-tight text-slate-900 md:text-3xl">- <span className={`${color} px-0.5 font-bold`}>{section.title}</span>+ <span className={`${color} px-0.5 font-bold italic`}>+ {section.title}+ </span></h2>{section.lead ? (- <p className="mt-4 max-w-3xl text-balance text-xl leading-relaxed text-slate-800">+ <p className="mt-4 max-w-3xl text-balance text-lg leading-relaxed text-slate-800">{section.lead}</p>) : null}{section.paragraphs?.map((paragraph, index) => (<pkey={`${section.title}-p-${index}`}- className="mt-4 max-w-3xl text-pretty text-xl leading-relaxed text-slate-800"+ className="mt-4 max-w-3xl text-pretty text-lg leading-relaxed text-slate-800">{paragraph}</p>))}{section.bullets?.length ? (- <ul className="mt-4 max-w-3xl list-disc space-y-2 pl-6 text-lg text-slate-700">+ <ul className="mt-4 max-w-3xl list-disc space-y-2 pl-6 text-base text-slate-800">{section.bullets.map((item) => (<li key={item} className="text-pretty">{item}diff --git a/src/app/(seo-landings)/seo-landing-definitions.ts b/src/app/(seo-landings)/seo-landing-definitions.tsindex f86c1c6..624d145 100644--- a/src/app/(seo-landings)/seo-landing-definitions.ts+++ b/src/app/(seo-landings)/seo-landing-definitions.ts@@ -59,9 +59,9 @@ export const SEO_LANDING_DEFINITIONS = {metadata: {title: "Create Free Invoices Online - No Login Required",description:- "Generate professional invoices in seconds with EasyInvoicePDF. No account, no signup, no tracking. Free, open-source, browser-based. Start creating your PDF.",+ "Generate professional invoices in seconds with EasyInvoicePDF. No account, no signup, no tracking, no ads. Free, open-source, browser-based. Start creating your PDF.",keywords:- "free invoice generator no login, easy invoice, create invoice PDF, generate PDF invoice, invoice PDF without account, no signup invoice maker, instant invoice PDF, browser invoice generator",+ "free invoice generator no login, easy invoice, create invoice PDF, generate PDF invoice, invoice PDF without account, no signup invoice maker, instant invoice PDF, browser invoice generator, no ads invoice generator, ad-free invoice PDF",},hero: {h1: "Create Free Invoices Online - No Login Required",@@ -70,8 +70,8 @@ export const SEO_LANDING_DEFINITIONS = {bullets: ["Create invoices in 60 seconds","Download PDF instantly",- "Free and open-source forever",- "No login. No email. No tracking.",+ "Free and open-source",+ "No login. No email. No ads.",],ctaLabel: "Create Invoice Now",ctaHref: DEFAULT_INVOICE_TEMPLATE_HREF,@@ -116,6 +116,16 @@ export const SEO_LANDING_DEFINITIONS = {"No unnecessary features",],},+ {+ title: "π Ad-free and fast",+ lead: "No ads means a faster, cleaner experience:",+ bullets: [+ "No tracking pixels or third-party scripts",+ "Faster page load times",+ "Focus on your invoice, not on ads",+ "Your data stays private and isn't monetized",+ ],+ },],faq: [{@@ -148,6 +158,11 @@ export const SEO_LANDING_DEFINITIONS = {answer:"Yes. Edit fields, tax labels, currency, notes, and template options before you generate the PDF.",},+ {+ question: "Does it have ads?",+ answer:+ "No. EasyInvoicePDF is completely ad-free. No ads, no tracking pixels, no third-party scripts. We generate revenue through sponsorships, not by tracking or monetizing your data.",+ },],},"open-source-invoice-generator": {@@ -155,9 +170,9 @@ export const SEO_LANDING_DEFINITIONS = {metadata: {title: "Free Open-Source Invoice Generator - Easy to Use",description:- "Generate PDF invoices instantly in your browser. Fully open-source, customizable code, self-hostable. Free forever, no vendor lock-in. Open the app and try it.",+ "Generate PDF invoices instantly in your browser. Fully open-source, customizable code, self-hostable. Free forever, no vendor lock-in, no ads. Open the app and try it.",keywords:- "open source invoice generator, self-hosted invoice PDF, easy invoice PDF, free invoice software github, customizable invoice template, AGPL invoice tool",+ "open source invoice generator, self-hosted invoice PDF, easy invoice PDF, free invoice software github, customizable invoice template, AGPL invoice tool, no ads invoice, ad-free open source",},hero: {h1: "Free Open-Source Invoice Generator - Easy to Use & Customize",@@ -168,6 +183,7 @@ export const SEO_LANDING_DEFINITIONS = {"Fully open-source code","Self-host or use online","No vendor lock-in",+ "Completely ad-free",],ctaLabel: "Start Generating Invoices",ctaHref: DEFAULT_INVOICE_TEMPLATE_HREF,@@ -223,6 +239,15 @@ export const SEO_LANDING_DEFINITIONS = {"Privacy-focused users",],},+ {+ title: "π Ad-free and fast",+ lead: "No ads means a transparent, distraction-free experience:",+ bullets: [+ "No tracking pixels or ad networks",+ "Faster page load times",+ "No hidden data monetization",+ ],+ },],faq: [{@@ -249,6 +274,11 @@ export const SEO_LANDING_DEFINITIONS = {answer:"Yes. Adjust fields, tax labels, currency, notes, and template options in the UI before generating the PDF.",},+ {+ question: "Does it have ads?",+ answer:+ "No. EasyInvoicePDF is completely ad-free, with no ads, no tracking pixels, and no third-party ad networks. This commitment to privacy and transparency is core to the open-source philosophy.",+ },],},"stripe-invoice-alternative": {@@ -256,9 +286,9 @@ export const SEO_LANDING_DEFINITIONS = {metadata: {title: "Free Stripe Invoice Alternative - Generate PDFs",description:- "Create invoices without Stripe setup. Instant PDF generation, no account required. Fast, free alternative to Stripe invoicing. Try it free. No signup needed.",+ "Create invoices without Stripe setup. Instant PDF generation, no account required. Fast, free, ad-free alternative to Stripe invoicing. Try it free. No signup needed.",keywords:- "stripe invoice alternative, invoice without stripe, create invoice without stripe, simple PDF invoice, no stripe dashboard, free stripe invoice alternative",+ "stripe invoice alternative, invoice without stripe, create invoice without stripe, simple PDF invoice, no stripe dashboard, free stripe invoice alternative, no ads invoice, ad-free invoicing",},hero: {h1: "Create Invoices Without Stripe - Fast & Free Alternative",@@ -269,6 +299,7 @@ export const SEO_LANDING_DEFINITIONS = {"Instant PDF generation","No account setup required","Free forever",+ "Completely ad-free",],ctaLabel: "Create Invoice Without Stripe",ctaHref: "/?template=stripe",@@ -306,6 +337,16 @@ export const SEO_LANDING_DEFINITIONS = {title: "π Who this is for",bullets: ["Freelancers", "Consultants", "Developers", "Side projects"],},+ {+ title: "π Ad-free and fast",+ lead: "Unlike Stripe and other tools, we keep it ad-free:",+ bullets: [+ "No tracking or analytics for monetization",+ "Faster, cleaner interface",+ "No distractions while you work",+ "Your data is not sold or monetized",+ ],+ },],comparisonTable: {intro:@@ -344,6 +385,11 @@ export const SEO_LANDING_DEFINITIONS = {answer:"Yes. It runs in your browser with no installer. Works on desktop and mobile browsers that support modern JavaScript.",},+ {+ question: "Does it have ads?",+ answer:+ "No. EasyInvoicePDF is ad-free with no tracking pixels or third-party scripts. Use it clean and fast without distractions or data monetization.",+ },],},"invoice-template-pdf": {@@ -351,9 +397,9 @@ export const SEO_LANDING_DEFINITIONS = {metadata: {title: "Free Invoice Template - PDF Download Instantly",description:- "Generate professional invoice PDFs in seconds. No design skills needed, instant download, free forever. No signup required. Easy invoice PDF in your browser.",+ "Generate professional invoice PDFs in seconds. No design skills needed, instant download, free forever, no ads. No signup required. Easy invoice PDF in your browser.",keywords:- "free invoice template PDF, professional invoice PDF, printable invoice template, easy invoice PDF, invoice PDF download, invoice layout generator, PDF billing template",+ "free invoice template PDF, professional invoice PDF, printable invoice template, easy invoice PDF, invoice PDF download, invoice layout generator, PDF billing template, no ads invoice, ad-free invoice generator",},hero: {h1: "Free Invoice Template PDF - Easy to Create & Download",@@ -364,6 +410,7 @@ export const SEO_LANDING_DEFINITIONS = {"Generate PDF in seconds","No design skills needed","Download instantly, always free",+ "Completely ad-free",],ctaLabel: "Generate Invoice PDF",ctaHref: DEFAULT_INVOICE_TEMPLATE_HREF,@@ -410,6 +457,16 @@ export const SEO_LANDING_DEFINITIONS = {"No login required to get started",],},+ {+ title: "π Ad-free and fast",+ lead: "Stay focused on what matters:",+ bullets: [+ "No ads cluttering the interface",+ "No tracking or data monetization",+ "Faster loading times",+ "Clean, distraction-free invoice creation",+ ],+ },],faq: [{@@ -442,6 +499,11 @@ export const SEO_LANDING_DEFINITIONS = {answer:"EasyInvoicePDF stays free to use with no forced account wall. You get PDF export and editing without a subscription.",},+ {+ question: "Does it have ads?",+ answer:+ "No. EasyInvoicePDF is completely ad-free with no tracking pixels, third-party scripts, or data monetization. Create invoices in a clean, distraction-free environment.",+ },],},} as const satisfies Record<SeoLandingSlug, SeoLandingDefinition>;diff --git a/src/lib/telegram-queue.ts b/src/app/api/telegram-webhook/lib/telegram-queue.tssimilarity index 87%rename from src/lib/telegram-queue.tsrename to src/app/api/telegram-webhook/lib/telegram-queue.tsindex dae5ec5..b3439c3 100644--- a/src/lib/telegram-queue.ts+++ b/src/app/api/telegram-webhook/lib/telegram-queue.ts@@ -1,10 +1,4 @@-import { Redis } from "@upstash/redis";-import { env } from "@/env";--const redis = new Redis({- url: env.UPSTASH_REDIS_REST_URL,- token: env.UPSTASH_REDIS_REST_TOKEN,-});+import { redis } from "@/lib/redis";/*** Queues an invoice generation job for a specific Telegram chat.diff --git a/src/app/api/telegram-webhook/route.ts b/src/app/api/telegram-webhook/route.tsindex 13f60aa..2a114b5 100644--- a/src/app/api/telegram-webhook/route.ts+++ b/src/app/api/telegram-webhook/route.ts@@ -1,7 +1,10 @@+import {+ clearQueuedJob,+ queueInvoiceGeneration,+} from "@/app/api/telegram-webhook/lib/telegram-queue";import { telegramUpdateSchema } from "@/app/api/telegram-webhook/schema/telegram-schema";import { env } from "@/env";import { sendTelegramMessage } from "@/lib/telegram";-import { clearQueuedJob, queueInvoiceGeneration } from "@/lib/telegram-queue";import { waitUntil } from "@vercel/functions";import { NextResponse, type NextRequest } from "next/server";diff --git a/src/app/changelog/[slug]/page.tsx b/src/app/changelog/[slug]/page.tsxindex 4590ae7..2c24dd1 100644--- a/src/app/changelog/[slug]/page.tsx+++ b/src/app/changelog/[slug]/page.tsx@@ -20,8 +20,6 @@ import { ChangelogAuthorByline } from "../components/changelog-author-byline";import { ChangelogVersionBadgeLink } from "../components/changelog-version-badge-link";import { DateTime } from "../components/date-time";-import * as Sentry from "@sentry/nextjs";-interface ChangelogPageProps {params: Promise<{ slug: string }>;}@@ -42,10 +40,9 @@ export async function generateMetadata({const entry = await getChangelogEntry(slug);if (!entry) {- Sentry.captureEvent({- message: `Changelog entry not found for slug: ${slug}`,- level: "error",- });+ console.error(+ `\n\n_____Changelog entry not found for slug: ${slug}_____\n\n`,+ );return {title:@@ -133,10 +130,9 @@ export default async function ChangelogEntryPage({const entry = await getChangelogEntry(slug);if (!entry) {- Sentry.captureEvent({- message: `Changelog entry not found for slug: ${slug}`,- level: "error",- });+ console.error(+ `\n\n_____Changelog entry not found for slug: ${slug}_____\n\n`,+ );notFound();}diff --git a/src/lib/redis.ts b/src/lib/redis.tsindex f2df3ff..202016e 100644--- a/src/lib/redis.ts+++ b/src/lib/redis.ts@@ -1,6 +1,11 @@import { env } from "@/env";import { Redis } from "@upstash/redis";+/**+ * Redis client instance for Upstash Redis.+ * Provides async key-value storage for queue management and caching.+ * Configured with REST API credentials from environment variables.+ */export const redis = new Redis({url: env.UPSTASH_REDIS_REST_URL,token: env.UPSTASH_REDIS_REST_TOKEN,