Skip to content

fdiblen/termshare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

termshare

Share your terminal history on web

Setup

0-Clone this repository

You can clone this repository using the command below(git needs to be installed).

git clone https://github.com/fdiblen/termshare.git

1-Bash shell

Add the following lines to your .bashrc

export HISTTIMEFORMAT="%s (%H:%M:%S):"
export HISTSIZE=1000000
export HISTFILESIZE=1000000
PROMPT_COMMAND='history -a'
shopt -s histappend
#export HISTFILE=~/.custom_file

2-Virtual environment

Create a virtual environment:

python3 -m venv venv

Activate the virtual environment:

. ./venv/bin/activate

3-Install dependencies

Install required Python packages:

pip install --upgrade pip pipenv
pipenv install

4-Start the server

The following command will start sharing your terminal history on port 80. To start the server, you will need admin rights (sudo).

sudo python server.py

About

Share your terminal history on web

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published