soatok/faq-off
最新稳定版本:v0.4.0
Composer 安装命令:
composer create-project soatok/faq-off
包简介
Challenge-Response Automation
README 文档
README
FAQ Off lets you build gamebook-style FAQ websites to counteract sealioning and mob harassment on social media.
FAQ Off is a self-hostable microservice based on Slim Framework 3 and AnthroKit, developed by Soatok live on his Twitch.tv channel.
Public demo: https://faq.dhol.es
Invite links are given to Patreon supporters at the Brilliant tier and higher.
To learn more, please see the Patreon post that introduced FAQ Off.
FAQ Off Features at a Glance
- Interactive Question and Answer Website:
- Guide your readers to the answers to their question.
- Short-circuit common lines of disruptive discourse.
Write once, answer ad nauseum!
- HTML and Markdown Support
- Troll and Spam Defense:
- Administrators can enable "invite only" mode, which requires an invitation code from an existing user to sign up.
- The invitation tree: Administrators can see who invited who, to identify common entry points of misbehaving users to curate their own community.
- Collaboration:
- Users can share an Author profile with colleagues and publish as a group.
- Users can belong to an unlimited number of Authors.
- Authors can share access to an unlimited number of users, or just one.
- Security:
- Entries are written in HTML / Markdown and processed by HTML Purifier to protect against cross-site scripting attacks.
- Passwords are stored securely, or you can use Twitter.
- Your username or Twitter handle is only knowable by administrators.
A randomly generated
Public IDis provided to keep your login handle and/or Twitter handle anonymous to everyone else.
Installation
Getting the Code and Dependencies
First, clone the git repository.
git clone https://github.com/soatok/faq-off target-dir-name
Next, run composer install --no-dev inside the destination directory.
Database Setup
Run bin/create-config.php to create a local configuration file.
You should have valid PostgreSQL database credentials onhand at
this stage.
Next, run bin/install to finish installing the database tables.
Webserver Configuration
Make sure you configure your virtual host to use the public directory
as its document root.
- BAD:
/var/www/faq-off - Good:
/var/www/faq-off/public
General rule: If your users can read this README.md file, you've configured your
server incorrectly and need to go another layer down.
It's highly recommended that you use HTTPS (TLSv1.3, TLSv1.2). If you cannot
afford a TLS certificate, Let's Encrypt offers free
certificates with automatic renewal (via certbot).
For example, an nginx configuration might look like this:
server { listen 443 ssl; listen [::]:443 ssl; ssl_certificate /etc/letsencrypt/live/faq.example.com/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/faq.example.com/privkey.pem; include snippets/ssl-params.conf; root /var/www/faq-off/public; server_name faq.example.com; index index.php index.html index.htm; location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/var/run/php/php7.3-fpm.sock; } location / { # First attempt to serve request as file, then # as directory, then fall back to displaying a 404. try_files $uri $uri/ /index.php?$args; } location ~ /.well-known { allow all; } } server { listen 80; listen [::]:80; root /var/www/faq-off/public; index index.html index.htm; server_name faq.example.com; location ~ /.well-known { allow all; } location / { # First attempt to serve request as file, then # as directory, then fall back to displaying a 404. try_files $uri $uri/ =404; } # Redirect to HTTPS return 301 https://faq.example.com$request_uri; }
soatok/faq-off 适用场景与选型建议
soatok/faq-off 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2 次下载、GitHub Stars 达 35, 最近一次更新时间为 2019 年 07 月 02 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「FAQ」 「slim framework」 「Microservice」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 soatok/faq-off 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 soatok/faq-off 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 soatok/faq-off 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP Framework HLEB2 is the foundation of the web application. Provides ease of development and application performance.
Frequently Asked Questions (FAQ) plugin. With categories, on-the-fly search, customer helpfulness tracking and comments.
Secure session middleware for Slim 3 framework
With Magento 2 FAQ Extension, you will not need to worry about creating useful and nice FAQ page for your ecommerce website. The extension will help you to set up nice informative & SEO-friendly magento 2 FAQ page. With faq page, your customers will find convenient, easily and quick to resolve commo
TYPO3 Questions - FAQ by coding.ms: Frequently asked questions (FAQ) for TYPO3 with SEO-optimized output, prepared schema.org microdata, markdown support for answers, shop-product integration, category and keyword filters, backend question management, CSV export, and improved AI visibility (GEO). Su
Adds request-parameter validation to the SLIM 3.x PHP framework
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 35
- 点击次数: 14
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: ISC
- 更新时间: 2019-07-02