pseudo-chat offers unreal & likely chat with your friends
By reading your talk history, the new phony messages would be fabricated
-
Message is generated by simple markov chain algorithm
-
At this time, only adapt to Line app
-
Python 3.6+ (in latest ver., lib thread might not work well)
-
Ubuntu 18.04 LTS on WSL
-
create & activate virtualenv by e.g.
virtualenv env1 && source env1/bin/activatedefault env name is env1
(you can change in config.txt)
-
install python lib by
pip install -r requirements.txt -
make talk_histories & cache directory at root
-
export talk history from Line app
-
put the .txt in talk_histories/
-
put icon file in templates/ as you like
default icon filename is icon.png
(you can change in config.txt)
-
run run.sh by e.g.
bash run.sh AliceAs above, Alice corresponds to opponent's name in chat
-
push receive & send button
| Param | Desc |
|---|---|
| HOST | hosting |
| PORT | port number |
| ICON_FILENAME | filename for icon |
| VENV_DIR | name of virtualenv |
My .html & .css heavily refer to the following
https://github.com/nakox0706/3owebcreate/tree/chat_line_css/chat_line_css
