Cohoard - Format Chatlogs for Cohost

eggbug is loading!
Import / Export Cohoard Data

You can import and export custom templates and Config Table values from here. Data is exported as a big JSON string. The saved format here may change in the future, although I will try to make this as backwards compatible as possible. Please note that importing overwrites your current saved templates and Config Table values!

A brief summary of the JSON data is follows, in case you want to edit it in a text editor:



  

Quick Start Guide

Cohoard is a tool for quickly and easily formatting chatlogs for posting on Cohost.

The Script

The Script contains the main content of your post. You can write messages in playscript format--that is, something like EGGBUG: i'm eggbug!. The name before the colon is called the key and is used in the Config Table.

EGGBUG: hi!
EGGBUG: these three messages are part of the same PostBlock
EGGBUG: because they are all from me!
BUGEGG: i am a new speaker,
BUGEGG: so my messages are in a new PostBlock
EGGBUG: yeah! and now this message will appear in its own PostBlock

The above conversation renders in the Discord template like so:

You can add extra styling to posts. For example, writing @ Some Time Here on its own line will set a timestamp for the posts. You can also use most Markdown features, like bolding, italices, codeblocks, and so on.

Config Table

The Config Table is a table of keys and values. Each row of the table describes how a person in the Script should be styled, and typically includes information like their username or avatar. The first column of the table is the "key", which should match with the keys in the script. This is typically an ALL CAPS name (like "EGGBUG") but does not have to be. The rest of the columns can be renamed to whatever keys that the template is expecting to have. Currently the two preset templates take the following keys.

Discord Template

Twitter Template

Pesterlog Template

17776 Template

Undertale Template

Wikipedia Template

This template ignores all of the Config Table values. Hence, you can just write text that begins with ARTICLE: and it will appear. Note that sup tags can be used to make "citations".

ChatGPT Template

corru.observer Template

The Preview Window

On the right side is the preview window. Any changes you make to the Script will automatically update the preview window. You can click on the button labeled "HTML" to switch to a raw HTML view of your post--this is the text that can be copy-pasted directly into a Cohost post.

You can use the Template Preset dropdown to switch between stored Templates, including custom Tepmlates you have made. To make a custom Template, choose "Create New Preset..." from the dropdown. Custom Templates can be edited using the "Edit Template" button and are saved in the browser's localStorage. You can also rename and delete custom templates.

Change Log

See here for a list of breaking changes to the template. Where possible, I try to keep old templates working, however there maybe cases where I cannot do this.

Contributing

If you have any bug reports, feature requests, or template suggestions, feel free to submit them on the Issues page of the Github repo.

Credits & Thanks