{"id":22944901,"url":"https://github.com/mfa/ax-supabase-fly","last_synced_at":"2025-07-19T18:04:12.044Z","repository":{"id":142565574,"uuid":"591965967","full_name":"mfa/ax-supabase-fly","owner":"mfa","description":"write AX webhook into supabase using fly.io","archived":false,"fork":false,"pushed_at":"2023-01-22T18:09:29.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-07T14:22:45.403Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mfa.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-01-22T14:08:02.000Z","updated_at":"2023-02-11T20:04:51.000Z","dependencies_parsed_at":"2023-04-10T17:48:24.170Z","dependency_job_id":null,"html_url":"https://github.com/mfa/ax-supabase-fly","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfa%2Fax-supabase-fly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfa%2Fax-supabase-fly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfa%2Fax-supabase-fly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfa%2Fax-supabase-fly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mfa","download_url":"https://codeload.github.com/mfa/ax-supabase-fly/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246716761,"owners_count":20822516,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-12-14T14:28:34.062Z","updated_at":"2025-04-01T21:43:21.439Z","avatar_url":"https://github.com/mfa.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## ax-supabase\n\nstore the webhook from AX in supabase\n\nthis demo uses Flask and is deployed on fly.io\n\n\n### setup\n\nCreate a table in supabase named \"generated\" and add the following fields (keep `id` and `created_at`):\n```\ndocument_id: uuid\nuid: text\ntext: text\ntext_modified: timestamp without time zone\ncollection_id: int8\ncollection_name: text\nlanguage: varchar\nhtml: text\nhtml_axite: text\n```\n\ncreate a fly app with `fly launch`\n\nadd secrets (get them from your supabase project api settings):\n```\nflyctl secrets set SUPABASE_URL=my-url-to-my-awesome-supabase-instance\nflyctl secrets set SUPABASE_KEY=my-supa-dupa-secret-supabase-api-key\n```\n\nand the webhook secret from AX:\n```\nflyctl secrets set AX_WEBHOOK_SECRET=copy-from-collection-settings-and-set-url-too\n```\n\n\n### deploy\n\n```\nflyctl deploy\n```\n\n\n### development\n\n```\npython -m pip install -r requirements.txt\nFLASK_APP=app.main flask run\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmfa%2Fax-supabase-fly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmfa%2Fax-supabase-fly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmfa%2Fax-supabase-fly/lists"}