meekdai / gmeek Goto Github PK
View Code? Open in Web Editor NEWGmeek is a Blog All in Github
Home Page: https://meekdai.github.io
Gmeek is a Blog All in Github
Home Page: https://meekdai.github.io
迁移博客的话,只能重新创建 issue 吧,那么文章的发布时间就变成当前时间了。
上传的图片可以用,外部图片无法显示~~
怎么去掉默认的CDN 加速,让图片显示 自己的地址~~~
现象:新增issue 文章不推送到blog
ACTION 异常:
Run cp -r ./* /opt/Gmeek/
{'bug': '#d73a4a', 'documentation': '#0075ca', 'duplicate': '#cfd3d7', 'enhancement': '#a2eeef', 'good first issue': '#7057ff', 'help wanted': '#008672', 'invalid': '#e4e669', 'question': '#d876e3', 'wontfix': '#ffffff'}
Traceback (most recent call last):
blogBase is exists and issue_number!=0, runOne
====== start create static html ======
File "Gmeek.py", line 352, in
blog.runOne(options.issue_number)
File "Gmeek.py", line 322, in runOne
self.createPostHtml(self.blogBase[listJsonName]["P"+number_str])
KeyError: None
Error: Process completed with exit code 1.
帮忙看下咯
文章标题字体大小默认有些大,标题长点就会换行,导致排版不太好看,尤其是在手机上更是灾难,请问如何修改?
现在的备案要求越来越严了,不仅要标注备案号,而且必须要求备案号链接到工信部网址,所以希望模板里这块能调整一下
Run actions/deploy-pages@v4
with:
token: ***
timeout: 600000
error_count: 10
reporting_interval: 5000
artifact_name: github-pages
preview: false
Fetching artifact metadata for "github-pages" in this workflow run
Found 3 artifact(s)
Error: Fetching artifact metadata failed. Is githubstatus.com reporting issues with API requests, Pages, or Actions? Please re-run the deployment at a later time.
Error: Error: Multiple artifacts named "github-pages" were unexpectedly found for this workflow run. Artifact count is 3.
at getArtifactMetadata (/home/runner/work/_actions/actions/deploy-pages/v4/src/internal/api-client.js:89:1)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Deployment.create (/home/runner/work/_actions/actions/deploy-pages/v4/src/internal/deployment.js:66:1)
at main (/home/runner/work/_actions/actions/deploy-pages/v4/src/index.js:30:1)
Error: Error: Multiple artifacts named "github-pages" were unexpectedly found for this workflow run. Artifact count is 3.
看完文章还是不知道怎么配置[]里面的内容,翻了一圈没找到案例。
在设置了 style
字段之后,style
中的值被添加到了 <style>
</style>
之外,如图所示:
config.json
的内容如下:
{
"title":"CarameowCookie 的碎碎念",
"subTitle":"一个自由而无用的灵魂",
"avatarUrl":"https://github.com/CarameowCookie.png",
"GMEEK_VERSION":"last",
"singlePage":["link"],
"dayTheme":"light",
"nightTheme":"dark_high_contrast",
"style":"/*这是 style 所在的位置*/"
}
如题
Line 34 in fa459be
修改JSON 后,重新执行ACTION 报错。
一个个加的话,每个文章都需要加一样的css和js;
你好,singlePage 在config /base config 都加上了,也build 成功了,直接通过url 可以访问,为什么在首页显示不出来呀?需要加什么配置吗
用户名yxdm1,按照顺序创建完成后为何访问yxdm1.github.io还是404呢
不支持安装Google Analytics吗?在index head后面插入代码之后并没有效果。
Used to work very well. However, github action fails as the following error message, any idea?
Run cp -r ./* /opt/Gmeek/
{'bug': '#d73a4a', 'duplicate': '#cfd3d7', 'enhancement': '#a2eeef', 'fiction': '#e4e669', 'good first issue': '#7057ff', 'post': '#0075ca', 'question': '#d876e3', 'read': '#008672', 'wontfix': '#ffffff'}
blogBase is exists and issue_number!=0, runOne
====== start create static html ======
Traceback (most recent call last):
File "Gmeek.py", line 3[20](https://github.com/suredream/suredream.github.io/actions/runs/7243109274/job/19729455536#step:8:21), in <module>
blog.runOne(options.issue_number)
File "Gmeek.py", line 293, in runOne
listJsonName=self.addOnePostJson(issue)
File "Gmeek.py", line [25](https://github.com/suredream/suredream.github.io/actions/runs/7243109274/job/19729455536#step:8:26)1, in addOnePostJson
self.blogBase[listJsonName][postNum]["style"]=self.blogBase["style"]
KeyError: 'style'
Error: Process completed with exit code 1.
综合 更新日志 及我的博客来看,生成之后的帖子在夜间模式下正文(#e6edf3)会太亮,相对来说,GitHub 的 issue 页面(#c9d1d9)会更加柔和一点,因此希望能降低一些亮度,以便夜猫子活动。
另,我使用的主题是夜间模式的 Dark Protanopia & Deuteranopia ,希望有所帮助。
( ̄▽ ̄)"
比较关注这一点,有时候会需要转移内容
拼音太长了而且看着有点傻……
或者有什么可以直接改的方法也请告诉我,麻烦了
查看了往期的issues,说是markdown转html然后再生成的
我有个疑问,那我直接往doc文件夹里塞入html文件可不可以生成更新?
第一次用github……操作一通还是做不来
更换 Label 后我试过重新运行 Action,也尝试发了新的帖子,但被更改的 Label 都没有同步过去。
报错:
Run GMEEK_VERSION=$(jq -r ".GMEEK_VERSION" config.json)
parse error: Invalid string: control characters from U+0000 through U+001F must be escaped at line 6, column 7
Error: Process completed with exit code 4.
添加的代码:
{
"title":"花花部落格",
"subTitle":"花花的自留地",
"avatarUrl":"https://github.githubassets.com/favicons/favicon.svg",
"script":"<script
src="https://mini.homwei.link/js/iframe.js"
id="chatbot-iframe"
data-bot-src="https://mini.homwei.link/chat/share?shareId=9w51z1ywd7pgrylyssdxzmhz"
data-default-open="true"
data-drag="true"
data-open-icon="data:image/svg+xml;base64,PHN2ZyB0PSIxNjkwNTMyNzg1NjY0IiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjQxMzIiIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48cGF0aCBkPSJNNTEyIDMyQzI0Ny4wNCAzMiAzMiAyMjQgMzIgNDY0QTQxMC4yNCA0MTAuMjQgMCAwIDAgMTcyLjQ4IDc2OEwxNjAgOTY1LjEyYTI1LjI4IDI1LjI4IDAgMCAwIDM5LjA0IDIyLjRsMTY4LTExMkE1MjguNjQgNTI4LjY0IDAgMCAwIDUxMiA4OTZjMjY0Ljk2IDAgNDgwLTE5MiA0ODAtNDMyUzc3Ni45NiAzMiA1MTIgMzJ6IG0yNDQuOCA0MTZsLTM2MS42IDMwMS43NmExMi40OCAxMi40OCAwIDAgMS0xOS44NC0xMi40OGw1O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/>",
"GMEEK_VERSION":"last",
Hello, I would like to ask why changing the html file in docs has no effect. I see that the file will be constantly updated back to the original template layout, so if I want to change and add some special effects such as Onimaruhanten, adding it directly to index.html will not take effect. I don’t know how to change the configuration file. What should I do? Revise?
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [4 lines of output]
:67: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
Building lxml version 5.0.0.
Building without Cython.
Error: Please make sure the libxml2 and libxslt development packages are installed.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Error: Process completed with exit code 1.
这样生成的 html 文件名中含也有半角冒号,而 Windows 的文件系统不允许半角冒号存在
大佬,能否大致讲讲这种原理
我不太会html js 相关的东西,我完全照着您的模板在本地建仓后,很多东西都沿用了您原始仓的东西,而我想根据自己的来调整。
so,直接重建新仓,然后将原始仓中的一些文件拷贝进去,但是一直都不成功,没有出现issue 中的内容
不知是时间没有等待太久,还是有其他不知名原因,望请解答。
祝好,
tongchangD
自动部署时,在"Generate new html"阶段出错,错误如下:
Run cp -r ./* /opt/Gmeek/ {'Blog test': '#ED336B', 'bug': '#d73a4a', 'documentation': '#0075ca', 'duplicate': '#cfd3d7', 'enhancement': '#a2eeef', 'good first issue': '#7057ff', 'help wanted': '#008672', 'invalid': '#e4e669', 'question': '#d876e3', 'Team work': '#08EE35', 'wontfix': '#ffffff'} Traceback (most recent call last): File "Gmeek.py", line 320, in <module> blog.runOne(options.issue_number) File "Gmeek.py", line 293, in runOne listJsonName=self.addOnePostJson(issue) File "Gmeek.py", line 251, in addOnePostJson self.blogBase[listJsonName][postNum]["style"]=self.blogBase["style"] KeyError: 'style' blogBase is exists and issue_number!=0, runOne ====== start create static html ====== Error: Process completed with exit code 1.
例如自建的waline
已解决
如题:是否能支持显示访问次数,便于查看不同文章的访问数据
下拉选框是禁用的
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.