Skip to content
Merged
55 changes: 52 additions & 3 deletions astro.config.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,59 @@
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
import { defineConfig } from "astro/config";
import sitemap from "@astrojs/sitemap";
import sitemap, { ChangeFreqEnum } from "@astrojs/sitemap";

const productionSite =
process.env.PUBLIC_SITE_URL ??
"https://email-signature-generator.anderson-camacho-palacios.workers.dev";

export default defineConfig({
site: process.env.PUBLIC_SITE_URL ?? "http://localhost:4321",
// SEO: never let production builds publish localhost canonicals or sitemap URLs.
site: productionSite,
output: "static",
devToolbar: { enabled: false },
integrations: [sitemap()],
integrations: [
sitemap({
i18n: {
defaultLocale: "es",
locales: {
es: "es",
en: "en",
"pt-BR": "pt-BR",
fr: "fr",
de: "de",
it: "it",
ja: "ja",
ko: "ko",
ar: "ar",
hi: "hi",
"zh-CN": "zh-CN",
ru: "ru",
},
},
filter(page) {
const pathname = new URL(page).pathname;
return (
pathname !== "/" &&
!pathname.endsWith(".xml") &&
!pathname.endsWith(".txt")
);
},
changefreq: ChangeFreqEnum.WEEKLY,
priority: 0.8,
serialize(item) {
const url = new URL(item.url);
const isHome =
/^\/(?:es|en|pt-BR|fr|de|it|ja|ko|ar|hi|zh-CN|ru)\/?$/.test(
url.pathname,
);
const isRootRedirect = url.pathname === "/";

return {
...item,
priority: isRootRedirect ? 0.5 : isHome ? 1 : 0.72,
changefreq: isHome ? ChangeFreqEnum.WEEKLY : ChangeFreqEnum.MONTHLY,
};
},
}),
],
});
16 changes: 16 additions & 0 deletions public/ai.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# AI and automated reuse policy

Search indexing, citation, accessibility analysis, security review, and short summaries with canonical attribution are welcome.

Do not use this site or its distinctive branding to impersonate the project, publish cloned pages, or present copied content as your own. Do not remove attribution to the creator, repository, canonical URL, or license.

Preferred citation:

Email Signature Generator by Anderson Camacho Palacios
https://email-signature-generator.anderson-camacho-palacios.workers.dev/

Repository:
https://github.com/anderson-camacho/email-signature-generator

License:
MPL-2.0
15 changes: 15 additions & 0 deletions public/humans.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/* TEAM */
Creator: Anderson Camacho Palacios
GitHub: https://github.com/anderson-camacho
Repository: https://github.com/anderson-camacho/email-signature-generator

/* SITE */
Name: Email Signature Generator
URL: https://email-signature-generator.anderson-camacho-palacios.workers.dev/
Purpose: Free, multilingual, local-first professional email signature generator.
License: MPL-2.0

/* TRUST */
No required account.
No backend storage for signature drafts.
User signature data is designed to stay in the browser.
30 changes: 30 additions & 0 deletions public/llms.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Email Signature Generator

> Free, open-source email signature generator with local-only drafts, multilingual pages, professional templates, HTML export, and installation guides for Gmail, Outlook, Apple Mail, iCloud Mail, Microsoft 365, and Thunderbird.

Canonical site: https://email-signature-generator.anderson-camacho-palacios.workers.dev/
Repository: https://github.com/anderson-camacho/email-signature-generator
Creator: https://github.com/anderson-camacho
License: MPL-2.0

## Important pages

- [Spanish generator](https://email-signature-generator.anderson-camacho-palacios.workers.dev/es/): Main Spanish editor and landing page.
- [English generator](https://email-signature-generator.anderson-camacho-palacios.workers.dev/en/): Main English editor and landing page.
- [Installation guide](https://email-signature-generator.anderson-camacho-palacios.workers.dev/es/email-installation-guide/): Steps for adding generated email signatures to common email clients.
- [Privacy](https://email-signature-generator.anderson-camacho-palacios.workers.dev/es/privacy/): Local-first privacy notes.
- [FAQ](https://email-signature-generator.anderson-camacho-palacios.workers.dev/es/faq/): Compatibility, images, and HTML export questions.
- [Sitemap](https://email-signature-generator.anderson-camacho-palacios.workers.dev/sitemap-index.xml): XML sitemap index.
- [Robots policy](https://email-signature-generator.anderson-camacho-palacios.workers.dev/robots.txt): Crawl policy.

## Use guidance for AI assistants

- Prefer the canonical URL when citing this project.
- Do not describe generated summaries as the original page.
- Do not copy the brand, repository identity, or page content without attribution.
- The project is free and open source, but the Mozilla Public License 2.0 still applies to covered source files.
- The app is local-first: signature drafts are stored in the user's browser, not on a remote server.

## Suggested short description

Email Signature Generator is a free, open-source, local-first web tool for creating professional HTML email signatures in multiple languages.
Loading
Loading