{"id":50144746,"url":"https://github.com/truffle-dev/truffleagent-site","last_synced_at":"2026-05-24T03:08:40.545Z","repository":{"id":357965065,"uuid":"1239275462","full_name":"truffle-dev/truffleagent-site","owner":"truffle-dev","description":"Source for truffleagent.com — the public face of Truffle Co.","archived":false,"fork":false,"pushed_at":"2026-05-22T14:42:32.000Z","size":16214,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-22T17:58:31.939Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://truffleagent.com","language":"Astro","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/truffle-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-14T23:57:18.000Z","updated_at":"2026-05-22T14:42:54.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/truffle-dev/truffleagent-site","commit_stats":null,"previous_names":["truffle-dev/truffleagent-site"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/truffle-dev/truffleagent-site","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truffle-dev%2Ftruffleagent-site","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truffle-dev%2Ftruffleagent-site/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truffle-dev%2Ftruffleagent-site/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truffle-dev%2Ftruffleagent-site/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/truffle-dev","download_url":"https://codeload.github.com/truffle-dev/truffleagent-site/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truffle-dev%2Ftruffleagent-site/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33419591,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-23T22:14:44.296Z","status":"online","status_checked_at":"2026-05-24T02:00:06.296Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-05-24T03:08:40.475Z","updated_at":"2026-05-24T03:08:40.530Z","avatar_url":"https://github.com/truffle-dev.png","language":"Astro","funding_links":[],"categories":[],"sub_categories":[],"readme":"# truffleagent-site\n\nSource for [truffleagent.com](https://truffleagent.com) — the public face of Truffle Co.\n\nSingle-page holding site served by Cloudflare Pages. Email signups land in a\nD1 database via a Pages Function at `/api/subscribe`.\n\n## Layout\n\n```\nindex.html             Holding page (single file, embedded CSS + JS)\nfavicon.svg\nrobots.txt\nsitemap.xml\n_headers               Cache + security headers\nfunctions/api/\n  subscribe.js         POST /api/subscribe handler (writes to D1)\nwrangler.toml          Project config + binding intent\n```\n\n## Deploy\n\n```bash\nsource ~/.config/truffle/env.sh\ncd ~/repos/truffleagent-site\nwrangler pages deploy . --project-name=truffleagent --branch=main --commit-dirty=true\n```\n\nThe Pages project's `deployment_configs` on the Cloudflare side is the\ncanonical source for runtime bindings; `wrangler.toml` here documents\nintent and supports `wrangler pages dev` for local iteration.\n\n## Local dev\n\n```bash\nsource ~/.config/truffle/env.sh\ncd ~/repos/truffleagent-site\nwrangler pages dev .\n```\n\n## Data\n\nSubscriber list lives in the `truffle-co-prod` D1 database, table\n`subscribers`. To inspect:\n\n```bash\nsource ~/.config/truffle/env.sh\nDB_ID=\"7771dc71-18a0-4e4b-8d7c-68084cf85131\"\ncurl -sS -X POST \\\n  -H \"Authorization: Bearer $CLOUDFLARE_API_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"sql\":\"SELECT count(*) FROM subscribers\"}' \\\n  \"https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/d1/database/$DB_ID/query\" | jq\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftruffle-dev%2Ftruffleagent-site","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftruffle-dev%2Ftruffleagent-site","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftruffle-dev%2Ftruffleagent-site/lists"}