Skip to content

Conversation

@perkinsjr
Copy link
Contributor

@perkinsjr perkinsjr commented Dec 11, 2025

What does this PR do?

Fixes # (issue)

If there is not an issue for this, please create one first. This is used to tracking purposes and also helps use understand why this PR exists

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • Chore (refactoring code, technical debt, workflow improvements)
  • Blog post
  • Changelog
  • Enhancement (small improvements)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

How should this be tested?

  • Test A
  • Test B

Checklist

Required

  • Filled out the "How to test" section in this PR
  • Read Contributing Guide
  • Self-reviewed my own code
  • Commented on my code in hard-to-understand areas
  • Ran pnpm build
  • Ran pnpm fmt
  • Checked for warnings, there are none
  • Removed all console.logs
  • Merged the latest changes from main onto my branch with git pull origin main
  • My changes don't cause any responsiveness issues

Appreciated

  • If a UI change was made: Added a screen recording or screenshots to this PR

Summary by CodeRabbit

Documentation

  • Added new blog post covering rate limiting implementation for public pages, featuring device fingerprinting techniques, code examples, security best practices, and integration guidance.

✏️ Tip: You can customize this high-level summary in your review settings.

@vercel
Copy link

vercel bot commented Dec 11, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
ratelimit Ready Ready Preview Comment Dec 11, 2025 4:15pm
www Ready Ready Preview Comment Dec 11, 2025 4:15pm
1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
play Skipped Skipped Dec 11, 2025 4:15pm

@perkinsjr perkinsjr merged commit 66edfa1 into main Dec 11, 2025
6 checks passed
@perkinsjr perkinsjr deleted the ratelimit-public branch December 11, 2025 16:16
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 11, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

A new blog post has been added documenting rate limiting strategies for public pages using device fingerprinting and Unkey. The tutorial covers implementation approaches, security considerations, and best practices for protecting public-facing endpoints from abuse.

Changes

Cohort / File(s) Change Summary
Rate Limiting Blog Post
apps/www/content/blog/ratelimiting-public.mdx
New MDX blog post introducing rate limiting techniques using device fingerprinting (thumbmark.js) and Unkey integration. Includes problem overview, implementation guide with client and server-side code examples, security best practices, and advanced topics like privacy and monitoring.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

  • Verify content accuracy and completeness of code examples
  • Check for consistent formatting and structure with existing blog posts
  • Confirm Unkey integration details and API usage are current

Poem

🐰 A hop through code and fingerprints so fine,
Device tracking schemes and rate limits align,
With Unkey's embrace, no spam shall prevail,
Our public pages thrive—oh what a tale!
Knowledge shared, protection gained, security's win!

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch ratelimit-public

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between abdcaba and cd1dcfb.

⛔ Files ignored due to path filters (1)
  • apps/www/public/images/blog-images/covers/ratelimit-public.jpg is excluded by !**/*.jpg
📒 Files selected for processing (1)
  • apps/www/content/blog/ratelimiting-public.mdx (1 hunks)

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants