All Projects → MadhavJivrajani → halp

MadhavJivrajani / halp

Licence: Apache-2.0 license
Display a message in morse code on your capslock LED, keyboard backlight or using your screen brightness!

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to halp

Cs Video Courses
List of Computer Science courses with video lectures.
Stars: ✭ 27,209 (+108736%)
Mutual labels:  systems
morse
Morse Code Library in Go
Stars: ✭ 75 (+200%)
Mutual labels:  morse-code
Hello-Morse-OpenCV
Morse Code detection with eyes using Computer Vision
Stars: ✭ 46 (+84%)
Mutual labels:  morse-code
Illixr
ILLIXR: Illinois Extended Reality Testbed
Stars: ✭ 33 (+32%)
Mutual labels:  systems
Cmu 15 213 Intro To Computer Systems
CS 15-213: Introduction to Computer Systems in 2017 Spring, CMU
Stars: ✭ 121 (+384%)
Mutual labels:  systems
cmorse
A simple text to Morse code converter
Stars: ✭ 23 (-8%)
Mutual labels:  morse-code
Trigger
Trigger is a robust network automation toolkit written in Python that was designed for interfacing with network devices.
Stars: ✭ 521 (+1984%)
Mutual labels:  systems
morsemoji
Translate text to morse code, but the morse code is emojis
Stars: ✭ 48 (+92%)
Mutual labels:  morse-code
Signals And Systems Lecture
Continuous- and Discrete-Time Signals and Systems - Theory and Computational Examples
Stars: ✭ 166 (+564%)
Mutual labels:  systems
kochmorse
A simple morse tutor using the Koch method.
Stars: ✭ 56 (+124%)
Mutual labels:  morse-code
Virtual Assistant
A linux based Virtual assistant on Artificial Intelligence in C
Stars: ✭ 88 (+252%)
Mutual labels:  systems
Cybernetics Club
🔃 Cybernetics Reading Club
Stars: ✭ 113 (+352%)
Mutual labels:  systems
InternetTelegraph
Source code for the One-Button Internet Telegraph
Stars: ✭ 15 (-40%)
Mutual labels:  morse-code
Swift Win32
A Win32 application framework for Swift
Stars: ✭ 586 (+2244%)
Mutual labels:  systems
telegraph
Ruby gem to read and write Morse code
Stars: ✭ 14 (-44%)
Mutual labels:  morse-code
Surprise
A Python scikit for building and analyzing recommender systems
Stars: ✭ 5,151 (+20504%)
Mutual labels:  systems
52-Weeks-of-Pi
Inspired by Shekhar Gulati's "52 technologies in 2016", I've decided to set a goal of 52 Pi ideas over the next year.
Stars: ✭ 54 (+116%)
Mutual labels:  morse-code
MorseCodeReceiver-UWP
💡 An UWP app which can translate the light sensor data into Morse code on mobile device.
Stars: ✭ 14 (-44%)
Mutual labels:  morse-code
CS110Notes
1st time TAing for CS110 at Stanford: Principles of Computer Systems? - Stars are appreciated :)
Stars: ✭ 59 (+136%)
Mutual labels:  systems
attic
A collection of personal tiny tools - mirror of https://gitlab.com/hydrargyrum/attic
Stars: ✭ 17 (-32%)
Mutual labels:  morse-code

halp

halp is a command line utility that lets you display messages in morse code on your capslock LED, keyboard backlight (if you have it) or using your screen's brightness!

Note:

halp will only work if you're running Linux. The original purpose of developing this was to learn more about the concept of 'everyhting in linux is a file' and learn more about how permissions in linux work. The idea originated after watching this video.

Installation

Use the executable:

curl -sSL https://github.com/MadhavJivrajani/halp/releases/download/<tag>/halp --output halp
chmod +x halp
mv halp /usr/bin # to make the executable available system wide

Installation can also done using the go get command which will take care of installation of any libraries and dependencies nescessary. This will also install the halp executable which can be used anywhere in the termnial provided $GOPATH/bin is in your PATH.

go get -u github.com/MadhavJivrajani/halp

Or you can clone this repository and work directly with the halp executable!

git clone https://github.com/MadhavJivrajani/halp.git
cd halp
go build -o halp main.go
mv halp /usr/bin # to make the executable available system wide

Usage:

A verryyy normal and usual application built to help you send SoS messages.

The tool will by default switch off the LED before displaying the morse code
message and will restore it back to this initial state when the message finishes displaying

Syntax:
halp -m <message>

Usage:
  halp [flags]
  halp [command]

Available Commands:
  help        Help about any command
  reset       Reset the resource state to 'value'

Flags:
      --config string    config file (default is $HOME/.halp.yaml)
  -h, --help             help for halp
  -k, --keyboard         use keyboard backlight
  -m, --message string   message to diplay in morse code
  -p, --path string      /path/to/capslockLED (default "/sys/class/leds/input3::capslock")
  -s, --screen           use screen backlight

Use "halp [command] --help" for more information about a command.

Commands:

reset

It will default to a capslock LED path, you can try using the -s and the -k flags,
to reset to value for screen and keyborad resources respectively

Syntax:
halp reset [--keyboard][--screen][--path][--value]

Usage:
  halp reset [flags]

Flags:
  -h, --help          help for reset
  -k, --keyboard      reset keyboard backlight
  -p, --path string   /path/to/resource (default "/sys/class/leds/input3::capslock")
  -s, --screen        reset screen backlight
  -v, --value int     reset the resource to this value

Disclaimer

I am not responsible for anything going wrong with the system halp is run on, this is an educational project.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].