Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

博客

NotificationsYou must be signed in to change notification settings

zhangyu1818/blog

Repository files navigation

My personal blog.

zhangyu.dev

UsingNext.js v14 App Router and React Server Components. Styling withTailwindCSS.

Using@discublog/api to query GitHub repository discussions and rendering Markdown with@mdx-js/mdx.

Vercel Deploy

Deploy with Vercel

Important

Make sure to opendiscussions on the new repository after creating it in "Create Git Repository" and before adding environment variables.

Important

After enabling Discussions, please make sure tostart a new discussion, and feel free to choose any topic.

Write Articles

  1. Enable your blog repository discussions.
  2. Write a new discussion.

Fork Guide

  1. Make sure you have the GitHub Profile repository likezhangyu1818/zhangyu1818.
  2. Modify sitemetadata.
  3. Modify Google verificationhere.
  4. Modify the Giscus scripthere.
  5. Modify theresume page.
  6. Put your avatar file insrc/images/avatar.webp.
  7. Put your favicon file insrc/app/favicon.ico.
  8. Put your icons inpublic/icon.

Env

create.env file in root folder.

GITHUB_TOKEN=<required>OPENAI_API_KEY=<optional>REPO_NAME=<required>REPO_OWNER=<required>

Summary

If you need Open AI to generate your article summaries, deletesummary.json in root folder and paste yourOPENAI_API_KEY in.env.

About

博客

Topics

Resources

Stars

Watchers

Forks

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp