Chost Renderer |
||
---|---|---|
2025 January 06 | ||
Current Mood: | The school starts again in the morning... | |
Now Playing: | Mydora | |
Woke up and spent this Friday morning finally making an offline tool for rendering post.json files from the cohost export data in a readable format. I was surprised I haven't heard anyone making something like this after cohost sent out everyone's export data, but I really needed one for transferring my niceRO chosts to my future niceRO blog (and also for the convenience of reposting some of my personal stuff from cohost to here).
As you can see on the screenshot, it's just a locally stored webpage with a couple of js functions and the marked library made by Christopher Jeffrey. It displays a post.json file in two ways: Editor View — basically a nice way to copy everything to some other place in the markdown form; and Rendered View — close to what a post would look like on cohost.
One thing that I didn't have time to do was to make sure CSS Crimes could be rendered correctly — and most of the times they didn't work when I tested the tool with some of my css crime posts. I also ignore any image or audio file attachment that is included in the post.json files, because that stuff was processed on the cohost side.
But!
The tool should be helpful for rendering most of the text posts with markdown, html, and emojis. It also renders the headline and the tags.
Let me know in the comments how it worked with your chosts if you decide to use it! ^-^
[Download from the Github repository]
#web tools #dev club
Comments