diff --git a/README.md b/README.md index ad8633c47..d2af00f33 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,16 @@ - - ![new_header](https://github.com/user-attachments/assets/e236b764-0ddc-42ff-a1f1-8fbb3d2e0e65) + # SurfSense While tools like NotebookLM and Perplexity are impressive and highly effective for conducting research on any topic/query, SurfSense elevates this capability by integrating with your personal knowledge base. It is a highly customizable AI research agent, connected to external sources such as search engines (Tavily, LinkUp), Slack, Linear, Notion, YouTube, GitHub and more to come. +
+MODSetter%2FSurfSense | Trendshift +
+ # Video @@ -203,3 +206,13 @@ Before installation, make sure to complete the [prerequisite setup steps](https: Contributions are very welcome! A contribution can be as small as a ⭐ or even finding and creating issues. Fine-tuning the Backend is always desired. +## Star History + + + + + + Star History Chart + + + diff --git a/surfsense_web/app/login/GoogleLoginButton.tsx b/surfsense_web/app/login/GoogleLoginButton.tsx index a4ed4a3a0..11caafbf3 100644 --- a/surfsense_web/app/login/GoogleLoginButton.tsx +++ b/surfsense_web/app/login/GoogleLoginButton.tsx @@ -34,6 +34,42 @@ export function GoogleLoginButton() { Welcome Back + + + + + + + +
+

+ SurfSense Cloud is currently in development. Check Docs for more information on Self-Hosted version. +

+
+
+
+
+
+ + MODSetter%2FSurfSense | Trendshift + +
{ const [hoveredIndex, setHoveredIndex] = useState(null); const handleGoogleLogin = () => { - // Redirect to Google OAuth authorization URL - fetch(`${process.env.NEXT_PUBLIC_FASTAPI_BACKEND_URL}/auth/google/authorize`) - .then((response) => { - if (!response.ok) { - throw new Error('Failed to get authorization URL'); - } - return response.json(); - }) - .then((data) => { - if (data.authorization_url) { - window.location.href = data.authorization_url; - } else { - console.error('No authorization URL received'); - } - }) - .catch((error) => { - console.error('Error during Google login:', error); - }); + // Redirect to the login page + window.location.href = '/login'; }; return (