Download the PHP package kevachat/webapp without Composer
On this page you can find all versions of the php package kevachat/webapp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package webapp
KevaChat - Chat in Blockchain
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-mbstring
git clone https://github.com/kevachat/webapp.git
cd webapp
composer update
php bin/console doctrine:schema:update --force
* * * * * /usr/bin/wget -q --spider http://../crontab/pool > /dev/null 2>&1
Update
cd webapp
git pull
composer update
php bin/console doctrine:migrations:migrate
APP_ENV=prod APP_DEBUG=0 php bin/console cache:clear
Setup
Application package contain settings preset, just few steps required to launch:
- Make sure
memcached
server enabled - Setup KevaCoin server connection with
rpcuser
/rpcpassword
in~/.kevacoin/kevacoin.conf
- Copy
rpcuser
toenv
.APP_KEVACOIN_USERNAME
andrpcpassword
toenv
.APP_KEVACOIN_PASSWORD
- Generate new address using CLI
kevacoin-cli getnewaddress
and 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
All versions of webapp with dependencies
ext-ctype Version *
ext-iconv Version *
clitor-is-protocol/kevacoin Version ^1.0
doctrine/doctrine-bundle Version ^2.11
doctrine/doctrine-migrations-bundle Version ^3.3
doctrine/orm Version ^3.0
kevachat/kevacoin Version dev-main
league/commonmark Version ^2.4
symfony/console Version 7.0.*
symfony/dotenv Version 7.0.*
symfony/flex Version ^2
symfony/framework-bundle Version 7.0.*
symfony/monolog-bundle Version ^3.10
symfony/runtime Version 7.0.*
symfony/translation Version 7.0.*
symfony/twig-bundle Version 7.0.*
symfony/yaml Version 7.0.*
twig/extra-bundle Version ^3.8
twig/intl-extra Version ^3.8
twig/markdown-extra Version ^3.8