惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

N
Netflix TechBlog - Medium
V
Vulnerabilities – Threatpost
Google Online Security Blog
Google Online Security Blog
Hugging Face - Blog
Hugging Face - Blog
L
LINUX DO - 热门话题
云风的 BLOG
云风的 BLOG
P
Proofpoint News Feed
D
Docker
C
Cyber Attacks, Cyber Crime and Cyber Security
MyScale Blog
MyScale Blog
P
Palo Alto Networks Blog
T
Tenable Blog
P
Privacy International News Feed
Google DeepMind News
Google DeepMind News
小众软件
小众软件
Cisco Talos Blog
Cisco Talos Blog
aimingoo的专栏
aimingoo的专栏
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
A
Arctic Wolf
C
Cybersecurity and Infrastructure Security Agency CISA
C
Cisco Blogs
T
Threat Research - Cisco Blogs
NISL@THU
NISL@THU
The Hacker News
The Hacker News
Project Zero
Project Zero
AWS News Blog
AWS News Blog
Simon Willison's Weblog
Simon Willison's Weblog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
T
Threatpost
V
Visual Studio Blog
The GitHub Blog
The GitHub Blog
The Cloudflare Blog
Last Week in AI
Last Week in AI
Jina AI
Jina AI
Cyberwarzone
Cyberwarzone
The Register - Security
The Register - Security
C
CXSECURITY Database RSS Feed - CXSecurity.com
Vercel News
Vercel News
D
Darknet – Hacking Tools, Hacker News & Cyber Security
MongoDB | Blog
MongoDB | Blog
U
Unit 42
Scott Helme
Scott Helme
A
About on SuperTechFans
WordPress大学
WordPress大学
F
Fortinet All Blogs
大猫的无限游戏
大猫的无限游戏
G
GRAHAM CLULEY
Latest news
Latest news
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
S
Schneier on Security

飞絮落叶雪

[果果作文]我的“自画像” 老何杂记 30 ‌梅子金黄杏子肥 机械革命无界 S 售后续篇 问道齐云山 机械革命售后无门 老何杂记 29 我让 Ai 写了一个记账本 富士 XF18mm F1.4 R LM WR 网站搬家 网图不能随便用
Typecho 几个小插件分享
Mr.He · 2026-04-29 · via 飞絮落叶雪

这几天一直在折腾博客代码,借助强大的 Ai ,让博客基本上能按照自己的形式展现,很开心,希望这几个小插件能给使用 typecho 的同学一点点小帮助。

S3 upload 插件改版

博客的静态内容比如图片,放在图床有助于提高加载速度,前些年一直用七牛云,但是他的 SSL 证书需要自己手动申请,每隔几个月就要操作一次,很繁琐,后来移动到缤纷云,解决了证书续期问题,但问题在于他时不时无法访问,连创始人都建议大家用大厂的产品。

20260429134815_27_15.jpg

后来在东风同学的指导下,开通了 cloudflare R2 储存,有 10G 的存储空间,每月免费上传 100 万次,展示 1000 万次,对于个人博客来说足以,随之而来的是如何上传,老孙的 S3 Upload 插件兼容 S3 协议,但是在 R2 存储上传后变成了私有文件,无法公开访问,于是通过 Ai 将他改成兼容 R2 的版本,在后台撰写文章时上传插件会自动同步到 R2 ,在此感谢老孙的无私奉献。(注:如果使用其他 S3 协议的同学,请使用原版,此修改版仅使用于cloudflare R2 储存,Region 填 auto),下载地址:蓝奏云 密码:bmmf

图片exif 信息展示改版

此插件是 Lopwon 开发的一款免费插件,由于使用了灯箱插件,导致首次加载文章不显示 exif 信息,让Ai 进行了修改兼容,并增加了一点功能:可以自定义显示位置,读取更多的 exif 信息并展示,效果如本站所示,对于摄影爱好者来说是一个很实用的插件,感谢 Lopwon 的无私奉献。下载地址:蓝奏云 密码:7nra

2026-04-29_140127_316.png

memos 展示插件

为什么不用主题说说功能:考虑到有些同学比如我经常换主题,兼容性是个大问题。

特点:后台处理,前端展示,使用文件缓存,加载速度快。注意我的 memos 版本是 0.27.1,某些旧版本 Api 可能不兼容。

2026-04-29_150429_422.png

之前一直用前端处理 memos 的展示,导致在视觉和速度上有点不对劲,再次借助 Ai 使其用插件的形式展示说说,下载解压到插件目录 MemosRenderer,启用插件后在当前主题目录下新建page-memos.php 文件,写入以下内容:
下载地址:蓝奏云 密码:8eko

    <?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
    <?php
    /**
     * memos展示墙
     *
     * @package custom
     */
    $this->need('header.php');
    ?>
    <div class="post-header">
      <div class="post-nav">
        <div class="post-info">
          <?php clarity_render_author_capsule($this); ?>
          <span>
            <span class="icon-[ph--calendar-dots-bold]"></span>
            <time><?php $this->date('Y-m-d'); ?></time>
          </span>
         
        </div>
      </div>
      <h1 class="post-title text-creative"><?php $this->title(); ?></h1>
    </div>
    <link rel="stylesheet" href="<?php $this->options->pluginUrl('MemosRenderer'); ?>/assets/memos.css">
    <script src="https://unpkg.com/marked@4.2.9/lib/marked.umd.js"></script>
    <div class="page-memos">       
        <?php if (class_exists('MemosRenderer_Plugin')): ?>
        <?php echo MemosRenderer_Plugin::renderMemos(30); ?>
        <?php else: ?>
            <div class="alert alert-warning">
                请先安装并激活 Memos 渲染器插件
            </div>
        <?php endif; ?>
    </div>
    <?php $this->need('footer.php'); ?>

然后后台新建页面,选择memos即可。