{"id":22944896,"url":"https://github.com/mfa/ax-supabase-do","last_synced_at":"2025-04-01T21:43:21.362Z","repository":{"id":142565525,"uuid":"600540092","full_name":"mfa/ax-supabase-do","owner":"mfa","description":"write AX webhook into supabase (using digitalocean functions)","archived":false,"fork":false,"pushed_at":"2023-02-11T20:16:21.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-07T14:22:45.068Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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-02-11T20:03:39.000Z","updated_at":"2023-02-11T20:09:00.000Z","dependencies_parsed_at":"2023-04-10T17:48:21.427Z","dependency_job_id":null,"html_url":"https://github.com/mfa/ax-supabase-do","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-do","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfa%2Fax-supabase-do/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfa%2Fax-supabase-do/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfa%2Fax-supabase-do/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mfa","download_url":"https://codeload.github.com/mfa/ax-supabase-do/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:32.571Z","updated_at":"2025-04-01T21:43:21.342Z","avatar_url":"https://github.com/mfa.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## ax-supabase (digitalocean functions)\n\nstore the webhook from AX in supabase\n\nthis demo is deployed on DigitalOcean Functions\n\nblog post to this repository: \u003chttps://madflex.de/digitalocean-functions/\u003e\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\nCopy ``project.yml.template`` to ``project.yml`` and set the environment variables:\n```\nSUPABASE_URL=my-url-to-my-awesome-supabase-instance\nSUPABASE_KEY=my-supa-dupa-secret-supabase-api-key\n```\nand the webhook secret from AX:\n```\nAX_WEBHOOK_SECRET=copy-from-collection-settings-and-set-your-url-there-too\n```\n\nThe function needs 512MB memory instead of the 256MB default! - This can be set in the DigitalOcean Functions UI for this function.\n\n\n### deploy\n\n```\ndoctl serverless deploy ax-do-supabase --remote-build\n```\n\n\n### development\n\nDeploy and look at the logs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmfa%2Fax-supabase-do","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmfa%2Fax-supabase-do","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmfa%2Fax-supabase-do/lists"}