Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github+PicGo+Typora构建图床 #15

Open
ye-guo opened this issue Apr 15, 2024 · 0 comments
Open

Github+PicGo+Typora构建图床 #15

ye-guo opened this issue Apr 15, 2024 · 0 comments

Comments

@ye-guo
Copy link
Owner

ye-guo commented Apr 15, 2024


title: Github+PicGo+Typora构建图床
date: 2024-04-11 19:48
updated: 2024-04-11 19:48
category: 开发记录
tags:

Github+PicGo+Typora构建图床

一、创建Github仓库

二、点击头像,选择Settings

三、选择左侧栏Developer Settings

四、选择Tokens

五、生成新token

六、填个Note (随便填),只勾选repo即可,点击最下面Generate token

七、保存好token,只显示一次

八、Github下载开源的PicGo

九、配置PicGo的GitHub设置

  • 图床配置名: 随意
  • 仓库名为: 用户名/仓库名
  • 分支: 你的分支
  • token: 刚才生成的token
  • 存储路径: 上传仓库中图片目录
    • 设置路径为 pictures,地址返回为
    • https://raw.githubusercontent.com/${your_github_account}/Images/main/pictures/xxx.png
  • 自定义域名: https://cdn.jsdelivr.net/gh/GitHub账号名/仓库名 可以配置cdn
  • https://cdn.jsdelivr.net/gh/是 jsDelivr 的 CDN(内容分发网络)服务地址,可以用于托管 GitHub 仓库中的文件和资源。通过这个地址,你可以直接访问 GitHub 仓库中的文件,而无需使用 GitHub 网站或者 Git 工具

PicGo文档https://picgo.github.io/PicGo-Doc/

十、配置Typora自动自动上传

  • 点击文件==>偏好设置

  • 正常从本地引入图片,引入后出现下拉列表,点击上传图片,可自动上传

@ye-guo ye-guo added this to the 技术杂谈 milestone Apr 15, 2024
@ye-guo ye-guo self-assigned this Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant