Giter Club home page Giter Club logo

gmeek's People

Contributors

katelynn620 avatar kerbsopensource avatar meekdai avatar shyn avatar zhaotim avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

gmeek's Issues

新增issue 文章不推送到blog

现象:新增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.

帮忙看下咯

如何修改文章标题字体大小?

文章标题字体大小默认有些大,标题长点就会换行,导致排版不太好看,尤其是在手机上更是灾难,请问如何修改?

修改配置文件手动全局生成一次报错。

Uploading 屏幕截图 2024-02-07 183631.png…

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.

`config.json` 中的 `style` 字段未正确应用

在设置了 style 字段之后,style 中的值被添加到了 <style> </style> 之外,如图所示:

image

config.json 的内容如下:

{
    "title":"CarameowCookie 的碎碎念",
    "subTitle":"一个自由而无用的灵魂",
    "avatarUrl":"https://github.com/CarameowCookie.png",
    "GMEEK_VERSION":"last",
    "singlePage":["link"],
    "dayTheme":"light",
    "nightTheme":"dark_high_contrast",
    "style":"/*这是 style 所在的位置*/"
}

iPhone Safari 浏览器文章列表未对齐

设备:iPhone 15
系统:iOS 17.4.1

经观察,发现只要标题过长显示不全就会出现这种情况。

photo_2024-03-25_11-23-34

photo_2024-03-25_11-23-32

在 Windows 使用 Chrome 模拟小尺寸手机,则不会出现这种情况,怀疑是 Safari 的原因。

image

singlePage为什么在首页显示不出来

你好,singlePage 在config /base config 都加上了,也build 成功了,直接通过url 可以访问,为什么在首页显示不出来呀?需要加什么配置吗

can't generate post recently

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 ,希望有所帮助。

( ̄▽ ̄)"

没有成功

第一次用github……操作一通还是做不来

没看懂 readme,操作失败

按照步骤 1,2,3 完成后,测试未成功,仓库要有什么代码嘛?现在 action 的直接是我的 readme
第二步是这样的
Uploading iShot_2023-12-14_16.31.38.png…

生成失败

一开始没注意到说要手动全局构建一次,补了构建后还是没能成功,该怎么修复?

image

image

添加自定义script报错

报错:

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,PHN2ZyB0PSIxNjkwNTMyNzg1NjY0IiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5v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LjYwNDU3MWE0NS41NjggNDUuNTY4IDAgMSAwIDY0LjQzODg1OCA2NC40Mzg4NThMNTEyIDU3Ni41MTJsMTQxLjYwNDU3MSAxNDEuNTMxNDI5YTQ1LjU2OCA0NS41NjggMCAwIDAgNjQuNDM4ODU4LTY0LjQzODg1OEw1NzYuNTEyIDUxMmwxNDEuNTMxNDI5LTE0MS42MDQ1NzFhNDUuNTY4IDQ1LjU2OCAwIDEgMC02NC40Mzg4NTgtNjQuNDM4ODU4TDUxMiA0NDcuNDg4IDM3MC4zOTU0MjkgMzA1Ljk1NjU3MWE0NS41NjggNDUuNTY4IDAgMCAwLTY0LjQzODg1OCA2NC40Mzg4NTh6IiBmaWxsPSIjNGU4M2ZkIiBwLWlkPSI2MzY4Ij48L3BhdGg+PC9zdmc+"
  defer
/>",
    "GMEEK_VERSION":"last",

今日上传issue突然报错

× 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 js 相关的东西,我完全照着您的模板在本地建仓后,很多东西都沿用了您原始仓的东西,而我想根据自己的来调整。

so,直接重建新仓,然后将原始仓中的一些文件拷贝进去,但是一直都不成功,没有出现issue 中的内容

不知是时间没有等待太久,还是有其他不知名原因,望请解答。

祝好,
tongchangD

行内公式显示不正常

大佬,发现一个或许是 bug,在我 issue 那边行内公式是显示正常的,但是转成html之后就不正常了,希望大佬能修一下

Issue 版本

image

Gmeek 版本

image

Error happen when generate new html stage

自动部署时,在"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.

如果更改了文章的标题,则原来的文章页面仍然会在网站上保留

如果更改了文章的标题,则原来的文章页面仍然会在网站上保留(虽然在主页上没有超链接),而不会自动删除,即使是手动 build 之后也是如此。

举例:

我将我个人博客上的《喵》这篇文章更名为《这是第一篇博客》 并手动部署,结果是两篇文章(具有不同 URL)都能正常访问,原来的《喵》页面并没有被自动删除。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.