批量获取Flarum社区插件列表

打开 Flarum 社区插件仓库列表 https://github.com/orgs/FriendsOfFlarum/repositories

获取插件列表

在浏览器Console界面执行如下代码,即可输出本页插件列表。

let repolist = [];

document.querySelectorAll('.Link.d-inline-block').forEach(a => {
    let name = a.href.split('/').pop().trim();
    let permElem = a.nextElementSibling;
    let permText = permElem ? permElem.innerText.trim() : '';
    let descElem = a.parentElement.nextElementSibling
    let descText = descElem ? descElem.innerText.trim() : '';
    if (permText && !permText.includes('archive') && descText && !descText.includes('[NOT EXT]')) {
        repolist.push([`fof/${name}`, a.href, descText.replace(/\n/g, ' ')]);
    }
});

let repotable = repolist.map(item => {
    return '| ' + item.join(' | ') + ' |';
});

repotable.unshift('| ---- | ---- | ---- |');
repotable.unshift('| Name | Link | Description |');

console.log(repotable.join('\n'));

附录:插件汇总表

共计65个插件,描述信息使用BingAI翻译,以更新时间倒序排列。

扩展 仓库地址 描述信息
fof/links https://github.com/FriendsOfFlarum/links 管理Flarum主导航链接
fof/recaptcha https://github.com/FriendsOfFlarum/recaptcha 使用Google reCAPTCHA增强您的论坛安全性
fof/profile-image-crop https://github.com/FriendsOfFlarum/profile-image-crop 上传个人资料图片时允许裁剪
fof/best-answer https://github.com/FriendsOfFlarum/best-answer 在讨论中标记一个帖子为最佳答案
fof/upload https://github.com/FriendsOfFlarum/upload 为您的Flarum论坛提供具有超强智能的文件上传扩展。
fof/merge-discussions https://github.com/FriendsOfFlarum/merge-discussions 将两个或多个讨论合并为一个
fof/doorman https://github.com/FriendsOfFlarum/doorman 🚪 只允许特定的人加入您的论坛
fof/polls https://github.com/FriendsOfFlarum/polls 为您的讨论添加投票功能的Flarum扩展
fof/byobu https://github.com/FriendsOfFlarum/byobu 为您的Flarum论坛提供良好集成的高级私人讨论。
fof/reactions https://github.com/FriendsOfFlarum/reactions ❤ 为您的Flarum社区添加反应功能的Flarum扩展!
fof/pretty-mail https://github.com/FriendsOfFlarum/pretty-mail 允许您为电子邮件制作自定义html模板的Flarum扩展!
fof/sentry https://github.com/FriendsOfFlarum/sentry Flarum与Sentry的集成
fof/pwned-passwords https://github.com/FriendsOfFlarum/pwned-passwords 🔑 将用户的密码与Have I Been Pwned密码数据库进行比对
fof/username-request https://github.com/FriendsOfFlarum/username-request 允许用户请求新的用户名
fof/spamblock https://github.com/FriendsOfFlarum/spamblock 将用户标记为垃圾邮件发送者,暂停他们并隐藏他们的帖子和讨论
fof/geoip https://github.com/FriendsOfFlarum/geoip 为您的Flarum论坛提供地理位置信息
fof/bbcode-details https://github.com/FriendsOfFlarum/bbcode-details Flarum的详情BBCode
fof/secure-https https://github.com/FriendsOfFlarum/secure-https 将所有使用HTTP的图片改为HTTPS
fof/filter https://github.com/FriendsOfFlarum/filter 标记可能有冒犯性的帖子
fof/sitemap https://github.com/FriendsOfFlarum/sitemap 生成一个网站地图。
fof/default-user-preferences https://github.com/FriendsOfFlarum/default-user-preferences 在用户偏好中默认启用回复和提及的邮件通知
fof/discussion-thumbnail https://github.com/FriendsOfFlarum/discussion-thumbnail 用讨论开始帖中的第一张图片替换作者头像
fof/ignore-users https://github.com/FriendsOfFlarum/ignore-users 忽略用户---隐藏他们在讨论中的帖子并阻止Byobu直接消息
fof/user-directory https://github.com/FriendsOfFlarum/user-directory 基于权限的公开用户目录扩展,适用于您的Flarum论坛。
fof/default-group https://github.com/FriendsOfFlarum/default-group 一个Flarum扩展。自动为新用户分配一个默认组。
fof/user-bio https://github.com/FriendsOfFlarum/user-bio 为Flarum添加用户简介功能
fof/moderator-notes https://github.com/FriendsOfFlarum/moderator-notes 为您的论坛用户创建私密备注
fof/custom-footer https://github.com/FriendsOfFlarum/custom-footer 允许添加自定义页脚。
fof/discussion-language https://github.com/FriendsOfFlarum/discussion-language 指定讨论使用的语言,并按语言排序
fof/oauth https://github.com/FriendsOfFlarum/oauth 允许用户使用GitHub,Twitter,Facebook等登录!
fof/subscribed https://github.com/FriendsOfFlarum/subscribed 为你的Flarum论坛提供更好的用户订阅功能
fof/cookie-consent https://github.com/FriendsOfFlarum/cookie-consent 为你的Flarum网站添加Cookie同意通知
fof/bbcode-tabs https://github.com/FriendsOfFlarum/bbcode-tabs 使用BBCode标签在你的帖子中添加标签页
fof/linguist https://github.com/FriendsOfFlarum/linguist 轻松自定义Flarum的翻译
fof/html-errors https://github.com/FriendsOfFlarum/html-errors 添加自定义的HTML错误页面
fof/terms https://github.com/FriendsOfFlarum/terms 要求你的用户接受服务条款和隐私政策
fof/ban-ips https://github.com/FriendsOfFlarum/ban-ips 从你的论坛中禁止IP地址
fof/drafts https://github.com/FriendsOfFlarum/drafts 启用讨论草稿的创建
fof/share-social https://github.com/FriendsOfFlarum/share-social 添加一个按钮,通过社交网络分享讨论
fof/open-collective https://github.com/FriendsOfFlarum/open-collective 为你的Flarum论坛集成Open Collective
fof/frontpage https://github.com/FriendsOfFlarum/frontpage 一个Flarum扩展。将讨论推送到你的Flarum论坛首页!
fof/prevent-necrobumping https://github.com/FriendsOfFlarum/prevent-necrobumping 在挖掘旧讨论之前发出警告
fof/socialprofile https://github.com/FriendsOfFlarum/socialprofile 在你的用户资料中添加自定义的社交媒体页面
fof/pages https://github.com/FriendsOfFlarum/pages 在Flarum中创建自定义的静态页面
fof/webhooks https://github.com/FriendsOfFlarum/webhooks Flarum与外部webhooks的集成
fof/masquerade https://github.com/FriendsOfFlarum/masquerade 用户资料构建器扩展,用于你的Flarum论坛。
fof/split https://github.com/FriendsOfFlarum/split 将Flarum帖子分割成一个新的讨论
fof/impersonate https://github.com/FriendsOfFlarum/impersonate 以其他用户的身份登录您的论坛
fof/follow-tags https://github.com/FriendsOfFlarum/follow-tags 关注标签并收到新讨论和回复的通知
fof/gamification https://github.com/FriendsOfFlarum/gamification 为您的Flarum社区添加赞成票、反对票和等级
fof/nightmode https://github.com/FriendsOfFlarum/nightmode 🌙 关灯吧!
fof/stopforumspam https://github.com/FriendsOfFlarum/stopforumspam 通过Stop Forum Spam数据库检查注册用户
fof/passport https://github.com/FriendsOfFlarum/passport 与Laravel passport兼容的oauth扩展,适用于您的Flarum论坛。
fof/amazon-affiliation https://github.com/FriendsOfFlarum/amazon-affiliation 在Amazon链接中添加您的Amazon联盟标签
fof/github-sponsors https://github.com/FriendsOfFlarum/github-sponsors 为您的Flarum论坛集成GitHub Sponsors功能
fof/forum-statistics-widget https://github.com/FriendsOfFlarum/forum-statistics-widget 在您的Flarum论坛的侧边栏部分添加论坛统计小部件。
fof/formatting https://github.com/FriendsOfFlarum/formatting 通过管理界面使用插件自定义TextFormatter
fof/analytics https://github.com/FriendsOfFlarum/analytics 一个为您的论坛提供piwik和google分析功能的Flarum扩展
fof/mason https://github.com/FriendsOfFlarum/mason 为讨论添加自定义字段
fof/clockwork https://github.com/FriendsOfFlarum/clockwork 🔧为您的Flarum论坛添加Clockwork集成,以便更容易调试
fof/realtimelogin https://github.com/FriendsOfFlarum/realtimelogin 防止用户登录或注册时刷新页面。模态框将关闭,一切都将准备就绪。
fof/realtimedate https://github.com/FriendsOfFlarum/realtimedate 使人类时间(例如2分钟前)实时更新。
fof/disposable-emails https://github.com/FriendsOfFlarum/disposable-emails 阻止用户使用一次性电子邮件注册
fof/github-autolink https://github.com/FriendsOfFlarum/github-autolink 在您的Flarum帖子中自动链接Github问题和提交
fof/discord-bot https://github.com/FriendsOfFlarum/discord-bot 一个适用于@flarum论坛的discord机器人。
文章作者: 若海; 原文链接: https://www.rehiy.com/post/530/; 转载需声明来自技术写真 - 若海

添加新评论