Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

Update README and enhance layout with new footer and logo components

Bill Yang6fa54ab13efd
diff --git a/README.md b/README.md
index 5f9a49ddd..21e2ae164 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,3 @@
-
-
<p align="center">
<img src="https://github.com/user-attachments/assets/1425302a-40b6-4d97-bf4b-89927ea93fb9" height="250">
<h1 align="center">
@@ -18,7 +16,7 @@
<a href="https://discord.gg/DEhGb4hYBj" target="_blank">
<img src="https://img.shields.io/badge/discord-join-green.svg?logo=discord&logoColor=white" alt="Discord">
</a>
-<a href="https://github.com/goldflag/rybbit?tab=AGPL-3.0-1-ov-file" target="_blank">
+<a href="https://github.com/rybbit-io/rybbit?tab=AGPL-3.0-1-ov-file" target="_blank">
<img src="https://img.shields.io/static/v1?label=license&message=AGPL-3&color=green" alt="License">
</a>
diff --git a/client/src/app/[site]/main/page.tsx b/client/src/app/[site]/main/page.tsx
index 89bce3c5f..eca170ff8 100644
--- a/client/src/app/[site]/main/page.tsx
+++ b/client/src/app/[site]/main/page.tsx
@@ -29,7 +29,7 @@ function MainPageContent() {
}
return (
- <div className="p-2 md:p-3 max-w-[1100px] mx-auto space-y-3 ">
+ <div className="p-2 md:p-4 max-w-[1100px] mx-auto space-y-3 ">
<SubHeader />
<MainSection />
<div className="grid grid-cols-1 lg:grid-cols-2 gap-3 mt-4">
diff --git a/docs/src/app/components/Logo.jsx b/docs/src/app/components/Logo.jsx
index 8e8ef0473..b17ff9ab6 100644
--- a/docs/src/app/components/Logo.jsx
+++ b/docs/src/app/components/Logo.jsx
@@ -14,3 +14,12 @@ export function Logo() {
</div>
);
}
+
+export function SmallLogo() {
+ return (
+ <div className={`text-2xl flex items-center gap-1.5 ${tilt_wrap.className}`}>
+ <Image src="/rybbit.png" alt="Rybbit" width={32} height={32} />
+ rybbit.
+ </div>
+ );
+}
diff --git a/docs/src/app/contact/page.jsx b/docs/src/app/contact/page.jsx
new file mode 100644
index 000000000..97cfad674
--- /dev/null
+++ b/docs/src/app/contact/page.jsx
@@ -0,0 +1,97 @@
+import Link from "next/link";
+
+export const metadata = {
+ title: 'Contact - Rybbit',
+ description: 'Get in touch with the Rybbit team',
+}
+
+export default function Contact() {
+ return (
+ <div className="max-w-4xl mx-auto px-4 py-12">
+ <h1 className="text-3xl md:text-4xl font-bold mb-8">Contact Us</h1>
+
+ <div className="bg-neutral-800/20 border border-neutral-700/50 rounded-xl p-6 md:p-8 mb-8">
+ <p className="text-lg mb-6">
+ Have questions about Rybbit? We're here to help! Reach out to us through any of these channels:
+ </p>
+
+ <div className="space-y-6">
+ <div className="flex items-start md:items-center gap-4 flex-col md:flex-row">
+ <div className="bg-neutral-800 p-3 rounded-lg">
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" className="text-neutral-300">
+ <rect width="20" height="16" x="2" y="4" rx="2" />
+ <path d="m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7" />
+ </svg>
+ </div>
+ <div>
+ <h2 className="text-xl font-medium mb-1">Email</h2>
+ <a href="mailto:[email protected]" className="text-neutral-300 hover:text-white transition-colors">
+ </a>
+ </div>
+ </div>
+
+ <div className="flex items-start md:items-center gap-4 flex-col md:flex-row">
+ <div className="bg-neutral-800 p-3 rounded-lg">
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" className="text-neutral-300">
+ <path d="M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z" />
+ <polyline points="14 2 14 8 20 8" />
+ <path d="M16 13H8" />
+ <path d="M16 17H8" />
+ <path d="M10 9H8" />
+ </svg>
+ </div>
+ <div>
+ <h2 className="text-xl font-medium mb-1">GitHub</h2>
+ <a href="https://github.com/goldflag/rybbit" target="_blank" rel="noopener noreferrer" className="text-neutral-300 hover:text-white transition-colors">
+ github.com/goldflag/rybbit
+ </a>
+ </div>
+ </div>
+
+ <div className="flex items-start md:items-center gap-4 flex-col md:flex-row">
+ <div className="bg-neutral-800 p-3 rounded-lg">
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" className="text-neutral-300">
+ <path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9" />
+ <path d="M13.73 21a2 2 0 0 1-3.46 0" />
+ </svg>
+ </div>
+ <div>
+ <h2 className="text-xl font-medium mb-1">Discord</h2>
+ <a href="https://discord.gg/DEhGb4hYBj" target="_blank" rel="noopener noreferrer" className="text-neutral-300 hover:text-white transition-colors">
+ Join our Discord Server
+ </a>
+ </div>
+ </div>
+
+ <div className="flex items-start md:items-center gap-4 flex-col md:flex-row">
+ <div className="bg-neutral-800 p-3 rounded-lg">
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" className="text-neutral-300">
+ <path d="M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z" />
+ </svg>
+ </div>
+ <div>
+ <h2 className="text-xl font-medium mb-1">X (Twitter)</h2>
+ <a href="https://x.com/yang_frog" target="_blank" rel="noopener noreferrer" className="text-neutral-300 hover:text-white transition-colors">
+ @yang_frog
+ </a>
+ </div>
+ </div>
+ </div>
+ </div>
+
+ <div className="bg-neutral-800/30 border border-neutral-700/50 rounded-xl p-6">
+ <h2 className="text-xl font-medium mb-3">Open Source Contributions</h2>
+ <p className="mb-4">
+ Rybbit is an open-source project. If you'd like to contribute, report issues, or suggest features,
+ please visit our GitHub repository.
+ </p>
+ <Link href="https://github.com/goldflag/rybbit" target="_blank" rel="noopener noreferrer">
+ <button className="bg-neutral-800 hover:bg-neutral-700 text-white font-medium px-5 py-2 rounded-lg border border-neutral-700 transform hover:-translate-y-0.5 transition-all duration-200 hover:border-neutral-600 focus:outline-none focus:ring-2 focus:ring-neutral-600 focus:ring-opacity-50">
+ Visit GitHub Repository
+ </button>
+ </Link>
+ </div>
+ </div>
+ );
+}
diff --git a/docs/src/app/layout.jsx b/docs/src/app/layout.jsx
index 86eb8d52b..a916cc946 100644
--- a/docs/src/app/layout.jsx
+++ b/docs/src/app/layout.jsx
@@ -8,6 +8,8 @@ import 'nextra-theme-docs/style.css'
import { Head } from 'nextra/components'
import { getPageMap } from 'nextra/page-map'
import './globals.css'
+import { SmallLogo } from './components/Logo'
+import Link from 'next/link'
const tilt_wrap = Tilt_Warp({
subsets: ["latin"],
@@ -34,6 +36,26 @@ export const metadata = {
}
}
+function Footer_() {
+ return (
+ <div className="max-w-[1300px] mx-auto">
+
+ <div className="flex items-center justify-between w-full px-6 py-4">
+ <SmallLogo />
+ <div className="text-sm text-neutral-400">Copyright {new Date().getFullYear()} © Rybbit.</div>
+ <div className="flex gap-4 text-sm">
+ <Link href="/privacy" className="text-neutral-400 hover:text-white transition-colors">
+ Privacy Policy
+ </Link>
+ <Link href="/contact" className="text-neutral-400 hover:text-white transition-colors">
+ Contact
+ </Link>
+ </div>
+ </div>
+ </div>
+ )
+}
+
export default async function RootLayout({ children }) {
const navbar = (
<Navbar
@@ -44,7 +66,7 @@ export default async function RootLayout({ children }) {
</div>
}
chatLink="https://discord.gg/DEhGb4hYBj"
- projectLink="https://github.com/goldflag/rybbit"
+ projectLink="https://github.com/rybbit-io/rybbit"
children={<a href="https://tracking.tomato.gg">
<button className="bg-neutral-800 hover:bg-neutral-700 text-white text-sm font-medium px-3 py-1.5 rounded-md border border-neutral-600 transform hover:-translate-y-0.5 transition-all duration-200 hover:border-neutral-400 focus:outline-none focus:ring-2 focus:ring-neutral-400 focus:ring-opacity-50">
@@ -61,9 +83,9 @@ export default async function RootLayout({ children }) {
<Layout
// banner={<Banner storageKey="Rybbit">Rybbit Alpha</Banner>}
navbar={navbar}
- footer={<Footer>Copyright {new Date().getFullYear()} © Rybbit.</Footer>}
+ footer={<Footer_ />}
editLink="Edit this page on GitHub"
- docsRepositoryBase="https://github.com/goldflag/rybbit/blob/main/docs"
+ docsRepositoryBase="https://github.com/rybbit-io/rybbit/blob/main/docs"
sidebar={{ defaultMenuCollapseLevel: 1 }}
pageMap={pageMap}
nextThemes={{
diff --git a/docs/src/app/page.jsx b/docs/src/app/page.jsx
index b09278145..1505b58e8 100644
--- a/docs/src/app/page.jsx
+++ b/docs/src/app/page.jsx
@@ -1,4 +1,6 @@
+import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "@/components/ui/accordion";
import { Tilt_Warp } from "next/font/google";
+import Link from "next/link";
import { AdvancedFilters } from "./components/Cards/AdvancedFilters";
import { EventTracking } from "./components/Cards/EventTracking";
import { Funnels } from "./components/Cards/Funnels";
@@ -8,13 +10,8 @@ import { UserBehaviorTrends } from "./components/Cards/UserBehaviorTrends";
import { UserFlowAnalysis } from "./components/Cards/UserFlowAnalysis";
import { UserProfiles } from "./components/Cards/UserProfiles";
import { UserSessions } from "./components/Cards/UserSessions";
-import Link from "next/link";
-import { Safari } from "@/components/magicui/safari";
import { Integrations } from "./components/integrations";
-import { AnimatedShinyText } from "@/components/magicui/animated-shiny-text";
import { Logo } from "./components/Logo";
-import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "@/components/ui/accordion";
-import { ShineBorder } from "@/components/magicui/shine-border";
const tilt_wrap = Tilt_Warp({
@@ -26,7 +23,7 @@ export default function IndexPage() {
return (
<div className="flex flex-col items-center justify-center overflow-x-hidden">
- <h1 className={`text-4xl md:text-5xl lg:text-7xl font-semibold pt-16 md:pt-24 px-4 tracking-tight max-w-3xl text-center text-transparent bg-clip-text bg-gradient-to-b from-white via-gray-200 to-gray-500 ${tilt_wrap.className}`}>The Modern Google Analytics Alternative</h1>
+ <h1 className={`text-4xl md:text-5xl lg:text-7xl font-semibold pt-16 md:pt-24 px-4 tracking-tight max-w-3xl text-center text-transparent bg-clip-text bg-gradient-to-b from-white via-gray-100 to-gray-400 ${tilt_wrap.className}`}>The Modern Google Analytics Alternative</h1>
<h2 className="text-lg md:text-2xl pt-4 md:pt-6 px-4 tracking-tight max-w-3xl text-center text-neutral-300">Next-gen, open source, lightweight, cookieless web & product analytics for everyone — GDPR/CCPA compliant.</h2>
<div className="flex flex-col sm:flex-row my-8 md:my-10 items-center justify-center gap-4 md:gap-6 text-base md:text-lg px-4">
diff --git a/docs/src/app/privacy/page.jsx b/docs/src/app/privacy/page.jsx
new file mode 100644
index 000000000..a9023927a
--- /dev/null
+++ b/docs/src/app/privacy/page.jsx
@@ -0,0 +1,117 @@
+export const metadata = {
+ title: 'Privacy Policy - Rybbit',
+ description: 'Rybbit privacy policy - how we protect your data',
+}
+
+export default function PrivacyPolicy() {
+ return (
+ <div className="max-w-4xl mx-auto px-4 py-12">
+ <h1 className="text-3xl md:text-4xl font-bold mb-8">Privacy Policy</h1>
+
+ <div className="prose prose-invert max-w-none">
+ <p className="text-lg">Last updated: {new Date().toLocaleDateString('en-US', { year: 'numeric', month: 'long', day: 'numeric' })}</p>
+
+ <h2 className="text-2xl font-semibold mt-8 mb-4">Overview</h2>
+ <p>
+ Rybbit is an open-source, privacy-friendly web analytics alternative to Google Analytics.
+ This privacy policy explains our approach to data collection and how we prioritize user privacy
+ while still providing website owners with valuable insights.
+ </p>
+
+ <h2 className="text-2xl font-semibold mt-8 mb-4">Data We Collect</h2>
+ <p>Rybbit collects the following anonymous data about website visits:</p>
+ <ul className="list-disc pl-6 space-y-2">
+ <li><strong>Page data:</strong> URLs visited, page titles, referrers, and query parameters</li>
+ <li><strong>Visit information:</strong> Session duration, entry and exit pages</li>
+ <li><strong>Device information:</strong> Browser type and version, operating system, screen resolution, device type</li>
+ <li><strong>Location data:</strong> Country and region (derived from IP address, which is not stored)</li>
+ <li><strong>Marketing data:</strong> UTM parameters (source, medium, campaign)</li>
+ <li><strong>Custom events:</strong> If configured by the website owner</li>
+ </ul>
+
+ <h2 className="text-2xl font-semibold mt-8 mb-4">How We Process IPs</h2>
+ <p>
+ When processing visitor data, IP addresses are only used temporarily to determine geographic location (country and region).
+ The actual IP addresses are never stored in our database, preserving visitor anonymity while still providing
+ geographic insights to website owners.
+ </p>
+
+ <h2 className="text-2xl font-semibold mt-8 mb-4">User and Session IDs</h2>
+ <p>
+ Rybbit uses anonymous session and user identifiers that contain no personally identifiable information.
+ These IDs help track user journeys and session information without compromising privacy or requiring cookies.
+ </p>
+
+ <h2 className="text-2xl font-semibold mt-8 mb-4">No Cookies Policy</h2>
+ <p>
+ Unlike traditional analytics tools, Rybbit functions without cookies. This means websites using Rybbit
+ typically don't require cookie consent banners under GDPR, ePrivacy Directive, and similar regulations.
+ </p>
+
+ <h2 className="text-2xl font-semibold mt-8 mb-4">How Data is Used</h2>
+ <p>The collected data is used exclusively to:</p>
+ <ul className="list-disc pl-6 space-y-2">
+ <li>Provide website owners with anonymous, aggregated statistics about their visitors</li>
+ <li>Show trends in website traffic and user behavior</li>
+ <li>Help identify popular content and effective referral sources</li>
+ <li>Track marketing campaign performance</li>
+ <li>Understand user flows through websites</li>
+ </ul>
+
+ <h2 className="text-2xl font-semibold mt-8 mb-4">Data Ownership</h2>
+ <p>
+ For self-hosted Rybbit instances, all collected data remains exclusively on your servers and under your control.
+ For our cloud service, you retain ownership of your analytics data, and we process it solely to provide the
+ analytics service to you.
+ </p>
+
+ <h2 className="text-2xl font-semibold mt-8 mb-4">Data Retention</h2>
+ <p>
+ For self-hosted instances, data retention is configurable by the administrator.
+ For our cloud service, we retain analytics data for 12 months by default, after which it is automatically deleted.
+ </p>
+
+ <h2 className="text-2xl font-semibold mt-8 mb-4">GDPR and Privacy Regulations Compliance</h2>
+ <p>
+ Rybbit is designed with privacy regulations in mind, including GDPR, CCPA, and ePrivacy Directive:
+ </p>
+ <ul className="list-disc pl-6 space-y-2">
+ <li>We collect minimal data needed for analytics</li>
+ <li>We don't use cookies or local storage</li>
+ <li>We don't track users across different websites</li>
+ <li>We don't collect or store personal data that could directly identify individuals</li>
+ <li>We don't share or sell your analytics data</li>
+ </ul>
+
+ <h2 className="text-2xl font-semibold mt-8 mb-4">Security Measures</h2>
+ <p>
+ For our cloud service, we implement appropriate technical and organizational security measures
+ to protect your data. For self-hosted instances, security is managed by your administrators.
+ </p>
+
+ <h2 className="text-2xl font-semibold mt-8 mb-4">Changes to This Policy</h2>
+ <p>
+ We may update this Privacy Policy periodically to reflect changes in our practices or for legal reasons.
+ We will post the updated policy on this page with a revised date.
+ </p>
+
+ <h2 className="text-2xl font-semibold mt-8 mb-4">Open Source Transparency</h2>
+ <p>
+ As an open-source project, our code is publicly available for review. This includes our data collection
+ mechanisms, which you can audit to verify our privacy claims.
+ <a href="https://github.com/rybbit-io/rybbit" className="text-emerald-400 hover:text-emerald-300 ml-1">
+ View our GitHub repository
+ </a>.
+ </p>
+
+ <h2 className="text-2xl font-semibold mt-8 mb-4">Contact Us</h2>
+ <p>
+ If you have questions about this privacy policy or Rybbit's data practices, please contact us at:
+ <a href="mailto:[email protected]" className="text-emerald-400 hover:text-emerald-300 ml-1">
+ </a>
+ </p>
+ </div>
+ </div>
+ );
+}
\ No newline at end of file
diff --git a/docs/src/content/self-hosting.mdx b/docs/src/content/self-hosting.mdx
index 99f0a05cd..c54fc18c7 100644
--- a/docs/src/content/self-hosting.mdx
+++ b/docs/src/content/self-hosting.mdx
@@ -45,7 +45,7 @@ Follow the official Docker Engine installation instructions for your Linux distr
Clone the project repository from GitHub (Git is usually pre-installed on most server distributions):
```bash
-git clone https://github.com/goldflag/rybbit.git
+git clone https://github.com/rybbit-io/rybbit.git
cd Rybbit
```