A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.
Name | Stars | Last Commit | Description |
---|---|---|---|
three.js | ![GitHub |
A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.
Name | Stars | Last Commit | Description |
---|---|---|---|
three.js | ![GitHub |
import { NextApiRequest, NextApiResponse } from 'next' | |
import { Readable } from 'node:stream' | |
export default async function handler(req: NextApiRequest, res: NextApiResponse) { | |
const { authorization } = req.headers | |
if (!authorization || authorization !== process.env.AUTHORIZATION_HEADER) { | |
return res.status(401).json({ error: 'Unauthorized' }) | |
} | |
const openAIUrl = process.env.OPENAI_URL as string |