Total Pageviews

Showing posts with label nextjs. Show all posts
Showing posts with label nextjs. Show all posts

Saturday, 19 September 2026

搭建基于nextjs的静态博客程序nnmb


首先fork此项目https://github.com/nelsonlaidev/nextjs-mdx-blog,我fork后,得到的项目地址是https://github.com/brightmann/nnmb-source
 删除pnpm-lock.yaml 
 编辑https://github.com/brightmann/nnmb-source/blob/main/package.json文件,修改next-mdx-remote的值为6.0.0
 在这里https://github.com/brightmann/nnmb-source/tree/main/data/blog 新建源帖fh.mdx ,内容为:

---
title: 战马
date: "2026-06-14T08:49:00"
summary: 这是一篇文章
---

此处写正文或html codes.

(详见https://github.com/brightmann/nnmb-source/blob/main/data/blog/fh.mdx?plain=1)

 然后,访问vercel.com/new ,导入项目https://github.com/brightmann/nnmb-source,

 在Build Command栏填入npm run build
 在Install Command栏填入npm install --force

 点击底部的deploy按钮,等待部署完成。部署完成后,我得到网址:

https://nnmb-source.vercel.app/

项目地址:

https://github.com/nelsonlaidev/nextjs-mdx-blog

https://github.com/brightmann/nnmb-source

演示博客地址:

 https://nnmb-source.vercel.app/

 https://nnmb-source.vercel.app/blog/fh 能显示视频

 

搭建基于nextjs的静态博客程序nextify


首先fork此项目https://github.com/frontendweb3/nextify,我fork后,得到的项目地址是

https://github.com/brightmann/nextify 

 编辑https://github.com/brightmann/nextify/blob/main/package.json,把next的版本改为最新版16.3.5

 删除https://github.com/brightmann/nextify 里面的pnpm-lock.yaml

 在这里https://github.com/brightmann/nextify/tree/main/content/blog,新建源帖fh.md,内容为:

---
title: 战马
description: 这是一篇文章
date: 2026-09-02T21:28:00.939Z
draft: false
tags:
  - misc1
  - misc2
  - misc3
category:
  - Health
image: /images/vegetables.jpg
author: ym
---

此处写正文或html codes.

(详见https://github.com/brightmann/nextify/blob/main/content/blog/fh.md?plain=1)

 然后,访问vercel.com/new ,导入项目https://github.com/brightmann/nextify ,

 在Build Command栏填入npm run build
 在Install Command栏填入npm install --force

 点击底部的deploy按钮,等待部署完成。部署完成后,我得到网址:

https://nextify-ruddy.vercel.app/

项目地址:

https://github.com/frontendweb3/nextify

https://github.com/brightmann/nextify 

演示博客地址:

https://nextify-ruddy.vercel.app/blog

https://nextify-ruddy.vercel.app/blog/fh 不能显示视频。

看到这里 https://nextify-ruddy.vercel.app/docs 也有docs这个目录,跟此文

 https://briteming.blogspot.com/2026/09/nextjsixd.html里说的ixd程序一样:

 https://ixd-nine.vercel.app/docs

 nextify和ixd都是基于fumadocs程序修改的。

 https://github.com/frontendweb3/nextify项目的readme里面有这么一句:

'Every feature in the nextify template comes from fumadocs itself.'

 

 

 

搭建基于nextjs的文档网站程序ixd

 首先fork此项目https://github.com/iambabyninja/xtls-docs ,我fork后,得到的项目地址是

 https://github.com/brightmann/ixd

 编辑https://github.com/brightmann/ixd/blob/main/package.json,把next的版本改为最新版16.3.5

 在这里https://github.com/brightmann/ixd/tree/main/content/docs ,新建源帖fh.mdx,内容为:

---
title: 战马
description: 这是一篇文章
---

此处写正文或html codes.

(详见 https://github.com/brightmann/ixd/blob/main/content/docs/fh.mdx?plain=1)

 然后,访问vercel.com/new ,导入项目 https://github.com/brightmann/ixd ,

 在Build Command栏填入npm run build
 在Install Command栏填入npm install --force

 点击底部的deploy按钮,等待部署完成。部署完成后,我得到网址:

 https://ixd-nine.vercel.app/docs

项目地址:

 https://github.com/iambabyninja/xtls-docs 

  https://github.com/brightmann/ixd

 演示网站地址: https://ixd-nine.vercel.app/docs 。在网站的左侧,可以看到同一天发表的帖子是按字母顺序,从上到下排列的:

 https://ixd-nine.vercel.app/docs/ce

 https://ixd-nine.vercel.app/docs/fh  (能显示视频)

 https://ixd-nine.vercel.app/docs/life-advice

 https://ixd-nine.vercel.app/docs/test

 

 

Wednesday, 16 September 2026

hono-vercel-ai-sdk

 Hono + Vercel AI SDK + OpenAI

Deploy with Vercel

Hono with the Vercel AI SDK

This example shows how to use the Vercel AI SDK with Hono to stream a response back from OpenAI.

Forked from the Vercel + Hono starter template.

Getting Started

$ git clone https://github.com/leerob/hono-vercel-ai-sdk.git
$ cd hono-vercel-ai-sdk
$ bun i -g vercel
$ bun i
$ vercel dev
from https://github.com/leerob/hono-vercel-ai-sdk

next-email-client

 An email client built with the Next.js App Router and Postgres.

Next.js Email Client

This is an email client template built with Next.js and Postgres. It's built to show off some of the features of the App Router, which enable you to build products that:

  • Navigate between routes in a column layout while maintaining scroll position (layouts support)
  • Submit forms without JavaScript enabled (progressive enhancement)
  • Navigate between routes extremely fast (prefetching and caching)
  • Retain your UI position on reload (URL state)

Demo: https://next-email-client.vercel.app

Tech Stack

Getting Started

git clone https://github.com/leerob/next-email-client
cd next-email-client
pnpm install

Running Locally

Use the included setup script to create your .env file:

pnpm db:setup

Then, run the database migrations and seed the database with emails and folders:

pnpm db:migrate
pnpm db:seed

Finally, run the Next.js development server:

pnpm dev

Open http://localhost:3000 in your browser to see the app in action.

Implemented

  • ✅ Search for emails
  • ✅ Profile sidebar with user information
  • ✅ View all threads
  • ✅ View all emails in a thread
  • ✅ Compose view
  • ✅ Seed and setup script
  • ✅ Highlight searched text
  • ✅ Hook up compose view
  • ✅ Delete emails (move to trash)
from https://github.com/leerob/next-email-client

SaaS-Starter

 Get started quickly with Next.js, Postgres, Stripe, and shadcn/ui.

 https://next-saas-start.vercel.app/

This is a starter template for building a SaaS application using Next.js with support for authentication, Stripe integration for payments, and a dashboard for logged-in users.

Demo: https://next-saas-start.vercel.app/

Features

  • Marketing landing page (/) with animated Terminal element
  • Pricing page (/pricing) which connects to Stripe Checkout
  • Dashboard pages with CRUD operations on users/teams
  • Basic RBAC with Owner and Member roles
  • Subscription management with Stripe Customer Portal
  • Email/password authentication with JWTs stored to cookies
  • Global middleware to protect logged-in routes
  • Local middleware to protect Server Actions or validate Zod schemas
  • Activity logging system for any user events

Tech Stack

Getting Started

git clone https://github.com/nextjs/saas-starter
cd saas-starter
pnpm install

Running Locally

Install and log in to your Stripe account:

stripe login

Use the included setup script to create your .env file:

pnpm db:setup

Run the database migrations and seed the database with a default user and team:

pnpm db:migrate
pnpm db:seed

This will create the following user and team:

  • User: test@test.com
  • Password: admin123

You can also create new users through the /sign-up route.

Finally, run the Next.js development server:

pnpm dev

Open http://localhost:3000 in your browser to see the app in action.

You can listen for Stripe webhooks locally through their CLI to handle subscription change events:

stripe listen --forward-to localhost:3000/api/stripe/webhook

Testing Payments

To test Stripe payments, use the following test card details:

  • Card Number: 4242 4242 4242 4242
  • Expiration: Any future date
  • CVC: Any 3-digit number

Going to Production

When you're ready to deploy your SaaS application to production, follow these steps:

Set up a production Stripe webhook

  1. Go to the Stripe Dashboard and create a new webhook for your production environment.
  2. Set the endpoint URL to your production API route (e.g., https://yourdomain.com/api/stripe/webhook).
  3. Select the events you want to listen for (e.g., checkout.session.completed, customer.subscription.updated).

Deploy to Vercel

  1. Push your code to a GitHub repository.
  2. Connect your repository to Vercel and deploy it.
  3. Follow the Vercel deployment process, which will guide you through setting up your project.

Add environment variables

In your Vercel project settings (or during deployment), add all the necessary environment variables. Make sure to update the values for the production environment, including:

  1. BASE_URL: Set this to your production domain.
  2. STRIPE_SECRET_KEY: Use your Stripe secret key for the production environment.
  3. STRIPE_WEBHOOK_SECRET: Use the webhook secret from the production webhook you created in step 1.
  4. POSTGRES_URL: Set this to your production database URL.
  5. AUTH_SECRET: Set this to a random string. openssl rand -base64 32 will generate one.

Other Templates

While this template is intentionally minimal and to be used as a learning resource, there are other paid versions in the community which are more full-featured:

from  https://github.com/nextjs/saas-starter

------

 

The repository backing React 2025 has been updated to match what React actually will look like in 2025.

This means it uses all of the latest React 19 features, as well as improvements in Next.js in the past 4 years. You can still use this repo as an archived reference, but I would recommend checking out the new repo to see the latest patterns.

from  https://github.com/leerob/react2025

Tuesday, 15 September 2026

Mastering-Nextjs

 A free video course for building static and server-side rendered applications with Next.js and React.

Hey, everyone!  I'm Lee, the creator of Mastering Next.js. This course was originally released in 2019. Next.js has evolved quite a bit since v9 and some of this course is officially "outdated".

I've updated the course overview below to annotate which parts are up to date, which have changed, and what my new suggestions are. In my opinion, this is the ideal way to evolve this course. The videos will serve as a reference to a point in time, but newer additions to the framework make certain aspects much easier.

  • 🟢 Up to date
  • 🟡 Outdated
  • 🔴 Do not recommend

Introduction

React Overview

I taught Class Components in 2019 for those still in the process of converting to React Hooks. In 2021, it's now standard to use React Hooks for all projects and I would recommend starting there.

Developing Locally

Navigating Between Pages

Styling

Fetching Data

Managing Assets and SEO

Building A Blog With MDX

Authentication

Testing & Error Handling

State Management & More

Exporting & Deployment

from https://github.com/leerob/mastering-nextjs

image-gallery-supabase-tailwind-nextjs

 Tutorial for building an image gallery with Supabase (Postgres), Tailwind CSS, Next.js, and Vercel.

Deploy with Vercel

Image Gallery with Next.js, Supabase, and Tailwind CSS

Learn how to create an image gallery with dynamic content from a PostgreSQL database, with support for content updates without neding to redeploy.

Read the tutorial: https://leerob.io/blog/image-gallery-supabase-tailwind-nextjs

swag

Built With

from https://github.com/leerob/image-gallery-supabase-tailwind-nextjs

Next.js Self Hosting Example

This repo shows how to deploy a Next.js app and a PostgreSQL database on a Ubuntu Linux server using Docker and Nginx. It showcases using several features of Next.js like caching, ISR, environment variables, and more.

📹 Watch the tutorial (45m)

Prerequisites

  1. Purchase a domain name
  2. Purchase a Linux Ubuntu server (e.g. droplet)
  3. Create an A DNS record pointing to your server IPv4 address

Quickstart

  1. SSH into your server:

    ssh root@your_server_ip
  2. Download the deployment script:

    curl -o ~/deploy.sh https://raw.githubusercontent.com/leerob/next-self-host/main/deploy.sh

    You can then modify the email and domain name variables inside of the script to use your own.

  3. Run the deployment script:

    chmod +x ~/deploy.sh
    ./deploy.sh

Supported Features

This demo tries to showcase many different Next.js features.

  • Image Optimization
  • Streaming
  • Talking to a Postgres database
  • Caching
  • Incremental Static Regeneration
  • Reading environment variables
  • Using Middleware
  • Running code on server startup
  • A cron that hits a Route Handler

Deploy Script

I've included a Bash script which does the following:

  1. Installs all the necessary packages for your server
  2. Installs Docker, Docker Compose, and Nginx
  3. Clones this repository
  4. Generates an SSL certificate
  5. Builds your Next.js application from the Dockerfile
  6. Sets up Nginx and configures HTTPS and rate limting
  7. Sets up a cron which clears the database every 10m
  8. Creates a .env file with your Postgres database creds

Once the deployment completes, your Next.js app will be available at:

http://your-provided-domain.com

Both the Next.js app and PostgreSQL database will be up and running in Docker containers. To set up your database, you could install npm inside your Postgres container and use the Drizzle scripts, or you can use psql:

docker exec -it myapp-db-1 sh
apk add --no-cache postgresql-client
psql -U myuser -d mydatabase -c '
CREATE TABLE IF NOT EXISTS "todos" (
  "id" serial PRIMARY KEY NOT NULL,
  "content" varchar(255) NOT NULL,
  "completed" boolean DEFAULT false,
  "created_at" timestamp DEFAULT now()
);'

For pushing subsequent updates, I also provided an update.sh script as an example.

Running Locally

If you want to run this setup locally using Docker, you can follow these steps:

docker-compose up -d

This will start both services and make your Next.js app available at http://localhost:3000 with the PostgreSQL database running in the background. We also create a network so that our two containers can communicate with each other.

If you want to view the contents of the local database, you can use Drizzle Studio:

bun run db:studio

Helpful Commands

  • docker-compose ps – check status of Docker containers
  • docker-compose logs web – view Next.js output logs
  • docker-compose logs cron – view cron logs
  • docker-compose down - shut down the Docker containers
  • docker-compose up -d - start containers in the background
  • sudo systemctl restart nginx - restart nginx
  • docker exec -it myapp-web-1 sh - enter Next.js Docker container
  • docker exec -it myapp-db-1 psql -U myuser -d mydatabase - enter Postgres db

Other Resources

from https://github.com/leerob/next-self-host

Next-Music-Player

 A blazing fast, information dense media player built with Next.js.

A nice GUI for playing/viewing local media files.

Getting Started

git clone https://github.com/leerob/next-music-player
cd next-music-player
pnpm install

Running Locally

Use the included setup script to create your .env file:

pnpm db:setup

Add local audio files to a top level tracks/ folder (git ignored). One option to download files is yt-dlp. You can provide arguments to download the song metadata, as well as the cover image, too.

yt-dlp -x --audio-format mp3 --add-metadata --embed-thumbnail "https://www.youtube.com/playlist?list=..."

Then, run the database migrations and seed the database with a songs and playlists:

pnpm db:migrate
pnpm db:seed

Finally, run the Next.js development server:

pnpm dev

You can view your database contents with Drizzle Studio locally:

pnpm db:studio

Open http://localhost:3000 in your browser to see the app in action.

Features

  • ✅ Uses MediaSession API to sync track metadata with system controls
  • ✅ Press space to play/pause from anywhere in the app
  • ✅ View for all tracks
  • ✅ Click on song row to play
  • ✅ Move between songs in tracklist with up/down or j/k
  • ✅ Move between playlists panel and tracklist with h/l
  • ✅ Now playing animation in track row
  • ✅ Support for both local or remote files
  • ✅ Mobile responsiveness
  • ✅ Drag on the progress bar to seek song
  • ✅ Create a new playlist in the UI
  • ✅ Image upload to Vercel Blob for playlist images
  • ✅ Add/remove songs to a playist in the UI
  • ✅ Basic search over songs
from https://github.com/leerob/next-music-player

Sunday, 23 August 2026

搭建基于nextjs的静态博客程序mbt


首先fork此项目:https://github.com/RyukyuInteractive/blog-2023-12-19,我fork后,得到的项目地址是https://github.com/briteming/mbt,

访问https://github.com/briteming/mbt/tree/main/posts,在这里,新建源帖fh.md,内容为:

---
title: "战马"
excerpt: "点击标题看全文"
coverImage: "/blog/dynamic-routing/cover.jpg"
date: "2026-05-25T08:11:00.322Z"
author:
  name: ym
  picture: "/blog/authors/jj.jpeg"
ogImage:
  url: "/blog/dynamic-routing/cover.jpg"
---

此处写正文或html codes.

( 详见https://github.com/briteming/mbt/blob/main/posts/fh.md?plain=1) 

然后,访问vercel.com/new ,导入项目
https://github.com/brightmann/dnb

  Build Command栏填入npm run build
 Install Command栏填入npm install

点击底部的deploy按钮,等待部署完成。部署完成后,我得到网址:

https://mbt-gold.vercel.app/

项目地址:
https://github.com/RyukyuInteractive/blog-2023-12-19
https://github.com/briteming/mbt

演示博客:

 https://mbt-gold.vercel.app/

 https://mbt-gold.vercel.app/posts/fh 不能显示视频

 

Wednesday, 19 August 2026

搭建基于nextjs的静态博客程序dnb


首先fork此项目:https://github.com/ddoemonn/next-blog,我fork后,得到的项目地址是https://github.com/brightmann/dnb,

编辑https://github.com/brightmann/dnb/blob/main/package.json,修改第37行的"next"的值为"16.3.1"
访问https://github.com/brightmann/dnb/tree/main/content/posts,在这里,新建源帖fh.mdx,内容为:

---
title: "战马"
date: "2026-08-19T13:13:00.000Z"
excerpt: "这是一篇文章"
tags: ["msc1", "misc2", "misc3"]
published: true
slug: "fh"
---

此处写正文或html codes.

( 详见https://github.com/brightmann/dnb/blob/main/content/posts/fh.mdx?plain=1) 

然后,访问vercel.com/new ,导入项目
https://github.com/brightmann/dnb

  Build Command栏填入bun run build
 Install Command栏填入bun install

这里需添加环境变量。访问https://github.com/brightmann/dnb/blob/main/env.example,可知需添加4个环境变量:

ADMIN_USERNAME,

ADMIN_PASSWORD,

NEXTAUTH_SECRET,

SITE_URL。

其中,先给ADMIN_USERNAME和ADMIN_PASSWORD各设置其值。而NEXTAUTH_SECRET的值可以通过在终端输入命令:openssl rand -hex 64获得其值。而关于SITE_URL,因为我是在https://app.netlify.com/部署这个静态博客程序的,所以SITE_URL的值就是https://你所设置的项目名称.netlify.app (我的是https://dnb-abc.netlify.app)

添加环境变量后,点击底部的deploy按钮,等待部署完成。部署完成后,我得到网址:

https://dnb-abc.netlify.app

项目地址:
https://github.com/ddoemonn/next-blog
https://github.com/brightmann/dnb

演示博客:

 https://dnb-abc.netlify.app/
https://dnb-abc.netlify.app/blog/fh 不能显示视频.

 另外,访问https://dnb-abc.netlify.app/login ,输入上面设置的用户名和密码,登录后,点击左侧的posts,页面会跳到
https://dnb-abc.netlify.app/admin/posts ,然后点击右上角的“+ new post", 不过我创建新帖失败。不过无所谓,可以去
https://github.com/brightmann/dnb/tree/main/content/posts这里新建源帖。

Geese 是用 Next.js+Tailwind CSS 构建了一个轻量级的开源社区,也就是「HelloGitHub.com」的源码。

 

Geese 译为「惊鸿」可理解为轻盈、快速的形态,希望它清爽、简约的界面可以带给你「惊鸿」一般的访问体验。

HelloGitHub 社区提供了不同 编程语言/类别/标签 有趣、入门级的开源项目,用户可以这里 发现/搜索/收藏/评论/分享 感兴趣的开源项目,还可以 点赞/提交/打分 开源项目,让优秀的开源项目脱颖而出。围绕开源项目,社区聚集了一群热爱开源的玩家、技术精湛的大牛、热衷分享的作者,感谢开源让我们相识,或许开源精神就是一种交朋友的方式吧!

目前,该社区 已上线 在线体验 如遇到问题或发现 BUG 可以一键反馈

 开发须知在这里.

from  https://github.com/HelloGitHub-Team/geese

Tuesday, 18 August 2026

Fragments by E2B

 

Open-source Next.js template for building apps that are fully generated by AI. By E2B.


This is an open-sounextrce version of apps like Anthropic's Claude Artifacts, Vercel v0, or GPT Engineer.

Powered by the E2B SDK.

→ Try on fragments.e2b.dev

Features

  • Based on Next.js 14 (App Router, Server Actions), shadcn/ui, TailwindCSS, Vercel AI SDK.
  • Uses the E2B SDK by E2B to securely execute code generated by AI.
  • Streaming in the UI.
  • Can install and use any package from npm, pip.
  • Supported stacks (add your own):
    • 🔸 Python interpreter
    • 🔸 Next.js
    • 🔸 Vue.js
    • 🔸 Streamlit
    • 🔸 Gradio
  • Supported LLM Providers (add your own):
    • 🔸 OpenAI
    • 🔸 Anthropic
    • 🔸 Google AI
    • 🔸 Mistral
    • 🔸 Groq
    • 🔸 Fireworks
    • 🔸 Together AI
    • 🔸 Ollama
  • Integrates with Morph Apply model for token efficient, accurate and faster code editing.

Make sure to give us a star!

Screenshot 2024-04-20 at 22 13 32

Get started

Prerequisites

1. Clone the repository

In your terminal:

git clone https://github.com/e2b-dev/fragments.git

2. Install the dependencies

Enter the repository:

cd fragments

Run the following to install the required dependencies:

npm i

3. Set the environment variables

Create a .env.local file and set the following:

# Get your API key here - https://e2b.dev/?utm_source=github&utm_medium=referral&utm_campaign=readme&utm_content=fragments
E2B_API_KEY="your-e2b-api-key"

# OpenAI API Key
OPENAI_API_KEY=

# Other providers
ANTHROPIC_API_KEY=
GROQ_API_KEY=
FIREWORKS_API_KEY=
TOGETHER_API_KEY=
GOOGLE_AI_API_KEY=
GOOGLE_VERTEX_CREDENTIALS=
MISTRAL_API_KEY=
XAI_API_KEY=

### Optional env vars

# (on by default) Get your MORPH key here - https://morphllm.com/dashboard/api-keys
MORPH_API_KEY=

# Domain of the site
NEXT_PUBLIC_SITE_URL=

# Rate limit
RATE_LIMIT_MAX_REQUESTS=
RATE_LIMIT_WINDOW=

# Vercel/Upstash KV (short URLs, rate limiting)
KV_REST_API_URL=
KV_REST_API_TOKEN=

# Supabase (auth)
SUPABASE_URL=
SUPABASE_ANON_KEY=

# PostHog (analytics)
NEXT_PUBLIC_POSTHOG_KEY=
NEXT_PUBLIC_POSTHOG_HOST=

### Disabling functionality (when uncommented)

# Disable API key and base URL input in the chat
# NEXT_PUBLIC_NO_API_KEY_INPUT=
# NEXT_PUBLIC_NO_BASE_URL_INPUT=

# Hide local models from the list of available models
# NEXT_PUBLIC_HIDE_LOCAL_MODELS=

4. Start the development server

npm run dev

5. Build the web app

npm run build

Customize

Adding custom personas

  1. Make sure E2B CLI is installed and you're logged in.

  2. Add a new folder under sandbox-templates/

  3. Initialize a new template using E2B CLI:

    e2b template init
    

    This will create a new file called e2b.Dockerfile.

  4. Adjust the e2b.Dockerfile

    Here's an example streamlit template:

    # You can use most Debian-based base images
    FROM python:3.19-slim
    
    RUN pip3 install --no-cache-dir streamlit pandas numpy matplotlib requests seaborn plotly
    
    # Copy the code to the container
    WORKDIR /home/user
    COPY . /home/user
  5. Specify a custom start command in e2b.toml:

    start_cmd = "cd /home/user && streamlit run app.py"
  6. Deploy the template with the E2B CLI

    e2b template build --name <template-name>
    

    After the build has finished, you should get the following message:

    ✅ Building sandbox template <template-id> <template-name> finished.
    
  7. Open lib/templates.json in your code editor.

    Add your new template to the list. Here's an example for Streamlit:

    "streamlit-developer": {
      "name": "Streamlit developer",
      "lib": [
        "streamlit",
        "pandas",
        "numpy",
        "matplotlib",
        "requests",
        "seaborn",
        "plotly"
      ],
      "file": "app.py",
      "instructions": "A streamlit app that reloads automatically.",
      "port": 8501 // can be null
    },

    Provide a template id (as key), name, list of dependencies, entrypoint and a port (optional). You can also add additional instructions that will be given to the LLM.

  8. Optionally, add a new logo under public/thirdparty/templates

Adding custom LLM models

  1. Open lib/models.json in your code editor.

  2. Add a new entry to the models list:

    {
      "id": "mistral-large",
      "name": "Mistral Large",
      "provider": "Ollama",
      "providerId": "ollama"
    }

    Where id is the model id, name is the model name (visible in the UI), provider is the provider namehttps://github.com/e2b-dev/fragments and providerId is the provider tag (see adding providers below).

    from  https://github.com/e2b-dev/fragments

搭建基于nextjs的静态博客程序aac


首先fork此项目:https://github.com/aayushmau5/aayushsahu.com,我fork后,得到的项目地址是https://github.com/brightmann/aac,
访问https://github.com/brightmann/aac/tree/master/posts,在这里,新建源帖fh.mdx,内容为:

---
title: "战马"
description: "这是一篇文章"
date: 2026-06-18T21:03:00.585Z
tags: ["misc1", "misc2", "misc3"]
cover:
  image: "/blogImages/battleship.png"
draft: false
showToc: false
---

此处写正文或html codes.

( 详见https://github.com/brightmann/aac/blob/master/posts/fh.mdx?plain=1) 

然后,访问vercel.com/new ,导入项目
https://github.com/brightmann/aac

  Build Command栏填入npm run build
 Install Command栏填入npm install

然后点击底部的deploy按钮,等待部署完成。部署完成后,我得到网址:

https://aac-fchb.vercel.app

项目地址:
https://github.com/aayushmau5/aayushsahu.com
https://github.com/brightmann/aac

演示博客:

 https://aac-fchb.vercel.app

 https://aac-fchb.vercel.app/blog
https://aac-fchb.vercel.app/blog/fh 能显示视频

Saturday, 15 August 2026

搭建基于nextjs的静态博客程序nbu


首先fork此项目:https://github.com/Shin-sibainu/nextjs-blog-udemy,我fork后,得到的项目地址是https://github.com/brightmann/nbu,
访问https://github.com/brightmann/nbu/tree/main/posts,在这里,新建源帖fh.md,内容为:

---
title: "战马"
date: "2026-06-18"
thumbnail: "/images/thumbnail04.jpg"
---

此处写正文或html codes.

( 详见https://github.com/brightmann/nbu/blob/main/posts/fh.md?plain=1) 

然后,访问vercel.com/new ,导入项目
https://github.com/brightmann/nbu

  Build Command栏填入yarn build
 Install Command栏填入yarn

然后点击底部的deploy按钮,等待部署完成。部署完成后,我得到网址:

https://nbu-tau.vercel.app/ 

项目地址:
https://github.com/Shin-sibainu/nextjs-blog-udemy
https://github.com/brightmann/nbu

演示博客:

 https://nbu-tau.vercel.app/ 帖子是按字母顺序从上到下排列
https://nbu-tau.vercel.app/posts/fh 不能显示视频

 

搭建基于nextjs的静态博客程序hbhm


首先fork此项目:https://github.com/hakilee/blog.haklee.me-v1,我fork后,得到的项目地址是https://github.com/brightmann/hbhm ,
访问https://github.com/brightmann/hbhm/tree/master/content/posts,在这里,新建源帖fh.md,内容为:

---
title: 战马
slug: 'fh'
date: '2026-06-20 12:46:00'
template: post
draft: false
category: 'misc'
socialImage: '/images/gatsbyjs-walkthrough/img-saengko-question.png'
tags: ['misc1', 'misc2', 'misc3']
---

此处写正文或html codes.

( 详见https://github.com/brightmann/hbhm/blob/master/content/posts/fh.md?plain=1) 

然后,访问vercel.com/new ,导入项目
https://github.com/brightmann/hbhm

  Build Command栏填入yarn build
 Install Command栏填入yarn

然后点击底部的deploy按钮,等待部署完成。部署完成后,我得到网址:

https://hbhm.vercel.app/

项目地址:
https://github.com/hakilee/blog.haklee.me-v1
https://github.com/brightmann/hbhm

演示博客:

  https://hbhm.vercel.app/

 https://hbhm.vercel.app/posts/fh 能显示视频

搭建基于nextjs的静态博客程序nmbl


首先fork此项目:https://github.com/joelhans/nextjs-mdx-bidirectional-links,我fork后,得到的项目地址是https://github.com/brightmann/nmbl
访问https://github.com/brightmann/nmbl/tree/main/content/articles,在这里,新建源帖fh.mdx,内容为:

---
title: 战马
---

此处写正文或html codes.

( 详见https://github.com/brightmann/nmbl/blob/main/content/articles/fh.mdx?plain=1) 

然后,访问vercel.com/new ,导入项目
https://github.com/brightmann/nmbl

  Build Command栏填入yarn build
 Install Command栏填入yarn

然后点击底部的deploy按钮,等待部署完成。部署完成后,我得到网址:

https://nmbl-nine.vercel.app/

项目地址:
https://github.com/joelhans/nextjs-mdx-bidirectional-links
https://github.com/brightmann/nmbl

演示博客:

 https://nmbl-nine.vercel.app/,帖子是按字母顺序,从左到右,然后从上到下排列的。
https://nmbl-nine.vercel.app/articles/fh 能显示视频

搭建基于nextjs的静态博客程序ofp


首先fork此项目:https://github.com/olafsulich/Frontlive.pl,我fork后,得到的项目地址是https://github.com/briteming/ofp
访问https://github.com/briteming/ofp/tree/main/content/posts,在这里,新建源帖fh.mdx,内容为:

---
title: '战马'
category: 'misc'
publishedAt: '27-05-2026'
isPublished: true
popular: false
image: '/images/antywzorce-css/thumbnail.png'
excerpt: '这是一篇文章'
---

此处写正文或html codes.

( 详见https://github.com/briteming/ofp/blob/main/content/posts/fh.mdx?plain=1) 

然后,访问vercel.com/new ,导入项目
https://github.com/briteming/ofp

  Build Command栏填入npm run build
 Install Command栏填入npm install

然后点击底部的deploy按钮,等待部署完成。部署完成后,我得到网址:

https://ofp-woad.vercel.app/

项目地址:
https://github.com/olafsulich/Frontlive.pl
https://github.com/briteming/ofp

演示博客:

 https://ofp-woad.vercel.app/blog ,帖子按字母顺序从左到右排列:
https://ofp-woad.vercel.app/blog/ce
https://ofp-woad.vercel.app/blog/fh
https://ofp-woad.vercel.app/blog/test
https://ofp-woad.vercel.app/blog/fh 能显示视频

 

 

搭建基于nextjs的静态博客程序nbej


首先fork此项目:https://github.com/gh640/nextjs-blog-example-ja,我fork后,得到的项目地址是https://github.com/ymbrite/nbej
访问https://github.com/ymbrite/nbej/tree/main/content/posts,在这里,新建源帖fh.md,内容为:

---
title: 战马
published: 2026-05-29 
---

此处写正文或html codes.

( 详见https://github.com/ymbrite/nbej/blob/main/content/posts/fh.md?plain=1) 

然后,访问vercel.com/new ,导入项目
https://github.com/ymbrite/nbej

  Build Command栏填入npm run build
 Install Command栏填入npm install

然后点击底部的deploy按钮,等待部署完成。部署完成后,我得到网址:

https://nbej.vercel.app/

项目地址:
https://github.com/gh640/nextjs-blog-example-ja
https://github.com/ymbrite/nbej

演示博客:

https://nbej.vercel.app/,同一天的帖子按字母顺序从下到上排列:

https://nbej.vercel.app/posts/ur-advice

https://nbej.vercel.app/posts/test

https://nbej.vercel.app/posts/fh

https://nbej.vercel.app/posts/ce

https://nbej.vercel.app/posts/fh 能显示视频.

 https://nbej.vercel.app/archive/1 ,支持分页。