30 Commits
Author SHA1 Message Date
tiennm99 6acce94d23 docs: point usage at the tiennm99.workers.dev URL 2026-10-08 10:03:50 +07:00
tiennm99 76c04da6c4 build: move from pnpm to npm
Replace pnpm-lock.yaml with package-lock.json. pnpm-workspace.yaml's
allowBuilds becomes package.json#allowScripts, which npm 11 gates the same
way; sharp is omitted because it is no longer in the dependency tree.
2026-08-17 12:16:34 +07:00
tiennm99 de06dad6e3 chore: add .gitignore
Excludes node_modules, .wrangler, logs, OS cruft, and dotenv-style secret
files. .dev.vars is the wrangler dev source for TELEGRAM_TOKEN and
TELEGRAM_CHAT_ID, so keep it out of history.
2026-08-03 10:23:35 +07:00
tiennm99 3513f8abb9 feat: serve llms.txt so agents can discover the send API
Adds an llmstxt.org-format usage spec at the repo root, bundled into the
worker as a text module and served at GET /llms.txt. /llms.txt is the only
GET route; all other GETs still return 405, so crawlers and link previews
cannot trigger a Telegram message.
2026-08-03 10:23:35 +07:00
tiennm99 4f0aa4b384 fix(deps): bump wrangler to pull patched sharp
sharp was pinned transitively via wrangler -> miniflare below the
0.35.0 security fix. Bumping wrangler resolves the advisory without
any source change.
2026-07-25 19:29:52 +07:00
tiennm99 118fd61dda fix: remediate dependency advisories (#6) 2026-07-25 18:09:43 +07:00
tiennm99 1d38911ba2 fix: also allow sharp build script (transitive via wrangler→miniflare)
CI uses pnpm install --frozen-lockfile which enforces strictDepBuilds;
sharp is a transitive dep with postinstall, so it must be explicitly
allowed too. Local pnpm install --force masked this previously.
2026-05-13 15:55:42 +07:00
tiennm99 86bd7fd82f fix: allow esbuild/workerd build scripts for Cloudflare deploy
pnpm 11 blocks postinstall scripts by default; pnpm-workspace.yaml's
allowBuilds is required to permit workerd/esbuild native builds.
2026-05-13 15:47:59 +07:00
tiennm99 119adf43ab chore: migrate from npm to pnpm 2026-05-13 10:19:29 +07:00
tiennm99 ae229f9af3 refactor: forward text as-is, drop request-metadata prefix
Enrichment (IP, UA, geo, timezone, URL, timestamp) is now handled by
miti-loki. miti-telegram becomes a minimal text-passthrough so callers
can format messages however they want without the worker mutating them.
2026-05-10 23:13:18 +07:00
tiennm99 e9a48f2e60 docs: document POST API and add AI-agents usage callout 2026-05-09 09:13:58 +07:00
tiennm99 50527d6d6a feat: update config 2025-11-15 20:14:07 +07:00
tiennm99 e03c225159 feat: cleanup 2025-11-15 19:36:13 +07:00
Tien Nguyen Minh 82b9a7777d Merge pull request #5 from tiennm99/dependabot/npm_and_yarn/vite-7.1.11
chore(deps): bump vite from 7.1.3 to 7.1.11
2025-10-25 16:27:01 +07:00
dependabot[bot] 3e128918be chore(deps): bump vite from 7.1.3 to 7.1.11
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 7.1.3 to 7.1.11.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v7.1.11/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 7.1.11
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-25 09:24:51 +00:00
Tien Nguyen Minh 47a76ab859 Merge pull request #4 from tiennm99/dependabot/npm_and_yarn/multi-8d028b26e9
chore(deps): bump devalue and @cloudflare/vitest-pool-workers
2025-10-25 16:23:24 +07:00
tiennm99 e2314f31f4 Update README.md 2025-10-08 22:19:07 +07:00
tiennm99 b0e047829c Revert "Update index.js"
This reverts commit eeaca62124.
2025-10-08 22:04:33 +07:00
tiennm99 ff4151dcd2 Update index.js 2025-10-08 22:01:56 +07:00
dependabot[bot] 19dd6311ca chore(deps): bump devalue and @cloudflare/vitest-pool-workers
Bumps [devalue](https://github.com/sveltejs/devalue) to 5.3.2 and updates ancestor dependency [@cloudflare/vitest-pool-workers](https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/vitest-pool-workers). These dependencies need to be updated together.


Updates `devalue` from 4.3.3 to 5.3.2
- [Release notes](https://github.com/sveltejs/devalue/releases)
- [Changelog](https://github.com/sveltejs/devalue/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/devalue/compare/v4.3.3...v5.3.2)

Updates `@cloudflare/vitest-pool-workers` from 0.8.68 to 0.8.71
- [Release notes](https://github.com/cloudflare/workers-sdk/releases)
- [Changelog](https://github.com/cloudflare/workers-sdk/blob/main/packages/vitest-pool-workers/CHANGELOG.md)
- [Commits](https://github.com/cloudflare/workers-sdk/commits/@cloudflare/vitest-pool-workers@0.8.71/packages/vitest-pool-workers)

---
updated-dependencies:
- dependency-name: devalue
  dependency-version: 5.3.2
  dependency-type: indirect
- dependency-name: "@cloudflare/vitest-pool-workers"
  dependency-version: 0.8.71
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-08 14:40:28 +00:00
tiennm99 069f6eb310 refactor(name): from mitigram to miti-telegram 2025-10-08 21:39:06 +07:00
tiennm99 2a4c72ad61 feat: enable cors 2025-09-01 21:19:19 +07:00
tiennm99 4dfb9c33b8 feat: add ipinfo 2025-08-31 11:59:02 +07:00
tiennm99 01073dd7ad feat: cleanup 2025-08-31 11:48:02 +07:00
tiennm99 eef8c8aa58 feat: cleanup 2025-08-31 11:42:23 +07:00
tiennm99 8941c16538 feat: cleanup 2025-08-31 11:36:52 +07:00
tiennm99 956458cc21 feat: add more info 2025-08-31 11:25:53 +07:00
tiennm99 1d976b8ee9 feat: base logic 2025-08-31 11:14:07 +07:00
tiennm99 d6e012da78 chore: init 2025-08-31 11:05:44 +07:00
Tien Nguyen Minh 5dffa6d165 Initial commit 2025-08-31 10:58:44 +07:00