Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://a2aaron.github.io/Cohoard/
Discord-to-Cohost compiler written in Rust using Tera
https://a2aaron.github.io/Cohoard/
Last synced: about 2 months ago
JSON representation
Discord-to-Cohost compiler written in Rust using Tera
- Host: GitHub
- URL: https://a2aaron.github.io/Cohoard/
- Owner: a2aaron
- License: apache-2.0
- Created: 2022-07-02T03:05:20.000Z (about 2 years ago)
- Default Branch: gh-pages
- Last Pushed: 2023-03-09T01:43:23.000Z (over 1 year ago)
- Last Synced: 2024-02-04T18:34:43.520Z (5 months ago)
- Language: HTML
- Size: 2.05 MB
- Stars: 13
- Watchers: 2
- Forks: 4
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Lists
- awesome-cohost - Cohoard - Format chatlogs for Cohost. (Post Generators)
README
# Cohoard - Post formatted chatlogs to Cohost!
[Cohoard](https://a2aaron.github.io/Cohoard/) is a tool for turning chatlogs into formatted posts on [Cohost](https://cohost.org/). You can use Cohoard to easily format your silly conversations like a Discord channel, an MSPA chatlog, and so on.
## Discord Template
Currently the only option available is the Discord template, which stylizes conversation as Discord chatlogs.
```
@ Today at 4:13 PM
AARON: you can write messages in play-script style
AARON: each line is considered it's own "message"
AARON: by default, messages are collapsed together, and the avatar + username only shows up once
@
AARON: however, the @ symbol, when used by itself on a newline, will break up a sequence of messages and force the avatar + username to display again.
@ Tomorrow at 6:12 AM
AARON: you can also use the @ symbol to set the timestamp of the message. This will also make the avatar + username show up again.
AARON: the timestamp text is freeform--feel free to write any time you like.
CASSIE: Also, other people can be mixed into the chat log seemlessly.
CASSIE: Finally, if you have a multi-line message
(That is to say, a single message that itself contains newlines),
you can simply write those out on their own line, with the "USERNAME:" header at the start.
Note that multi-line messages are rendered slightly closer together than seperate messages.
CASSIE: For example
CASSIE: these are farther apart
CASSIE: since these are seperate messages
CASSIE: While these lines
are closer together
since they're in the same message.
AARON: oh yeah! you can also *use normal markdown* ~~like you do in discord~~ **and it should hopefully just work**
CASSIE: (Right now, Discord-style underlines don't quite work yet, but you can use normal HTML tags instead.)
CASSIE: (The above line is written as `underlines`.)
```This produces the following result:
![The rendered result of the above chatlog, which is stylized as a Discord conversation](readme-images/discord_template.png)