Skip to content

Commit

Permalink
feat: template
Browse files Browse the repository at this point in the history
  • Loading branch information
chronark committed Oct 30, 2024
1 parent fa3f526 commit a5dcccc
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions apps/www/app/templates/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export const frameworks = [
"Astro",
"Shelf",
"Laravel",
"russh",
] as const;
export type Framework = StrArrayToUnion<typeof frameworks>;
// id -> label
Expand Down Expand Up @@ -79,6 +80,20 @@ export type Template = {
};

export const templates: Record<string, Template> = {
"rust-ssh": {
title: "Secure Rust 🦀 SSH Server with Unkey",
description: "Fine-grained control through time- and quota-limited API keys",
authors: ["unrenamed"],
repository: "https://github.com/unrenamed/unkey-rust-ssh",

image: "/images/templates/rust-ssh.png",
readmeUrl:
"https://raw.githubusercontent.com/unrenamed/unkey-rust-ssh/refs/heads/main/README.md",

language: "Rust",
framework: "russh",
},

laravel: {
title: "Laravel middleware using Unkey RBAC",
description: "Protect your Laravel API",
Expand Down
Binary file added apps/www/public/images/templates/rust-ssh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a5dcccc

Please sign in to comment.