Post by MarkKordusic

14aqJ2…oWGK Custodial · treechat

so as that was a lengthy reply il start from the top and work my way down haha

so ultimately all the coding was done in replit. i dont think iv seen anyone else do this as of yet but i have no doubt this will have inspired people to at least consider doing it. as much as im proud to claim this im more than happy to contribute or pass ideas to other creators here on @Treechat as ideas inspire ideas inspire ideas etc

but the basic rundown is firstly i asked chat gpt if it would even be possible at first and whether i would need access to the treechat api / CLI which of course i would but wasnt sure to quite the extent. i have prior experience with replit, val town and how to create discord bots so i was curious if i could do it. the code itself i dont really know so chatgpt gives me the code, i just know where to put on the replit shell. this was aided later on in this process by talking to @metamitya and asking more details about the CLI which meta thankfully was very helpful with even letting me know when he had pushed an update.

with regards to how many lines of code, i have now been awake well over 30 hours and have been cooonnssttantly back and forth editing and adding code so all in all thousands of lines lol and atm i have the main script constantly running on a tab on my laptop that scans my 5 most recent posts that contain Reply GM. i set up a new account - @Brooz_GM_Tip_Bot and programmed it so that whenever someone matches GM in a direct comment, the tip account automatically tips the user 27257 sats, limits payout to once per user per post for my 5 most recent Reply GM posts. each post is limited to 25 gm matches, at which point the 26th person would not be paid and the bot account would automatically send a message saying that the limit was reached but please feel free to find another reply gm post.

so the tip bot lives here on treechat, the coding that runs constantly is on a replit shell that i have open constantly on a tab on my laptop, and then i have the same main file open on my phone with a seperate blank shell open if i need to edit code.the next step is to make the bot standalone so i dont need to have a tab open but i want to make sure everything runs smoothly and im satisifed with it which im about 80-90% satisfied atm. by all means if someone wants to replicate it id almost encourage it. someone elses perspective on a similar idea might create a different result or make me think of a change, and id also wuite happily offer help or advice to help someone if they wanted my help.

at first one of the hardest things was to restrict it to once per user per post and only when it was a direct comment matching gm, and then when people such as @KURO said gm with an emoji it then prompted me to edit the code to allow for gm followed by an emoji.

my goals on this were pretty much two-fold:

1, to see if i could actually do it
2, this creates community funded satoshi tipping - assuming people upvote the original post so i can put sats back into the tip wallet
3, because i feel it could be a good way for artists or projects to get engagement and draw attention to their work.

hope this clears things up hahaha any more questions feel free

14aqJ2…oWGK Custodial · treechat

That is a beautiful response.
That is maybe the best written explanation and successful execution display of finished product of what i gather they call "vibe coding".
Until i saw this i still had some doubt in my mind about whether or not this vibe coding thing actually worked. Well here is proof it does. I havnt heard of relit but have heard of shell code.
Very kind of you to give such a detailed response considering how many hours this task took you.
You seem like an excellent person to work with. Thankyou for sharing all this and am sure others will find it as interesting as i have .

What the chain says
Block
965 628
Time
2026-09-06T21:44:42Z
Signer
14aqJ2hMtENYJVCJaekcrqi12fiZJzoWGK
App
treechat
Type
reply
Content type
text/markdown
Name in tx
MarkKordusic

Fields the transaction did not carry are omitted. Open the payload to see the bytes as stored.

Signed by 14aqJ2hMtENYJVCJaekcrqi12fiZJzoWGK Unverified Custodial