ghost
54cbdc2451
|
12 months ago | |
---|---|---|
bin | 12 months ago | |
config | 12 months ago | |
public | 12 months ago | |
src | 12 months ago | |
templates/default | 12 months ago | |
translations | 12 months ago | |
.env | 12 months ago | |
.gitignore | 12 months ago | |
LICENSE | 12 months ago | |
README.md | 12 months ago | |
composer.json | 12 months ago |
README.md
KevaChat Web Application
KevaChat is distributed web chat platform for open, uncensored and privacy respectable communication with permanent database storage in blockchain.
Tech
Instance require connection to the Kevacoin wallet, memcached
server and Symfony for web interface.
Model
KevaChat following open wallet model, where community boost shared ballance for talks.
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
- is the timestamp@username
and value
- is message.
All messages related to their room namespaces
.
Install
Production
composer create-project kevachat/webapp KevaChat
Development
git clone https://github.com/kevachat/webapp.git KevaChat
cd KevaChat
composer install
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
- Create namespace for the chat room with
kevacoin-cli keva_namespace "sandbox"
and add it hash toenv
.APP_KEVACOIN_ROOM_NAMESPACES
- Also Provide at least one namespace for default chat room to
env
.APP_KEVACOIN_ROOM_NAMESPACE_DEFAULT
(for homepage redirects)
Contribution
Project created from people to people: MIT License to use it for other needs e.g. new chat instance or Kevacoin blockchain explorer.
Join the development and make your feedback!