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

[oss.gg hackathon] template: fastify + unkey template #2404

Closed
Closed
Changes from 1 commit
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
5 changes: 3 additions & 2 deletions oss.gg/7_create_a_template.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
**Side Quest**: Create a template of using some framework or language to build an API and protect it with Unkey


Create a minimal starter template to showcase how you can use Unkey with a particular framework. For example [Ratelimit your Next.js routes](https://www.unkey.com/templates/ratelimit-nextjs) or [Middleware for golang’s echo framework](https://www.unkey.com/templates/echo-middleware).

**Requirements**:
Expand Down Expand Up @@ -37,7 +36,9 @@ Your turn 👇

» 10-October-2024 by Novin Noori [Protect and Rate Limit Rust + Actix Web API with Unkey](https://github.com/djnovin/unkey-rust-actix)
» 10-October-2024 by Devansh Baghel [Deno Unkey Ratelimit Starter](https://github.com/Devansh-Baghel/deno-unkey-ratelimit-starter)
» 11-October-2024 by Prabin Subedi [Starter template for Unkey Route protecttion in Hono Webframework in Cloudflare workers ](https://github.com/prabincankod/hono-unkey-cflare)
» 11-October-2024 by Prabin Subedi [Starter template for Unkey Route protection in Hono Webframework in Cloudflare workers ](https://github.com/prabincankod/hono-unkey-cflare)
» 14-October-2024 by Vardhaman Bhandari [Starter template for Fastify API Route protection and Ratelimiting using Unkey](https://github.com/Vardhaman619/fastify-unkey)
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

Formatting Inconsistency Detected

The entry by Prabin Subedi has a trailing space in the link text:

[Starter template for Unkey Route protection in Hono Webframework in Cloudflare workers ](https://github.com/prabincankod/hono-unkey-cflare)

Please remove the space before the closing ] to maintain consistent formatting across all entries.

🔗 Analysis chain

LGTM! New entry is consistent and valuable.

The new entry for Vardhaman Bhandari's Fastify API starter template is a great addition. It aligns well with the PR objectives and provides a new, valuable resource for developers looking to integrate Unkey with Fastify.

To ensure consistency across all entries, let's verify the formatting:

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify consistency of entry formatting

# Test: Check if all entries follow the format "» DD-Month-YYYY by Author [Description](URL)"
rg --type md '» \d{2}-[A-Z][a-z]+-\d{4} by .+ \[.+\]\(.+\)' oss.gg/7_create_a_template.md

# Test: Ensure no entries have trailing spaces in the link text
rg --type md '\[.+ \]\(' oss.gg/7_create_a_template.md

Length of output: 1836


» 10-October-2024 by Harsh Bhat [FastAPI Unkey Boilerplate](https://github.com/harshsbhat/unkey-fastapi-boilerplate)

---
Loading