https://github.com/emzi0767/simplybius
The nobleman's way to communicate while in emoji-only mode. 👑🔢
https://github.com/emzi0767/simplybius
decoding emoji encoding message polybius polybius-square python
Last synced: about 2 months ago
JSON representation
The nobleman's way to communicate while in emoji-only mode. 👑🔢
- Host: GitHub
- URL: https://github.com/emzi0767/simplybius
- Owner: Emzi0767
- License: apache-2.0
- Created: 2019-04-01T12:22:52.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-01T14:09:21.000Z (over 7 years ago)
- Last Synced: 2025-06-20T23:35:34.439Z (about 1 year ago)
- Topics: decoding, emoji, encoding, message, polybius, polybius-square, python
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE.TXT
Awesome Lists containing this project
README
# Simplybius
Made for 2019 April's Fools in Discord API for communicating while in Emoji-only mode.
Requires Python 2 or 3.
## Background
The tool is based off an ancient Greek cryptographic device known as [Polybius Square](https://en.wikipedia.org/wiki/Polybius_square).
The idea is that each letter is represented by a pair of coordinates on a 5x5 grid (see article). It's a simple
substitution cipher, where each letter is replaced with a two-digit number.
## Usage
You can encode or decode messages, from plain or Discord format. Clone the repo, navigate to the target directory, and
do the following:
### Encode: `python . encode message goes here`
Encodes a message and outputs polybius square coordinates.
```
$ python . encode test
44 15 43 44
```
### Decode: `python . decode coordinates go here`
Decodes coordinates and outputs original message.
```
$ python . decode 44 15 43 44
TEST
```
### Encode for Discord: `python . dencode message goes here`
Encodes a message and outputs discord emoji to paste.
```
$ python . dencode test
:four: :four: :one: :five: :four: :three: :four: :four:
```
### Decode from Discord: `python . ddecode emoji codes go here`
Decodes pasted emoji and outputs original message.
```
$ python . ddecode :four: :four: :one: :five: :four: :three: :four: :four:
TEST
```