All Projects → TheAutodidacts → InternetTelegraph

TheAutodidacts / InternetTelegraph

Licence: other
Source code for the One-Button Internet Telegraph

Programming Languages

go
31211 projects - #10 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to InternetTelegraph

cmorse
A simple text to Morse code converter
Stars: ✭ 23 (+53.33%)
Mutual labels:  morse-code
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 (+260%)
Mutual labels:  morse-code
morse
Morse Code Library in Go
Stars: ✭ 75 (+400%)
Mutual labels:  morse-code
halp
Display a message in morse code on your capslock LED, keyboard backlight or using your screen brightness!
Stars: ✭ 25 (+66.67%)
Mutual labels:  morse-code
MorseCodeReceiver-UWP
💡 An UWP app which can translate the light sensor data into Morse code on mobile device.
Stars: ✭ 14 (-6.67%)
Mutual labels:  morse-code
morsemoji
Translate text to morse code, but the morse code is emojis
Stars: ✭ 48 (+220%)
Mutual labels:  morse-code
telegraph
Ruby gem to read and write Morse code
Stars: ✭ 14 (-6.67%)
Mutual labels:  morse-code
Hello-Morse-OpenCV
Morse Code detection with eyes using Computer Vision
Stars: ✭ 46 (+206.67%)
Mutual labels:  morse-code
kochmorse
A simple morse tutor using the Koch method.
Stars: ✭ 56 (+273.33%)
Mutual labels:  morse-code
attic
A collection of personal tiny tools - mirror of https://gitlab.com/hydrargyrum/attic
Stars: ✭ 17 (+13.33%)
Mutual labels:  morse-code

The One-Button Internet Telegraph

The easiest way to install the internet telegraph client is to use our pre-built SD card image: just download it from the releases page and follow the installation instructions in the build tutorial.

But some of you may way want to tinker with the code, or have already have Raspbian installed and configured, and want to run the telegraph from within your existing installation. If that sounds like you, read on!

Building the client from source

Install Golang for your platform. On Linux, you can do that with:

sudo apt install golang

Set the relevant environment variables with:

export GOOS=linux GOARCH=arm

go get the neccessary dependencies:

go get -u github.com/nsf/termbox-go
go get -u github.com/stianeikeland/go-rpio
go get -u golang.org/x/net/websocket

And build with:

go build -o internet-telegraph client.go

Installing the telegraph software

First, install Raspbian by following Raspberry Pi’s official installation instructions.

There are two ways to go from here: you can take the SD card out of your Pi and add the necessary files manually, or you can do the entire thing over SSH.

To install it on the SD card directly:

  1. Take the SD card out of your Pi and plug it into your SD card reader
  • Download the telegraph code from GitHub.
  • Build the telegraph client as described above, or download the prebuilt binary from the "releases" page.
  • Drag the internet telegraph binary (internet-telegraph) and the internet telegraph configuration file (config.json) into the root directory of your Pi.
  • Drag rc.local into the /etc directory, and replace the rc.local that is already there. (If you’ve customized your rc.local for other reasons, copy the relevant portions into your rc.local rather than overwriting it.)
  • Set up your Pi to connect to your wifi network by following the official instructions on raspberrypi.org
  • Eject your SD card, pop it back into your Pi, and boot it up!

To install the internet telegraph client over SSH:

  1. Drop a file called ssh (such as the one in this repository) into the boot partition of your SD card to enable SSH access.
  • Boot up your Pi and connect it to the internet
  • SSH into your Pi. You can use nmap (nmap 192.168.1.0/24) to find your Pi’s IP address, or try ssh [email protected].
  • Type in your Pi’s password (which you have hopefully changed from the default, "raspberry")
  • Download the telegraph code from GitHub.
  • Build the telegraph client for ARM, as described above, or download the prebuilt binary from the "releases" page and stick it in the same directory as the sourcecode.
  • Copy the files to your Pi over SSH with the following three commands:
cd ~/Downloads/internet-telegraph-master/

scp internet-telegraph config.json [email protected]:/

scp rc.local [email protected]:/etc

(replacing ~/Downloads/internet-telegraph-master with the path to your local copy of the internet telegraph code).

  • Test it manually with ./internet-telegraph
  • Reboot your Pi with sudo reboot
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].