🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.
Update Terms and Conditions page with new subscription and billing details, data privacy commitments, and account responsibilities. Added a link to the Security page in the Footer component for improved navigation.
Bill Yangb5f61a7006ed
diff --git a/docs-v2/src/app/security/page.tsx b/docs-v2/src/app/security/page.tsxnew file mode 100644index 000000000..689731a63--- /dev/null+++ b/docs-v2/src/app/security/page.tsx@@ -0,0 +1,148 @@+import { CustomHeader } from "../../components/CustomHeader";+import { Footer } from "../../components/Footer";++export const metadata = {+ title: "Security",+ description: "Rybbit security practices and data protection",+};++export default function Security() {+ return (+ <>+ <CustomHeader />+ <div className="max-w-4xl mx-auto px-4 py-12">+ <h1 className="text-3xl md:text-4xl font-bold mb-8">Security</h1>++ <div className="prose prose-invert max-w-none">+ <p className="text-lg mb-8">+ Security and privacy are at the core of everything we do at Rybbit. Here's how we protect your data and+ maintain a secure analytics platform.+ </p>++ <h2 className="text-2xl font-semibold mt-8 mb-4">Visitor Privacy Protection</h2>+ <p>Your website visitors' privacy is paramount. Here's how we protect it:</p>+ <ul className="list-disc pl-6 space-y-2">+ <li>No cookies or local storage used for tracking</li>+ <li>IP addresses are hashed and anonymized</li>+ <li>User-Agent strings are hashed daily with rotating salts</li>+ <li>Raw visitor data is never stored</li>+ </ul>++ <h2 className="text-2xl font-semibold mt-8 mb-4">Infrastructure Security</h2>+ <h3 className="text-xl font-semibold mt-6 mb-3">Hosting</h3>+ <p>+ Rybbit is hosted on Hetzner servers located in Germany, within the European Union. Hetzner is ISO 27001+ certified and provides:+ </p>+ <ul className="list-disc pl-6 space-y-2">+ <li>Physical security at data centers</li>+ <li>DDoS protection</li>+ <li>Redundant infrastructure</li>+ <li>24/7 monitoring</li>+ <li>EU-based data processing</li>+ <li>Daily backups</li>+ </ul>++ <h3 className="text-xl font-semibold mt-6 mb-3">Network Security</h3>+ <p>+ Our database servers are not accessible on the open internet. They are protected behind private networks+ with strict firewall rules, ensuring that only authorized application servers can access them. This+ significantly reduces the attack surface and protects your data from external threats.+ </p>++ <h3 className="text-xl font-semibold mt-6 mb-3">External Services</h3>+ <p>+ For session replay storage, we use Cloudflare R2 (object storage). Cloudflare is a trusted infrastructure+ provider with enterprise-grade security. All replay data is encrypted before storage.+ </p>++ <h2 className="text-2xl font-semibold mt-8 mb-4">User Authentication & Account Security</h2>+ <p>We take account security seriously:</p>+ <ul className="list-disc pl-6 space-y-2">+ <li>Passwords are hashed and salted</li>+ <li>Each password gets a unique salt - no rainbow table attacks possible</li>+ <li>We never store passwords in plain text</li>+ <li>Sessions expire after 14 days of inactivity</li>+ <li>Secure password reset flows</li>+ <li>Account activity monitoring</li>+ </ul>++ <h2 className="text-2xl font-semibold mt-8 mb-4">Data Ownership & Control</h2>+ <p>You have complete control over your data:</p>+ <ul className="list-disc pl-6 space-y-2">+ <li>You own 100% of your website analytics data</li>+ <li>You can delete your account and all associated data at any time</li>+ <li>You can delete individual sites and their data</li>+ </ul>++ <h3 className="text-xl font-semibold mt-6 mb-3">Data Deletion</h3>+ <p>+ After cancellation or downgrade to free tier, your analytics data will be permanently deleted within 60+ days. We recommend exporting your data before cancellation if you wish to retain it. Once deleted, data+ cannot be recovered.+ </p>++ <h2 className="text-2xl font-semibold mt-8 mb-4">Payment Security</h2>+ <p>+ We never store your payment details. All payment processing is handled by PCI DSS compliant payment+ processors (Stripe). Your credit card information goes directly to the payment processor and never touches+ our servers.+ </p>++ <h2 className="text-2xl font-semibold mt-8 mb-4">Open Source & Transparency</h2>+ <p>Rybbit is fully open source, which means:</p>+ <ul className="list-disc pl-6 space-y-2">+ <li>Our entire codebase is publicly available on GitHub</li>+ <li>Security researchers can audit our code</li>+ <li>We receive community security feedback</li>+ <li>Vulnerabilities are disclosed responsibly</li>+ <li>Regular software updates and security patches</li>+ </ul>++ <h2 className="text-2xl font-semibold mt-8 mb-4">Continuous Monitoring & Updates</h2>+ <p>We maintain a secure platform through:</p>+ <ul className="list-disc pl-6 space-y-2">+ <li>Continuous infrastructure monitoring</li>+ <li>Regular security updates and patches</li>+ <li>Comprehensive automated testing</li>+ <li>Public changelog of all updates</li>+ <li>Dependency vulnerability scanning</li>+ </ul>++ <h2 className="text-2xl font-semibold mt-8 mb-4">Compliance</h2>+ <p>Rybbit is designed to help you comply with privacy regulations:</p>+ <ul className="list-disc pl-6 space-y-2">+ <li>GDPR compliant (no personal data collection)</li>+ <li>CCPA compliant</li>+ <li>PECR compliant (no cookie consent needed)</li>+ <li>Can be used without cookie banners in most jurisdictions</li>+ </ul>++ <h2 className="text-2xl font-semibold mt-8 mb-4">Vulnerability Disclosure</h2>+ <p>If you discover a security vulnerability in Rybbit, please report it responsibly:</p>+ <ul className="list-disc pl-6 space-y-2">+ <li>+ Email us at{" "}+ <a href="mailto:[email protected]" className="text-emerald-400 hover:text-emerald-300">+ </a>+ </li>+ <li>Provide detailed information about the vulnerability</li>+ <li>Allow us reasonable time to address the issue before public disclosure</li>+ <li>We will acknowledge your contribution publicly (unless you prefer to remain anonymous)</li>+ </ul>++ <h2 className="text-2xl font-semibold mt-8 mb-4">Questions?</h2>+ <p>+ If you have any questions about our security practices, please contact us at{" "}+ <a href="mailto:[email protected]" className="text-emerald-400 hover:text-emerald-300">+ </a>+ .+ </p>+ </div>+ </div>+ <Footer />+ </>+ );+}diff --git a/docs-v2/src/app/terms-and-conditions/page.tsx b/docs-v2/src/app/terms-and-conditions/page.tsxindex 080b93568..bcc681329 100644--- a/docs-v2/src/app/terms-and-conditions/page.tsx+++ b/docs-v2/src/app/terms-and-conditions/page.tsx@@ -9,9 +9,7 @@ export default function TermsAndConditions() {<h1 className="text-3xl md:text-4xl font-bold mb-8">Terms and Conditions</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>+ <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">Acceptance of Terms</h2><p>@@ -40,17 +38,77 @@ export default function TermsAndConditions() {<h3 className="text-xl font-semibold mt-6 mb-3">Account Responsibilities</h3><p>For cloud service users:</p><ul className="list-disc pl-6 space-y-2">+ <li>You must be a human - accounts registered by bots or automated methods are not permitted</li>+ <li>You must provide accurate, complete, and current information when creating an account</li><li>You are responsible for maintaining the confidentiality of your account credentials</li><li>You are responsible for all activities that occur under your account</li><li>You must notify us immediately of any unauthorized use of your account</li>- <li>You must provide accurate and complete information when creating an account</li></ul><h2 className="text-2xl font-semibold mt-8 mb-4">Open Source License</h2><p>- Rybbit is open-source software released under the MIT License. The self-hosted version is free to use,- modify, and distribute according to the terms of that license. These Terms and Conditions apply specifically- to the use of our cloud-hosted service and website.+ Rybbit is open-source software released under the MIT License. The self-hosted version is free to use, modify,+ and distribute according to the terms of that license. These Terms and Conditions apply specifically to the+ use of our cloud-hosted service and website.+ </p>++ <h2 className="text-2xl font-semibold mt-8 mb-4">Subscription and Billing</h2>+ <h3 className="text-xl font-semibold mt-6 mb-3">Payment Terms</h3>+ <p>For paid cloud subscriptions:</p>+ <ul className="list-disc pl-6 space-y-2">+ <li>Payment is processed via credit card or other accepted payment methods</li>+ <li>Subscriptions are billed on a monthly or annual basis as selected during signup</li>+ <li>All fees are in USD unless otherwise stated</li>+ <li>You authorize us to charge your payment method automatically on each billing cycle</li>+ <li>No surprise fees - your card will never be charged unexpectedly</li>+ <li>Unused page views do not roll over and are forfeited at the end of each billing period</li>+ <li>Failed payments may result in service suspension or termination after notice</li>+ </ul>++ <h3 className="text-xl font-semibold mt-6 mb-3">Auto-Renewal and Price Changes</h3>+ <p>+ Your subscription will automatically renew at the end of each billing period unless you cancel before the+ renewal date. We reserve the right to modify subscription prices with at least 30 days advance notice. Price+ changes will take effect on your next billing cycle. Continued use of the service after a price change+ constitutes acceptance of the new pricing.+ </p>++ <h3 className="text-xl font-semibold mt-6 mb-3">Refund Policy</h3>+ <p>+ We offer a 60-day money-back guarantee for new paid subscriptions. Refund requests must be submitted within 60+ days of your initial payment. After this period, payments are non-refundable. We do not provide prorated+ refunds for mid-cycle cancellations, but you retain access to the service through the end of your paid billing+ period.+ </p>++ <h3 className="text-xl font-semibold mt-6 mb-3">Usage Quotas and Overages</h3>+ <p>+ Each plan includes specific usage limits. If you exceed your plan's page view limit, you may be required+ to upgrade to a higher tier. We will notify you when approaching your limits. Consistent overage may result in+ automatic plan upgrades or service restrictions. We reserve the right to enforce fair use policies to prevent+ abuse of unlimited plans.+ </p>++ <h2 className="text-2xl font-semibold mt-8 mb-4">Cancellation and Downgrade</h2>+ <h3 className="text-xl font-semibold mt-6 mb-3">How to Cancel</h3>+ <p>+ You may cancel your subscription at any time through your account settings or by contacting support.+ Cancellations take effect at the end of your current billing period. You will retain access to paid features+ until that time.+ </p>++ <h3 className="text-xl font-semibold mt-6 mb-3">Downgrading Your Plan</h3>+ <p>+ You may downgrade to a lower-tier plan or the free tier at any time. Downgrades take effect at the end of your+ current billing period. If your usage exceeds the limits of the downgraded plan, you may need to reduce your+ websites or accept data retention limitations.+ </p>++ <h3 className="text-xl font-semibold mt-6 mb-3">Data After Cancellation</h3>+ <p>+ After cancellation or downgrade to free tier, your analytics data will be permanently deleted within 60 days.+ We recommend exporting your data before cancellation if you wish to retain it. Once deleted, data cannot be+ recovered.</p><h2 className="text-2xl font-semibold mt-8 mb-4">Service Availability</h2>@@ -61,12 +119,28 @@ export default function TermsAndConditions() {</p><h2 className="text-2xl font-semibold mt-8 mb-4">Data and Privacy</h2>+ <h3 className="text-xl font-semibold mt-6 mb-3">Your Data Ownership</h3>+ <p>+ You retain all rights to your website analytics data. We will never sell or share your site data to any+ third parties. Your data is yours, and we act only as a processor of that data on your behalf.+ </p>++ <h3 className="text-xl font-semibold mt-6 mb-3">Privacy Commitment</h3><p>- Our collection and use of data is governed by our+ Rybbit does not collect personally identifiable information from your website visitors. Our service is+ designed to be privacy-friendly and compliant with GDPR, CCPA, and other privacy regulations. Our full data+ practices are described in our<a href="/privacy" className="text-emerald-400 hover:text-emerald-300 mx-1">Privacy Policy</a>- . By using Rybbit, you consent to our privacy practices as described in that policy.+ .+ </p>++ <h3 className="text-xl font-semibold mt-6 mb-3">Your Compliance Obligations</h3>+ <p>+ You are responsible for ensuring your use of Rybbit complies with all applicable privacy laws and+ regulations in your jurisdiction. You must obtain any necessary consents from your website visitors as+ required by law.</p><h2 className="text-2xl font-semibold mt-8 mb-4">Intellectual Property</h2>diff --git a/docs-v2/src/components/Footer.tsx b/docs-v2/src/components/Footer.tsxindex 3a31645f4..4fc57e461 100644--- a/docs-v2/src/components/Footer.tsx+++ b/docs-v2/src/components/Footer.tsx@@ -185,6 +185,11 @@ export function Footer() {Terms and Conditions</Link></li>+ <li>+ <Link href="/security" className="text-neutral-400 hover:text-white transition-colors">+ Security+ </Link>+ </li><li><a href="mailto:[email protected]" className="text-neutral-400 hover:text-white transition-colors">Support