{"id":20058655,"url":"https://github.com/roboflow/supashim","last_synced_at":"2025-05-05T14:31:29.874Z","repository":{"id":236659316,"uuid":"592897037","full_name":"roboflow/supashim","owner":"roboflow","description":"Use Supabase as a drop-in replacement for Firebase","archived":false,"fork":false,"pushed_at":"2023-03-28T00:23:53.000Z","size":321,"stargazers_count":24,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-30T20:50:53.459Z","etag":null,"topics":["enterprise","firebase","kubernetes","self-hosted","supabase"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/roboflow.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}},"created_at":"2023-01-24T19:13:07.000Z","updated_at":"2025-03-24T18:02:27.000Z","dependencies_parsed_at":"2024-04-28T05:38:30.022Z","dependency_job_id":"1371b0b6-8d37-4bab-8c4a-c04b97267478","html_url":"https://github.com/roboflow/supashim","commit_stats":null,"previous_names":["roboflow/supashim"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roboflow%2Fsupashim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roboflow%2Fsupashim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roboflow%2Fsupashim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roboflow%2Fsupashim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roboflow","download_url":"https://codeload.github.com/roboflow/supashim/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252514982,"owners_count":21760480,"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":["enterprise","firebase","kubernetes","self-hosted","supabase"],"created_at":"2024-11-13T13:02:50.059Z","updated_at":"2025-05-05T14:31:29.520Z","avatar_url":"https://github.com/roboflow.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![supashim](assets/supashim-banner.webp)\n\nPackage Firebase apps for self-hosting by using\n[Supabase](https://supabase.com/) as a drop-in replacement for\n[Firebase](https://firebase.google.com/).\n\n## ⚠️ Warning: Under Active Development!\n\nThis repo is under active development.\nIt is not ready to be used (definitely not in production,\nand probably not even in testing).\n\nWe'd love help, feedback, and contributions. Please use\n[GitHub Discussions](https://github.com/roboflow/supashim/discussions)\nto get involved.\n\n## Background\n\nAt [Roboflow](https://roboflow.com) we are heavy users of Firebase. But\nwe are working on [on-prem deployment](https://blog.roboflow.com/on-prem)\nfor our customers and there is no self-hosted version of Firebase.\n\nThis is where [Supabase](https://supabase.com/) and `supashim` come in.\nSupabase is an open-source Firebase alternative that shares many of\nthe features of Firebase and is able to be [self-hosted](https://supabase.com/docs/guides/self-hosting)\nusing [Docker Compose](https://supabase.com/docs/guides/self-hosting/docker)\nor [Kubernetes](https://github.com/supabase-community/supabase-kubernetes).\n\nSupashim is a shim that hooks into the Firebase calls from your app and\ntranslates them into the Supabase equivalents. This means you will be\nable to take an existing Firebase app and simply swap out the `firebase`\nglobal for `supashim` to package a self-hosted version of your Firebase\napp (or to migrate to a Supabase backend) without having to change any\napplication code.\n\n## Currently In Progress\n\n### Firestore\n\nThe shim for `firestore` is in development on the `prototype/firestore`\nbranch. Currently, it is working to connect to Supabase, read/write data,\nrecommend and create Postgres indexes (via RPC).\n\nFirestore features currently in active development are:\n\n-   Support for realtime queries (this is mocked\n    by polling the query for now)\n-   Translating Firestore Security Rules into Supabase/Postgres Row Level Security.\n\n## Roadmap\n\nWe plan to work on shimming the following features next (in this order):\n\n-   `storage` [Firebase Cloud Storage](https://firebase.google.com/products/storage)\n-   `auth` [Firebase Authentication](https://firebase.google.com/products/auth)\n\n## Not Currently Planned\n\nWe don't need the following Firebase features for our use-case so\ndo not plan to build them ourselves (and there may not be\nclear Supabase equivalents) but we would love to have them added\nto the project by an external contributor if possible:\n\n-   `analytics` [Firebase Analytics](https://firebase.google.com/products/analytics)\n-   `app-check` [Firebase App Check](https://firebase.google.com/products/app-check)\n-   `database` [Firebase Realtime Database](https://firebase.google.com/products/realtime-database)\n-   `functions` [Firebase Functions](https://firebase.google.com/products/functions)\n-   `messaging` [Firebase Cloud Messaging](https://firebase.google.com/products/cloud-messaging)\n-   `performance` [Firebase Performance Monitoring](https://firebase.google.com/products/performance)\n-   `remote-config` [Firebase Remote Config](https://firebase.google.com/products/remote-config)\n-   Other features not included in the JS API like\n    [Firebase Hosting](https://firebase.google.com/products/hosting) and\n    [Firebase ML](https://firebase.google.com/products/ml).\n\nPlease [start a Discussion](https://github.com/roboflow/supashim/discussions)\nto make a proposal if you'd like to work on any of these or see them added.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froboflow%2Fsupashim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froboflow%2Fsupashim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froboflow%2Fsupashim/lists"}