Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Bot detection with HTML response and Next.js opengraph-image #857

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

devin-ai-integration[bot]
Copy link
Contributor

This PR implements bot detection in the API with HTML response, URL conversion, and OpenGraph image generation following Next.js conventions.

Changes

  • Added bot detection in lib/api.ts
  • Removed punycode dependency for edge runtime compatibility
  • Created opengraph-image routes following Next.js conventions
  • Added URL conversion to HTML links for bot responses
  • Added test endpoint for bot detection

Notes

  • This implementation follows the Next.js opengraph-image conventions as specified in the documentation
  • All components are edge runtime compatible

Link to Devin run: https://app.devin.ai/sessions/fec341d7198b48b9a6080ca137afeabb
Requested by: Nathan Clevenger

Copy link

vercel bot commented Apr 6, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ai ❌ Failed (Inspect) Apr 6, 2025 11:58am

Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

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.

0 participants