Content
@
0 reply
0 recast
0 reaction
arfonzo
@arfonzo
[CASTBACK] This week in my spare time I've continued building castback, a /cli command line tool that backs up all of a user's farcaster casts, and enables searches. I built this because I found myself always trying to find *that old cast I made last month*. - Caches all casts from any FID to filesystem: no need to keep pulling data over API. Can easily update your backup with the most recent batch of casts only. - Searches and provides link to cast. - Uses @airstack.eth API, so users don't need a hub, just a free API key. (It took a while since we spoke first about it @betashop.eth but I did finally get around to building with the API, thanks!) I'll open source and release it once it's all done, but it's working well already! (Highly recommend checking airstack if you want to do farcaster dev quickly with minimal fuss! π)
27 replies
6 recasts
23 reactions
eggman π΅
@eggman.eth
God I love this I need a full fc client that runs in the terminal, and ascii-fys every image upload to boot 2000 $degen
4 replies
0 recast
3 reactions
Jerry-d ππ½π© β
@jerry-d
I love this too, but images in ascii mode are just alphanumerics - you wonβt be able to tell what the image was. Donβt get me wrong, this local backup idea is fantastic. I guess I have a question for @arfonzo - does the backup render the images in a window for viewing your backed up content?
2 replies
0 recast
2 reactions
arfonzo
@arfonzo
Backup images: castback only grabs the cast and metadata, so no raw images. Raw images are actually hosted on external servers, not on the blockchain. castback will backup links to images used in your casts, so you can simply access the URLs to load the images. I prefer to render with ANSI blocks (rather than ASCII) and most terminals support 24-bit colour palette, here's an example of 100% text output in a terminal, 120 chars wide, and 240 chars wide.
2 replies
0 recast
1 reaction
Jerry-d ππ½π© β
@jerry-d
Got it, and that makes complete sense. Yes ANSI > ASCII for that purpose. Regarding what you were saying earlier: βIβm always trying to find that cast I made a month agoβ¦β With your searchable results, when you find it, you (and those using your code) may want to quote cast that old cast. Could you devise a way to easily do this so the user could copy the URL and paste it into a cast theyβre making? This could be super useful for at least some of the Farcaster community. π«Άπ½ππ© 500 $DEGEN 100 $WILD π
3 replies
0 recast
1 reaction
arfonzo
@arfonzo
Thanks so much for the tip and your interest in castback! Appreciate it, frenpai! π Absolutely! In my terminals (Windows & Linux), hyperlinks are clickable, so they only need to click the link to go straight to the cast in a browser! Here's a sample search result below--look for the cyan hyperlink at the bottom! πππΊ If links aren't supported in your terminal, you can always just copy/paste the link into your browser. Great question. π₯
1 reply
0 recast
1 reaction
Jerry-d ππ½π© β
@jerry-d
I love it! Iβd be able to copy and paste into Supercast on my laptop to quote cast some old cast of mine π. Mobile users wouldnβt be able to use this though, right? Let me know if you need help testing your code!
2 replies
0 recast
1 reaction