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

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
T
Threatpost
Latest news
Latest news
N
News | PayPal Newsroom
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Help Net Security
Help Net Security
D
Darknet – Hacking Tools, Hacker News & Cyber Security
AI
AI
Simon Willison's Weblog
Simon Willison's Weblog
TaoSecurity Blog
TaoSecurity Blog
The Last Watchdog
The Last Watchdog
L
LINUX DO - 热门话题
Google DeepMind News
Google DeepMind News
T
Threat Research - Cisco Blogs
O
OpenAI News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
The Exploit Database - CXSecurity.com
NISL@THU
NISL@THU
Application and Cybersecurity Blog
Application and Cybersecurity Blog
S
Securelist
小众软件
小众软件
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Martin Fowler
Martin Fowler
S
SegmentFault 最新的问题
Cisco Talos Blog
Cisco Talos Blog
云风的 BLOG
云风的 BLOG
AWS News Blog
AWS News Blog
GbyAI
GbyAI
N
News and Events Feed by Topic
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
美团技术团队
Engineering at Meta
Engineering at Meta
A
About on SuperTechFans
博客园 - 三生石上(FineUI控件)
S
Schneier on Security
博客园 - 聂微东
V2EX - 技术
V2EX - 技术
T
Troy Hunt's Blog
SecWiki News
SecWiki News
S
Secure Thoughts
B
Blog RSS Feed
Hugging Face - Blog
Hugging Face - Blog
WordPress大学
WordPress大学
腾讯CDC
H
Heimdal Security Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Apple Machine Learning Research
Apple Machine Learning Research
月光博客
月光博客
www.infosecurity-magazine.com
www.infosecurity-magazine.com
P
Privacy International News Feed

飞絮落叶雪 - 插件

WordPress 新主题 Weisay Grace 您的邮箱被管理员屏蔽无法评论 添加UserAgent for typecho插件 typecho无法启用页面浏览次数统计插件(stat)的解决办法 wordpress用插件实现go链接跳转
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即可。