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

feat: Ratelimit Astro routes with Unkey #2488

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions oss.gg/7_create_a_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,7 @@ Your turn 👇

» 12-October-2024 by Nazar Poshtarenko [Next.js Unkey Pay-as-you-Go Starter Kit](https://github.com/unrenamed/unkey-nextjs-pay-as-you-go)

» 18-October-2024 by Harsh Bhat [Ratelimit Astro Routes](https://github.com/harshsbhat/unkey-astro)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codebase verification

Repository Missing Required Files or License

  • The repository harshsbhat/unkey-astro does not contain a README.md file with the required content (# Unkey Astro).
  • The repository is not MIT licensed.
🔗 Analysis chain

LGTM! New entry aligns with PR objectives.

The new entry for the Astro template follows the correct format and provides all necessary information. It aligns well with the PR objective of implementing rate limiting for Astro routes using Unkey, and contributes to the side quests mentioned in issue #2150.

To ensure the repository meets the requirements, let's verify its contents:

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the contents of the Astro template repository

# Test: Check if the repository exists and contains a README.md file
gh repo view harshsbhat/unkey-astro --json readme | jq -r '.readme' | grep -q "# Unkey Astro"
if [ $? -eq 0 ]; then
    echo "Repository exists and contains a README.md file"
else
    echo "Repository does not exist or README.md is missing"
fi

# Test: Check if the repository is MIT licensed
gh repo view harshsbhat/unkey-astro --json licenseInfo | jq -r '.licenseInfo.spdxId' | grep -q "MIT"
if [ $? -eq 0 ]; then
    echo "Repository is MIT licensed"
else
    echo "Repository is not MIT licensed"
fi

Length of output: 1532



---