Giter Site home page Giter Site logo

keywar's Introduction

KeyWar

KeyWar is a twitch overlay displaying what you are typing, greatly inspired by Jessica's Mak one.

Live demo gif

This software works conjointly with the logkeys keylogger.

Passwords

Be extra cautious while you stream, you do not want to leak any password.

I have your back, just hit the menu keyboard key to toggle the password mode. In this mode, keywar displays question marks instead of the actual keys.

Getting Started

Keywar needs to be used in conjunction with a keylogger. You first need to install Logkeys. Depending on your Linux distribution, it could be pre-packaged or you could need to build it from the source.

Keywar will also need the GLFW library. This library is probably already packaged for your distribution somewhere.

Once installed, you need to add two lines to your shell configuration to make logkeys handy to use.

alias logUp="touch /tmp/keylogger.log && sudo logkeys --start --output /tmp/keylogger.log --no-timestamps"
alias logDown="sudo logkeys --kill && sudo rm /tmp/keylogger.log"

You can now use the logUp command to start the keylogger and the logDown command to stop it.

Note that we delete the log file after stopping the keylogger to avoid leaking data everywhere.

After building keywar (see Build section in this readme), you can launch it by typing

  keywar 

Usage

  keywar [options]
     [-l,--logFile <logFile>]  Logger output file, defaults to /tmp/keylogger.log.  

Building

You will need Haskell's Stack to build this project.

Once stack is installed, clone this git repository and type in it:

stack install

The executable will be generated in your ~/.local/bin directory. You probably want to add this directory to your PATH environment variable by adding the following line to your ~/.bashrc or ~/.zshrc

export PATH="~/.local/bin:${PATH}"

Bug / Feature Request

Just create a GitHub issue, we'll see what we can do.

PR welcomed!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.