A generator of fake Youtube thumbnails, just for the fun.
This is a Next.js project bootstrapped with create-next-app
.
Install the packages with pnpm install
Then, run the development server with `pnpm dev
Open http://localhost:3000 with your browser to see the result.
Add your image file to public/background
, make sure the quality is good and the subject is mainly on top-right of the image.
Then add your entry to the list at utils/backround.ts
with the name of your entry as a key and the filename as the value.
export const background: Record<string, string> = {
...
// One word key
Example: "example.jpeg",
// Multiple word key
"The example": "example.jpeg"
}
Add your image file to public/foreground
, make sure the quality is good, the subject is mainly on top-left of the image and the background is transparent.
Then add your entry to the list at utils/foreground.ts
with the name of your entry as a key and the filename as the value. Don't specify the type extension, just make sure your image has .png
as extension.
export const foreground: Record<string, string> = {
...
// One word key
Example: "example",
// Multiple word key
"The example": "example"
}
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository.