Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 0 additions & 41 deletions .github/workflows/generate-rss.yml

This file was deleted.

61 changes: 61 additions & 0 deletions .github/workflows/pages-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: "Build and Deploy Jekyll Site"

on:
push:
branches: ["main", "master"]
paths-ignore:
- "README.md"

# 允许手动触发
workflow_dispatch:

# GitHub Pages 部署权限
permissions:
contents: read
pages: write
id-token: write

# 同一时间只允许一个部署
concurrency:
group: "pages"
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # 获取完整 Git 历史(用于最后修改时间等)

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
bundler-cache: true # 自动执行 bundle install 并缓存

- name: Setup Pages
id: pages
uses: actions/configure-pages@v4

- name: Build with Jekyll
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: "_site"

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
25 changes: 25 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Jekyll 构建输出
_site/
.jekyll-cache/
.jekyll-metadata

# Ruby
.bundle/
vendor/
Gemfile.lock

# Node 模块
node_modules/

# 操作系统文件
.DS_Store
Thumbs.db

# IDE
.vscode/
.idea/
*.swp
*.swo

# 环境文件
.env
39 changes: 39 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
## 项目结构

```
├── _weekly/ # Jekyll 集合源文件(保留原始文件名:96.md, 97.md, ...)
├── _config.yml # Jekyll 站点配置
├── _tabs/ # Chirpy 主题导航页(目前仅保留 about)
├── _data/ # 站点数据文件(联系方式、分享按钮等)
├── asset/ # 静态资源(图片、Logo 等)
├── post/ # 原始 Markdown 源文件(供 GitHub 浏览)
├── Gemfile # Ruby 依赖声明
└── .github/workflows/
└── pages-deploy.yml # GitHub Actions 自动部署工作流
```

## 本地开发

```bash
# 安装依赖
bundle install

# 启动本地服务器
bundle exec jekyll serve

# 访问 http://127.0.0.1:4000/githubweekly/
```

## 新增文章

在 `_weekly/` 目录下创建新文件,文件名即期号,如 `104.md`:

```yaml
---
title: "GitHub一周热点第NNN期"
date: "YYYY-MM-DD"
description: "本期摘要"
---

正文内容...
```
23 changes: 23 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# frozen_string_literal: true

source "https://rubygems.org"

gem "jekyll-theme-chirpy", "~> 7.3"

# Jekyll 插件
group :jekyll_plugins do
gem "jekyll-seo-tag", "~> 2.8" # SEO meta 标签
gem "jekyll-sitemap", "~> 1.4" # Sitemap 生成
gem "jekyll-paginate", "~> 1.1" # 分页支持
end

# Windows 和 JRuby 平台兼容
platforms :windows, :jruby do
gem "tzinfo", ">= 1", "< 3"
gem "tzinfo-data"
end

gem 'wdm', '>= 0.1.0', :platforms => [:windows]

# http_parser.rb 在 JRuby 上需限制版本
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
37 changes: 21 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,30 @@
<p align="center">
<a href="https://github.com/itcoffee66/githubweekly">
<img src="asset/it-coffee-circle.png" alt="LangExtract Logo" width="128" />
<img src="asset/it-coffee-circle.png" alt="IT咖啡馆" width="128" />
</a>
</p>

## githubweekly

GitHub一周热点汇总,每周分享热门项目,B站、YouTube发布视频版本,搜:IT咖啡馆

- 第104期:[智谱GLM-5发布,打响春节AI大战模型第一枪](post/104.md)
- 第103期:[4000行代码的openclaw能用吗](post/103.md)
- 第102期:[全球爆火的AI助理真的那么好用吗?](post/102.md)
- 第101期:[IT咖啡馆的Github一周热点上线了](post/101.md)
- 第100期:[火爆的AI编程代理](post/100.md)
- 第99期:[提升Claude code效率10倍的工具?](post/99.md)
- 第98期:[AI文档检索框架](post/98.md)
- 第97期:[自动操作手机的智能助手](post/97.md)
- 第96期:[FLUX发布了新一代,但似乎没那么惊艳了](post/96.md)

## RSS订阅文档
使用RSS 订阅软件可以快速知道本周github热点项目

订阅地址为
[https://itcoffee66.github.io/githubweekly/rss.xml](https://itcoffee66.github.io/githubweekly/rss.xml)

### 往期内容
- 第104期:[智谱GLM-5发布,打响春节AI大战模型第一枪](_weekly/104.md) | [在线阅读](https://itcoffee66.github.io/githubweekly/104.html)
- 第103期:[4000行代码的openclaw能用吗](_weekly/103.md) | [在线阅读](https://itcoffee66.github.io/githubweekly/103.html)
- 第102期:[全球爆火的AI助理真的那么好用吗?](_weekly/102.md) | [在线阅读](https://itcoffee66.github.io/githubweekly/102.html)
- 第101期:[IT咖啡馆的Github一周热点上线了](_weekly/101.md) | [在线阅读](https://itcoffee66.github.io/githubweekly/101.html)
- 第100期:[火爆的AI编程代理](_weekly/100.md) | [在线阅读](https://itcoffee66.github.io/githubweekly/100.html)
- 第99期:[提升Claude code效率10倍的工具?](_weeklu/99.md) | [在线阅读](https://itcoffee66.github.io/githubweekly/99.html)
- 第98期:[AI文档检索框架](_weekly/98.md) | [在线阅读](https://itcoffee66.github.io/githubweekly/98.html)
- 第97期:[自动操作手机的智能助手](_weekly/97.md) | [在线阅读](https://itcoffee66.github.io/githubweekly/97.html)
- 第96期:[FLUX发布了新一代,但似乎没那么惊艳了](_weekly/96.md) | [在线阅读](https://itcoffee66.github.io/githubweekly/96.html)

## RSS 订阅

使用 RSS 订阅软件可以快速知道本周 GitHub 热点项目

订阅地址:[https://itcoffee66.github.io/githubweekly/feed.xml](https://itcoffee66.github.io/githubweekly/feed.xml)



151 changes: 151 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
# ---------------------------------------------------------------------------
# 站点基本配置 - Jekyll & Chirpy 主题
# ---------------------------------------------------------------------------

# 导入 Chirpy 主题
theme: jekyll-theme-chirpy

# 网页语言(对应 _data/locales/ 下的翻译文件)
# http://www.lingoes.net/en/translator/langcode.htm
lang: zh-CN

# 时区设置 https://zones.arilyn.cc
timezone: Asia/Shanghai

# ---------------------------------------------------------------------------
# jekyll-seo-tag 设置
# https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md
# ---------------------------------------------------------------------------

title: Github Weekly # 站点标题
tagline: "IT咖啡馆的GitHub每周热点" # 副标题/标语
description: >- # SEO 描述 & Atom Feed 描述
每周分享GitHub热门开源项目,涵盖AI、开发工具、框架等领域。
B站、YouTube同步发布视频版本,搜:IT咖啡馆

# 站点 URL(不以 / 结尾)
url: "https://itcoffee66.github.io"

# 项目站点的 baseurl(以 / 开头,不以 / 结尾)
baseurl: "/githubweekly"

github:
username: itcoffee66

social:
name: IT咖啡馆
links:
- https://github.com/itcoffee66
- https://space.bilibili.com/ # 替换为实际 B 站主页

# ---------------------------------------------------------------------------
# 站点外观与功能
# ---------------------------------------------------------------------------

# 站点图标(侧边栏头像)
avatar: "/asset/it-coffee-circle.png"

# 文章目录(TOC)全局开关
toc: true

# 评论系统(暂不开启,后续可配置 giscus 等)
comments:
provider: # [disqus | utterances | giscus]

# ---------------------------------------------------------------------------
# 自托管静态资源
# ---------------------------------------------------------------------------
# assets:
# self_host:
# enabled: false

# PWA 配置
pwa:
enabled: false

# 分页:每页显示文章数
paginate: 10

# ---------------------------------------------------------------------------
# 订阅源配置
# 使用仓库根目录的 rss.xml 静态文件,不由 Jekyll 生成
# ---------------------------------------------------------------------------

# ---------------------------------------------------------------------------
# 集合、永久链接与默认值
# ---------------------------------------------------------------------------

# 使用 Jekyll Collection 而非 _posts,以保留原始文件名(96.md, 97.md, ...)
# _weekly/ 目录中的 md 文件会被输出为 /asset/html/96.html 等
collections:
weekly:
output: true
sort_by: date
permalink: /:name.html
tabs:
output: true
sort_by: order

defaults:
- scope:
path: ""
type: weekly
values:
layout: post
comments: true
toc: true
- scope:
path: _drafts
values:
comments: false
- scope:
path: ""
type: tabs
values:
layout: page
permalink: /:title/

# ---------------------------------------------------------------------------
# Sass & HTML 压缩
# ---------------------------------------------------------------------------
sass:
style: compressed

compress_html:
clippings: all
comments: all
endings: all
profile: false
blanklines: false
ignore:
envs: [development]

# ---------------------------------------------------------------------------
# 排除文件(不参与 Jekyll 构建)
# ---------------------------------------------------------------------------
exclude:
- "*.gem"
- "*.gemspec"
- scripts/
- post/ # 原始 Markdown 源文件(保留供 GitHub 浏览)
- asset/html/ # 旧的 Python 脚本生成的 HTML(由 Jekyll 重新生成)
# - rss.xml # 保留根目录 rss.xml 作为静态文件输出
- node_modules/
- vendor/
- Gemfile.lock
- LICENSE
- "*.config.js"

# ---------------------------------------------------------------------------
# Kramdown Markdown 处理器
# ---------------------------------------------------------------------------
kramdown:
footnote_backlink: "&#8617;&#xfe0e;"
syntax_highlighter: rouge
syntax_highlighter_opts:
css_class: highlight
span:
line_numbers: false
block:
line_numbers: true
start_line: 1
Loading