The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
<svg xmlns="http://www.w3.org/2000/svg" width="1385" height="401" fill="none" viewBox="0 0 1385 401"><g filter="url(#a)"><rect width="562" height="94.078" x="656" y="161.996" fill="url(#b)" fill-opacity=".5" rx="8" shape-rendering="crispEdges"/><g filter="url(#c)"><rect width="530" height="7.078" x="672" y="177.996" fill="url(#d)" rx="3.539"/></g><g filter="url(#e)"><rect width="67.109" height="7.078" x="672" y="177.996" fill="url(#f)" rx="3.539"/></g><circle cx="692.363" cy="220.074" r="17.363" stroke="#281a38" stroke-width="5"/><path stroke="url(#g)" stroke-linecap="round" stroke-width="5" d="M709.727 220.074c0-9.589-7.774-17.363-17.364-17.363S675 210.485 675 220.074c0 9.59 7.774 17.364 17.363 17.364"/><path fill="#ece3ff" fill-opacity=".9" d="M729.759 214.254c1.725 0 3.055-1.078 3.055-3.079v-5.594h-1.174v5.558c0 1.294-.683 2.025-1.881 2.025-1.186 0-1.893-.731-1.893-2.025v-5.558h-1.162v5.594c0 2.001 1.33 3.079 3.055 3.079m6.026 2.096v-3.054c.312.515.983.934 1.869.934 1.689 0 2.684-1.33 2.684-3.043 0-1.677-.923-3.007-2.648-3.007-.934 0-1.617.455-1.929 1.03v-.898h-1.09v8.038zm3.403-5.163c0 1.186-.659 2.037-1.702 2.037-1.03 0-1.713-.851-1.713-2.037 0-1.15.683-2.012 1.713-2.012 1.055 0 1.702.862 1.702 2.012m3.711 2.887v-8.673h-1.127v8.673zm4.383-.826c-.958 0-1.797-.719-1.797-2.061 0-1.33.839-2.048 1.797-2.048s1.797.718 1.797 2.048c0 1.342-.839 2.061-1.797 2.061m0-5.116c-1.725 0-2.947 1.306-2.947 3.055 0 1.761 1.222 3.067 2.947 3.067s2.947-1.306 2.947-3.067c0-1.749-1.222-3.055-2.947-3.055m4.028 4.397c0 .91.755 1.725 1.929 1.725 1.03 0 1.605-.551 1.857-.958 0 .419.036.634.06.778h1.102a5.4 5.4 0 0 1-.072-.946v-2.887c0-1.126-.671-2.109-2.396-2.109-1.246 0-2.24.767-2.36 1.869l1.078.252c.072-.671.515-1.162 1.306-1.162.875 0 1.246.467 1.246 1.03 0 .204-.096.383-.443.431l-1.558.228c-.994.144-1.749.719-1.749 1.749m2.085.779c-.575 0-.935-.408-.935-.839 0-.515.36-.791.839-.863l1.761-.263v.263c0 1.258-.743 1.702-1.665 1.702m5.216-2.133c0-1.186.671-2.024 1.701-2.024s1.653.814 1.653 2-.634 2.085-1.665 2.085c-1.078 0-1.689-.875-1.689-2.061m3.366 2.121c0 .347.036.646.06.778h1.09a9 9 0 0 1-.059-1.066v-7.607h-1.115v3.726c-.191-.468-.742-.971-1.761-.971-1.629 0-2.731 1.39-2.731 3.019 0 1.713 1.042 3.055 2.731 3.055.899 0 1.51-.479 1.785-1.03zm4.12.778v-5.762h-1.114v5.762zm-1.366-7.942c0 .443.36.802.803.802a.808.808 0 1 0-.803-.802m4.408 4.612c0-.875.455-1.581 1.342-1.581 1.006 0 1.342.646 1.342 1.449v3.462h1.126v-3.654c0-1.281-.683-2.276-2.061-2.276-.671 0-1.354.276-1.773.995v-.827h-1.102v5.762h1.126zm5.182 3.642c.143 1.234 1.222 2.144 2.659 2.144 2.168 0 2.887-1.426 2.887-2.887v-5.331h-1.114v.803c-.287-.575-.886-.911-1.773-.911-1.581 0-2.647 1.246-2.647 2.803 0 1.63 1.114 2.792 2.647 2.792.863 0 1.486-.42 1.761-.947v.827c0 1.246-.551 1.869-1.761 1.869-.874 0-1.485-.611-1.569-1.414zm2.827-1.534c-1.018 0-1.665-.718-1.665-1.845 0-1.114.67-1.844 1.665-1.844.97 0 1.641.73 1.641 1.844s-.671 1.845-1.641 1.845"/><path fill="#c6b3ff" fill-opacity=".4" d="M789.182 211.966c.107 1.222 1.222 2.3 2.875 2.3 1.725 0 2.851-1.186 2.851-2.648 0-1.605-1.114-2.575-2.636-2.575-.611 0-1.234.191-1.581.575l.575-2.228h3.318v-1.079h-4.097l-1.006 3.858c.395.144.743.299 1.15.455.336-.347.863-.563 1.414-.563.898 0 1.677.539 1.677 1.605 0 .959-.743 1.57-1.665 1.57-.971 0-1.677-.647-1.749-1.606zm7.68-3.858a.91.91 0 0 1 .922-.934c.527 0 .922.395.922.934 0 .551-.395.947-.922.947-.515 0-.922-.396-.922-.947m-.995 0c0 1.067.887 1.893 1.917 1.893s1.929-.826 1.929-1.893c0-1.054-.899-1.88-1.929-1.88s-1.917.826-1.917 1.88m5.739 4.169a.91.91 0 0 1 .922-.934c.527 0 .922.395.922.934 0 .551-.395.947-.922.947-.515 0-.922-.396-.922-.947m-.995 0c0 1.066.887 1.893 1.917 1.893s1.929-.827 1.929-1.893c0-1.054-.899-1.881-1.929-1.881s-1.917.827-1.917 1.881m-2.683 1.797 5.558-7.763h-1.078l-5.582 7.763zM726.568 232.325h3.81v1.749h1.138v-1.749h1.329v-1.09h-1.329v-4.924h-1.618l-3.33 4.66zm3.81-1.09h-2.732l2.732-3.798zm6.004-1.617c-.827-.012-1.438-.515-1.438-1.27 0-.695.563-1.246 1.438-1.246.874 0 1.438.551 1.438 1.246 0 .755-.611 1.258-1.438 1.27m0 3.618c-1.042 0-1.629-.575-1.629-1.306 0-.743.599-1.33 1.629-1.33s1.629.587 1.629 1.33c0 .731-.587 1.306-1.629 1.306m0 1.018c1.785 0 2.815-.982 2.815-2.228 0-.947-.647-1.653-1.473-1.917a1.96 1.96 0 0 0 1.27-1.821c0-1.27-1.127-2.156-2.612-2.156s-2.612.886-2.612 2.156c0 .863.563 1.557 1.27 1.821-.826.275-1.473.97-1.473 1.917 0 1.246 1.03 2.228 2.815 2.228m13.604-.18v-8.493h-1.57l-3.018 6.912-2.995-6.912h-1.594v8.493h1.162v-6.613l2.875 6.613h1.079l2.899-6.613v6.613zm2.16-8.493v8.493h2.97c1.558 0 2.624-.97 2.624-2.312 0-.946-.563-1.809-1.533-2.048.742-.276 1.269-.923 1.269-1.833 0-1.342-.946-2.3-2.563-2.3zm1.174 3.713v-2.683h1.413c.97 0 1.557.527 1.557 1.33 0 .79-.563 1.353-1.509 1.353zm0 3.75v-2.743h1.677c1.03 0 1.545.575 1.545 1.389 0 .827-.647 1.354-1.593 1.354zm11.375.204c-.958 0-1.797-.719-1.797-2.061 0-1.33.839-2.048 1.797-2.048s1.797.718 1.797 2.048c0 1.342-.839 2.061-1.797 2.061m0-5.116c-1.725 0-2.947 1.306-2.947 3.055 0 1.761 1.222 3.067 2.947 3.067s2.947-1.306 2.947-3.067c0-1.749-1.222-3.055-2.947-3.055m7.287 1.198v-1.018h-1.39v-.91c0-.791.515-.983.911-.983.287 0 .431.048.491.072v-1.006c-.048-.036-.288-.12-.671-.12-1.042 0-1.893.695-1.893 1.977v.97h-1.066v1.018h1.066v4.744h1.162v-4.744zm6.574 4.744v-7.763h-1.03c-.18.839-.923 1.438-2.001 1.462v.827h1.881v5.474zm2.712-3.881c0-1.186.216-2.025.683-2.516.3-.311.683-.503 1.234-.503s.935.192 1.234.503c.467.491.683 1.33.683 2.516s-.216 2.024-.683 2.516c-.299.311-.683.503-1.234.503s-.934-.192-1.234-.503c-.467-.492-.683-1.33-.683-2.516m-1.162 0c0 1.066.18 2.048.695 2.815.503.755 1.282 1.246 2.384 1.246s1.881-.491 2.384-1.246c.515-.767.695-1.749.695-2.815s-.18-2.049-.695-2.815c-.503-.755-1.282-1.246-2.384-1.246s-1.881.491-2.384 1.246c-.515.766-.695 1.749-.695 2.815m8.462 0c0-1.186.216-2.025.683-2.516.3-.311.683-.503 1.234-.503s.935.192 1.234.503c.467.491.683 1.33.683 2.516s-.216 2.024-.683 2.516c-.299.311-.683.503-1.234.503s-.934-.192-1.234-.503c-.467-.492-.683-1.33-.683-2.516m-1.162 0c0 1.066.18 2.048.695 2.815.503.755 1.282 1.246 2.384 1.246s1.881-.491 2.384-1.246c.515-.767.695-1.749.695-2.815s-.18-2.049-.695-2.815c-.503-.755-1.282-1.246-2.384-1.246s-1.881.491-2.384 1.246c-.515.766-.695 1.749-.695 2.815m8.463 0c0-1.186.215-2.025.682-2.516.3-.311.683-.503 1.234-.503s.935.192 1.234.503c.467.491.683 1.33.683 2.516s-.216 2.024-.683 2.516c-.299.311-.683.503-1.234.503s-.934-.192-1.234-.503c-.467-.492-.682-1.33-.682-2.516m-1.162 0c0 1.066.179 2.048.694 2.815.503.755 1.282 1.246 2.384 1.246s1.881-.491 2.384-1.246c.515-.767.695-1.749.695-2.815s-.18-2.049-.695-2.815c-.503-.755-1.282-1.246-2.384-1.246s-1.881.491-2.384 1.246c-.515.766-.694 1.749-.694 2.815m17.014 3.881v-8.493h-1.57l-3.018 6.912-2.995-6.912h-1.594v8.493h1.162v-6.613l2.875 6.613h1.079l2.899-6.613v6.613zm2.16-8.493v8.493h2.97c1.558 0 2.624-.97 2.624-2.312 0-.946-.563-1.809-1.533-2.048.742-.276 1.269-.923 1.269-1.833 0-1.342-.946-2.3-2.563-2.3zm1.174 3.713v-2.683h1.413c.97 0 1.557.527 1.557 1.33 0 .79-.563 1.353-1.509 1.353zm0 3.75v-2.743h1.677c1.03 0 1.545.575 1.545 1.389 0 .827-.647 1.354-1.593 1.354zm13.939-4.792a1.28 1.28 0 0 0-1.282 1.27c0 .707.575 1.282 1.282 1.282a1.28 1.28 0 0 0 1.269-1.282c0-.695-.575-1.27-1.269-1.27m12.315 5.822v-7.763h-1.031c-.179.839-.922 1.438-2 1.462v.827h1.881v5.474zm2.64-4.971c-.012-.12-.024-.24-.024-.348 0-.886.48-1.593 1.498-1.593.982 0 1.461.659 1.461 1.366 0 .599-.335 1.15-1.066 1.617l-1.294.838c-1.317.851-1.821 1.821-1.845 3.091h5.439v-1.09h-3.989c.108-.479.503-.803.946-1.09l1.534-.982c.886-.563 1.461-1.378 1.461-2.396 0-1.294-.958-2.384-2.623-2.384-1.701 0-2.684 1.186-2.684 2.515 0 .096 0 .204.012.312zm6.724 4.971V230.6c0-.862.54-1.461 1.342-1.461.863 0 1.222.575 1.222 1.317v3.618h1.126v-3.486c0-.826.539-1.449 1.33-1.449.85 0 1.222.563 1.222 1.317v3.618h1.114v-3.737c0-1.51-.982-2.193-1.989-2.193-.73 0-1.473.264-1.928 1.09-.312-.742-1.007-1.09-1.725-1.09-.671 0-1.39.3-1.75.935v-.767h-1.078v5.762zm11.614-2.108c.108 1.222 1.222 2.3 2.875 2.3 1.725 0 2.851-1.186 2.851-2.648 0-1.605-1.114-2.575-2.635-2.575-.611 0-1.234.191-1.582.575l.575-2.228h3.319v-1.079h-4.097l-1.007 3.858c.396.144.743.299 1.15.455.336-.347.863-.563 1.414-.563.898 0 1.677.539 1.677 1.605 0 .959-.743 1.57-1.665 1.57-.97 0-1.677-.647-1.749-1.606zm6.563 0c.108 1.222 1.222 2.3 2.875 2.3 1.725 0 2.851-1.186 2.851-2.648 0-1.605-1.114-2.575-2.635-2.575-.611 0-1.234.191-1.582.575l.575-2.228h3.319v-1.079h-4.097l-1.007 3.858c.396.144.743.299 1.15.455.336-.347.863-.563 1.414-.563.898 0 1.677.539 1.677 1.605 0 .959-.743 1.57-1.665 1.57-.97 0-1.677-.647-1.749-1.606zm6.563.611c.096.659.767 1.677 2.348 1.677 1.426 0 2.108-.97 2.108-1.785 0-.851-.551-1.486-1.593-1.713l-.934-.204c-.444-.096-.659-.347-.659-.695 0-.395.383-.766.958-.766.911 0 1.15.659 1.198.958l.994-.371c-.119-.515-.611-1.546-2.192-1.546-1.126 0-2.048.839-2.048 1.821 0 .815.539 1.426 1.437 1.617l.982.216c.48.108.743.383.743.743 0 .407-.347.767-.982.767-.815 0-1.27-.48-1.342-1.079zm10.077 1.497v-8.673h-1.127v8.673zm2.646-3.474c.048-.743.623-1.473 1.569-1.473 1.019 0 1.558.647 1.582 1.473zm3.318 1.498c-.215.646-.683 1.162-1.617 1.162-.97 0-1.713-.719-1.737-1.749h4.337c.012-.072.024-.216.024-.36 0-1.797-.995-3.019-2.768-3.019-1.449 0-2.755 1.234-2.755 3.043 0 1.953 1.354 3.079 2.899 3.079 1.342 0 2.264-.803 2.588-1.821zm5.343-2.768v-1.018h-1.389v-.91c0-.791.515-.983.91-.983.287 0 .431.048.491.072v-1.006c-.048-.036-.287-.12-.671-.12-1.042 0-1.893.695-1.893 1.977v.97h-1.066v1.018h1.066v4.744h1.163v-4.744zm2.717-2.839h-1.03v.935c0 .503-.264.886-.887.886h-.311v1.018h1.102v3.163c0 1.042.623 1.641 1.605 1.641.383 0 .671-.072.767-.108v-.958c-.096.024-.3.048-.444.048-.587 0-.802-.264-.802-.791v-2.995h1.246v-1.018h-1.246z"/><circle cx="1191.8" cy="220.074" r="10.195" fill="url(#h)" fill-opacity=".2"/><path fill="url(#i)" fill-rule="evenodd" d="m1190.85 220.086-2.99 2.994.95.95 2.99-2.994 3 2.996.95-.95-3-2.996 3.02-3.019-.95-.95-3.02 3.019-3.01-3.018-.95.95z" clip-rule="evenodd"/><rect width="560.808" height="92.886" x="656.596" y="162.592" stroke="url(#j)" stroke-width="1.192" rx="7.404" shape-rendering="crispEdges"/></g><circle cx="1166.04" cy="221.246" r="11.309" fill="url(#k)" fill-opacity=".5"/><circle cx="1166.05" cy="221.246" r="10.195" fill="url(#l)" fill-opacity=".5"/><path fill="url(#m)" fill-rule="evenodd" d="M1163.44 217.504v7.486h1.34v-7.486zm3.86 0v7.486h1.35v-7.486z" clip-rule="evenodd"/><defs><linearGradient id="b" x1="943.943" x2="1072.3" y1="70.916" y2="284.142" gradientUnits="userSpaceOnUse"><stop stop-color="#bb93c5" stop-opacity="0"/><stop offset=".198" stop-color="#bb93c5" stop-opacity=".19"/><stop offset="1" stop-color="#302642"/></linearGradient><linearGradient id="d" x1="755.547" x2="1269.88" y1="185.074" y2="185.074" gradientUnits="userSpaceOnUse"><stop stop-color="#d478ff" stop-opacity=".05"/><stop offset="1" stop-color="#d782ff" stop-opacity=".74"/></linearGradient><linearGradient id="f" x1="682.579" x2="747.705" y1="185.074" y2="185.074" gradientUnits="userSpaceOnUse"><stop stop-color="#d478ff" stop-opacity=".05"/><stop offset="1" stop-color="#d782ff" stop-opacity=".74"/></linearGradient><linearGradient id="g" x1="705.551" x2="690.929" y1="202.711" y2="234.897" gradientUnits="userSpaceOnUse"><stop stop-color="#d696ff"/><stop offset="1" stop-color="#c770ff" stop-opacity="0"/></linearGradient><linearGradient id="h" x1="1207.9" x2="1193.57" y1="198.223" y2="237.589" gradientUnits="userSpaceOnUse"><stop stop-color="#fedcff"/><stop offset="1" stop-color="#fedcff" stop-opacity="0"/></linearGradient><linearGradient id="i" x1="1198.07" x2="1192.52" y1="211.592" y2="226.883" gradientUnits="userSpaceOnUse"><stop stop-color="#fedcff"/><stop offset="1" stop-color="#fedcff" stop-opacity="0"/></linearGradient><linearGradient id="j" x1="1121.75" x2="1181.48" y1="256.074" y2="184.516" gradientUnits="userSpaceOnUse"><stop stop-color="#d478ff" stop-opacity=".05"/><stop offset="1" stop-color="#d782ff" stop-opacity=".74"/></linearGradient><linearGradient id="k" x1="1183.9" x2="1168.01" y1="197.009" y2="240.674" gradientUnits="userSpaceOnUse"><stop stop-color="#fedcff"/><stop offset="1" stop-color="#fedcff" stop-opacity="0"/></linearGradient><linearGradient id="l" x1="1182.14" x2="1167.82" y1="199.395" y2="238.761" gradientUnits="userSpaceOnUse"><stop stop-color="#fedcff"/><stop offset="1" stop-color="#fedcff" stop-opacity="0"/></linearGradient><linearGradient id="m" x1="1166.95" x2="1161.35" y1="218.761" y2="229.668" gradientUnits="userSpaceOnUse"><stop stop-color="#fedcff"/><stop offset="1" stop-color="#fedcff" stop-opacity="0"/></linearGradient><filter id="a" width="586" height="119.614" x="644" y="152.46" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feGaussianBlur in="BackgroundImageFix" stdDeviation="4.768"/><feComposite in2="SourceAlpha" operator="in" result="effect1_backgroundBlur_29_6516"/><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dy="4"/><feGaussianBlur stdDeviation="6"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix values="0 0 0 0 0.0921438 0 0 0 0 0.0311458 0 0 0 0 0.191667 0 0 0 0.47 0"/><feBlend in2="effect1_backgroundBlur_29_6516" result="effect2_dropShadow_29_6516"/><feBlend in="SourceGraphic" in2="effect2_dropShadow_29_6516" result="shape"/></filter><filter id="c" width="555.869" height="32.947" x="659.065" y="165.062" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feGaussianBlur in="BackgroundImageFix" stdDeviation="6.467"/><feComposite in2="SourceAlpha" operator="in" result="effect1_backgroundBlur_29_6516"/><feBlend in="SourceGraphic" in2="effect1_backgroundBlur_29_6516" result="shape"/></filter><filter id="e" width="92.978" height="32.947" x="659.065" y="165.062" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feGaussianBlur in="BackgroundImageFix" stdDeviation="6.467"/><feComposite in2="SourceAlpha" operator="in" result="effect1_backgroundBlur_29_6516"/><feBlend in="SourceGraphic" in2="effect1_backgroundBlur_29_6516" result="shape"/></filter></defs></svg>