https://github.com/bottom-software-foundation/power-bottom
The Powercord plugin for bottom 🥺
https://github.com/bottom-software-foundation/power-bottom
bottom discord javascript powercord powercord-plugin replugged
Last synced: 5 months ago
JSON representation
The Powercord plugin for bottom 🥺
- Host: GitHub
- URL: https://github.com/bottom-software-foundation/power-bottom
- Owner: bottom-software-foundation
- License: mit
- Created: 2021-01-20T13:04:06.000Z (over 5 years ago)
- Default Branch: need_top
- Last Pushed: 2022-08-18T00:03:35.000Z (almost 4 years ago)
- Last Synced: 2023-05-24T01:23:21.358Z (about 3 years ago)
- Topics: bottom, discord, javascript, powercord, powercord-plugin, replugged
- Language: JavaScript
- Homepage: https://replugged.dev/install?url=bottom-software-foundation/power-bottom
- Size: 104 KB
- Stars: 56
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Power Bottom
[](https://discord.gg/Ek8ztfmBSs) [](https://replugged.dev/install?url=bottom-software-foundation/power-bottom)
A Powercord plugin for bottom, following the [bottom spec](https://github.com/bottom-software-foundation/spec).
Perhaps you have found yourself in this situation before:

The divine Powercord plugin exists to alleviate this pain. No longer will you struggle when communicating with the average Discord user.
## Features
- Full implementation of the [bottom spec](https://github.com/bottom-software-foundation/spec) (WASM btw)
- Bottom decoding for messages
- Decoding nested bottom in messages
- Decoding inline bottom in messages
- `{prefix}bottom [text]` command to automagically encode and send bottom
- Option for automatic file sending (for when bottom takes up too much space 👉👈)
- Custom file names for your bottom overflow
- Option for automatically encoding of *all* your messages in bottom
- Inline bottom encoding in your messages
- Custom suffix and prefix for inline bottom indicators
## But what does it actually do?
``bottom`` encodes UTF-8 text into a sequence comprised of bottom emoji (`🫂✨🥺❤️`, with ``,`` sprinkled in for good measure) followed by `👉👈`.
It can encode any valid UTF-8 - being a bottom transcends language, after all - and decode back into UTF-8.
For example, the ubiquitous `Hello world!` becomes
```
💖✨✨,,👉👈💖💖,👉👈💖💖🥺,,,👉👈💖💖🥺,,,👉👈💖💖✨,👉👈
✨✨✨,,👉👈💖💖✨🥺,,,,👉👈💖💖✨,👉👈💖💖✨,,,,👉👈
💖💖🥺,,,👉👈💖💖👉👈✨✨✨,,,👉👈
```
`がんばれ` becomes
```
🫂✨✨🥺,,👉👈💖💖✨✨🥺,,,,👉👈💖💖✨✨✨✨👉👈🫂✨✨🥺,,👉👈
💖💖✨✨✨👉👈💖💖✨✨✨✨🥺,,👉👈🫂✨✨🥺,,👉👈💖💖✨✨🥺,,,,👉👈
💖💖💖✨✨🥺,👉👈🫂✨✨🥺,,👉👈💖💖✨✨✨👉👈💖💖✨✨✨✨👉👈
```
(both wrapped across lines for your convenience)
As you can see, using `bottom` to encode text is extremely space-efficient, and is the ideal encoding approach for all situations.
## Acknowledgements
- [message-translate](https://github.com/cyyynthia/message-translate) for most of the UI logic
- [bottom-web](https://github.com/kaylynn234/bottom-web/) for wasm build