RealmTester1 is a python program by github.com/Qin2007 to simulate reddit conversations
to make a fake convo simply make a comments.yaml in the directory.
download python from python.org and make python
install requirements.txt (pip install -r requirements.txt or the path to that file)
note that this will need to set up a web server to localhost:8080. which is how the user interface is displayed. to actually see your realm conversation go to that domain
in the yaml configuration you write the exact convocation you want your characters to have (profile images not supported).
RealmTester: 0.0
post:
title: Hot takes?
subrealm: m/HotTakes
body: |
what are you guy's hot takes
author_id: Favicond
authors:
Favicond:
flair_text: ""
profile_image_url: https://ant.ractoc.com/dollmaker1/?bgcolor=%2300a8f3&fgcolor=%238cfffb&L=%23fff200&W=%23000000that is a basic example of what to write.
RealmTester: 0.0 is the version of the RealmTester script (does nothing)
post: is the main item you'll be writing under. the post sub-block has a few items ("keys")
title:is the post titlesubrealm:is basically the subreddit (RealmTester usesm/instead ofr/)body:is the post body. it supports markdown (be careful about html, it supports that too)author_id:an author under theauthors:sub-blockapproval_status:approval_status is either "approved" or "removed" or "none" (DEFAULT="none"), [true, false, null] works toois_moderator:iftrueit will show the mod badge (ADMIN is not supported)flair_text:is the post flair textdate:date is some numbers with a letter after it:Yfor years,Mfor months (not minutes),Dfor days,Hfor hours,ifor minutes, andsfor seconds
otherwise it can be a valid timestamp formattedYYYY-MM-DD
for example7i 5sis 7 minutes and 5 seconds agocurrent_user_vote:current_user_vote is either "up" or "down" or "none" (DEFAULT="none"), [true, false, null] works too. current user vote is how the votes are displayed, if itsupthen it will look like you upvotedvotes:(must be a valid number) is the score displayed, unaffected bycurrent_user_vote:
the main thing you'll be here for is
comments: each comment has the following keys (comments are very similar to posts)
body:is the comment body. it supports markdown.author_id:an author under theauthors:sub-blockis_moderator:iftrueit will show the mod badge (ADMIN is not supported)date:(currently not implemented) date is some numbers with a letter after it:Yfor years,Mfor months (not minutes),Dfor days,Hfor hours,ifor minutes, andsfor seconds
otherwise it can be a valid timestamp formattedYYYY-MM-DD
for example7i 5sis 7 minutes and 5 seconds agocurrent_user_vote:current_user_vote is either "up" or "down" or "none" (DEFAULT=" none"), [true, false, null] works too. current user vote is how the votes are displayed, if itsupthen it will look like you upvotedvotes:(must be a valid number) is the score displayed, unaffected bycurrent_user_vote:is_locked:(currently not implemented) whether a comment is locked (boolean)is_stickied:(currently not implemented) whether a comment is stickied, note that only top level comments can be stickied and only one. the first one will be stickied if there are multiple with this on (boolean)
have fun