kevachat/webapp
Composer 安装命令:
composer create-project kevachat/webapp
包简介
KevaChat Web Application
README 文档
README
KevaChat is distributed chat platform for open, uncensored and privacy respectable communication with permanent data storage in blockchain.
Tech
Instance require connection to the KevaCoin wallet, memcached server, clitor-is-protocol for multimedia support and Symfony for web interface.
Model
KevaChat following open wallet model, where community boost shared ballance for talks.
- In another way, node able to generate payment addresses to each message sent and charge commission for instance monetization.
- Also registered users have payment accounts where everyone able to boost their balance by donation
Administrators have flexible settings of access levels explained in the .env file: read-only rooms, connection and post limits, etc.
Communication
Everyone able to join the chat, post messages as ghosty or sign ownership by IP. Also users can explore remote rooms by namespaces if option enabled.
Basic social features like identicons, replies, mentions, RSS subscriptions etc are supported.
Protocol
KevaChat protocol following native KevaCoin's key/value model, where key optionally contain @username postfix and value - contain message.
All publications related to their room namespace.
Examples
http://[201:23b4:991a:634d:8359:4521:5576:15b7]/kevachat/- Yggdrasil instancehttp://kevachat.ygg- Alfis DNS alias
Install
apt install git composer memcached sqlite3 php-curl php-memcached php-sqlite3 php-mbstringgit clone https://github.com/kevachat/webapp.gitcd webappcomposer updatephp bin/console doctrine:schema:update --force* * * * * /usr/bin/wget -q --spider http://../crontab/pool > /dev/null 2>&1
Update
cd webappgit pullcomposer updatephp bin/console doctrine:migrations:migrateAPP_ENV=prod APP_DEBUG=0 php bin/console cache:clear
Setup
Application package contain settings preset, just few steps required to launch:
- Make sure
memcachedserver enabled - Setup KevaCoin server connection with
rpcuser/rpcpasswordin~/.kevacoin/kevacoin.conf - Copy
rpcusertoenv.APP_KEVACOIN_USERNAMEandrpcpasswordtoenv.APP_KEVACOIN_PASSWORD - Generate new address using CLI
kevacoin-cli getnewaddressand copy toenv.APP_KEVACOIN_BOOST_ADDRESS - Send few coins to this address and wait for new block to continue
- To allow users registration, create namespace
kevacoin-cli keva_namespace "_KEVACHAT_USERS_" - Create at least one room namespace with Web UI or CLI
kevacoin-cli keva_namespace "sandbox" - Optionally, provide namespace for default chat room at
env.APP_KEVACOIN_ROOM_NAMESPACE_DEFAULT(for homepage redirect)
Contribution
Project created by people for people: MIT License to use it for other needs e.g. new fork, chat instance or KevaCoin blockchain explorer.
Join the development and make your feedback!
See also
kevachat/webapp 适用场景与选型建议
kevachat/webapp 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 8 次下载、GitHub Stars 达 2, 最近一次更新时间为 2023 年 12 月 07 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 kevachat/webapp 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 kevachat/webapp 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 13
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-12-07