Discuss Scratch

god286
Scratcher
1000+ posts

MEOWCLIENT - an easy to use library

scratchusername40 wrote:

god286 wrote:

(#78)

NFlex23 wrote:

You should add setting profile pictures.
Yes I saw that post. And thank you @SansStudios for making that post.
I was originally going to put it in V2.3.0 but FormData isn’t supported in Node. I have looked on SO, there are 2 options
The first option is to use a library. But this many dependencies for a scratch library? A bit.. concerning.. if one dependency gone bye bye meowclient
The second option is that someone said URLSearchParams does the exact same thing. I haven’t fact checked it yet though
use axios, it's my go to solution for requests in node and i built my library with it. I'm pretty sure it supports formdata
Axios is a library and my codebase is already Fetch standard

meowclient
Typescript and ESM support
Kind-of good documentation
Easy to use
meowclient


                 _ ____  ___   __   
__ _ ___ __| |___ \( _ ) / /_
/ _` |/ _ \ / _` | __) / _ \| '_ \
| (_| | (_) | (_| |/ __/ (_) | (_) |
\__, |\___/ \__,_|_____\___/ \___/
|___/
^ inspired by @Chiroyce, made with figlet
SansStudios
Scratcher
500+ posts

MEOWCLIENT - an easy to use library

god286 wrote:

NFlex23 wrote:

You should add setting profile pictures.
Yes I saw that post. And thank you @SansStudios for making that post.
I was originally going to put it in V2.3.0 but FormData isn’t supported in Node. I have looked on SO, there are 2 options
The first option is to use a library. But this many dependencies for a scratch library? A bit.. concerning.. if one dependency gone bye bye meowclient
The second option is that someone said URLSearchParams does the exact same thing. I haven’t fact checked it yet though

np

You could always do the third option, which is just simply write a complete full-fledged parser for formdata
[this is sarcasm]

Last edited by SansStudios (May 17, 2022 02:59:13)


scratchcloud
Click above to check it out! I've worked on it for over a year!























Just like sudden sadness comes hangin' on the breeze
god286
Scratcher
1000+ posts

MEOWCLIENT - an easy to use library

@SansStudios OBVIOUSLY best option is to beg the Node people to add FormData

Will try to use URLSearchParams later and see if it does anything. I don't think it will work.

Last edited by god286 (May 17, 2022 03:08:45)


meowclient
Typescript and ESM support
Kind-of good documentation
Easy to use
meowclient


                 _ ____  ___   __   
__ _ ___ __| |___ \( _ ) / /_
/ _` |/ _ \ / _` | __) / _ \| '_ \
| (_| | (_) | (_| |/ __/ (_) | (_) |
\__, |\___/ \__,_|_____\___/ \___/
|___/
^ inspired by @Chiroyce, made with figlet
scratchusername40
Scratcher
1000+ posts

MEOWCLIENT - an easy to use library

god286 wrote:

(#81)

scratchusername40 wrote:

god286 wrote:

(#78)

NFlex23 wrote:

You should add setting profile pictures.
Yes I saw that post. And thank you @SansStudios for making that post.
I was originally going to put it in V2.3.0 but FormData isn’t supported in Node. I have looked on SO, there are 2 options
The first option is to use a library. But this many dependencies for a scratch library? A bit.. concerning.. if one dependency gone bye bye meowclient
The second option is that someone said URLSearchParams does the exact same thing. I haven’t fact checked it yet though
use axios, it's my go to solution for requests in node and i built my library with it. I'm pretty sure it supports formdata
Axios is a library and my codebase is already Fetch standard
whats wrong with using librarys
lolecksdeehaha
Scratcher
500+ posts

MEOWCLIENT - an easy to use library

scratchusername40 wrote:

god286 wrote:

(#81)

scratchusername40 wrote:

~snip~
Axios is a library and my codebase is already Fetch standard
whats wrong with using librarys
The thing is when you're making a library you want to use as few libraries as possible when making it. So, you make your own tools for that library, so it doesn't take long to install and it isn't some huge tree of dependencies.

Beep boop. I am a robot, and this action was performed automatically. If you have any concerns, please contact the owner of this robot.




please stop hitting my ribcage with a metal bar
uwv
Scratcher
100+ posts

MEOWCLIENT - an easy to use library

god286 wrote:

(#83)
@SansStudios OBVIOUSLY best option is to beg the Node people to add FormData

Will try to use URLSearchParams later and see if it does anything. I don't think it will work.
why not just use a library? form-data isn't going anywhere anytime soon plus you only need 2 libraries in total

i don't have issues i swear
god286
Scratcher
1000+ posts

MEOWCLIENT - an easy to use library

uwv wrote:

god286 wrote:

(#83)
@SansStudios OBVIOUSLY best option is to beg the Node people to add FormData

Will try to use URLSearchParams later and see if it does anything. I don't think it will work.
why not just use a library? form-data isn't going anywhere anytime soon plus you only need 2 libraries in total
OK. But so many dependencies scary

meowclient
Typescript and ESM support
Kind-of good documentation
Easy to use
meowclient


                 _ ____  ___   __   
__ _ ___ __| |___ \( _ ) / /_
/ _` |/ _ \ / _` | __) / _ \| '_ \
| (_| | (_) | (_| |/ __/ (_) | (_) |
\__, |\___/ \__,_|_____\___/ \___/
|___/
^ inspired by @Chiroyce, made with figlet
god286
Scratcher
1000+ posts

MEOWCLIENT - an easy to use library

lolecksdeehaha wrote:

god286 wrote:

lolecksdeehaha wrote:

~snip~
Even better hourly
Nah, decided to switch ideas. I'm making a Scratch CLI now.
Yes, and another thing I am going to go to now:

For this Scratch CLI you might need/want features such as love, favourite, follow and post comment. Should I add in these social actions to meowclient? It could be used by the trolling people and it is against the ToS, but it can have legitimate uses.

Ocular to vote, Thumbs Up if yes, Thumbs Down if no

Last edited by god286 (May 18, 2022 06:35:24)


meowclient
Typescript and ESM support
Kind-of good documentation
Easy to use
meowclient


                 _ ____  ___   __   
__ _ ___ __| |___ \( _ ) / /_
/ _` |/ _ \ / _` | __) / _ \| '_ \
| (_| | (_) | (_| |/ __/ (_) | (_) |
\__, |\___/ \__,_|_____\___/ \___/
|___/
^ inspired by @Chiroyce, made with figlet
scratchusername40
Scratcher
1000+ posts

MEOWCLIENT - an easy to use library

god286 wrote:

(#88)

lolecksdeehaha wrote:

god286 wrote:

lolecksdeehaha wrote:

~snip~
Even better hourly
Nah, decided to switch ideas. I'm making a Scratch CLI now.
Yes, and another thing I am going to go to now:

For this Scratch CLI you might need/want features such as love, favourite, follow and post comment. Should I add in these social actions to meowclient? It could be used by the trolling people and it is against the ToS, but it can have legitimate uses.

Ocular to vote, Thumbs Up if yes, Thumbs Down if no
it doesn't really matter because someone could just use another library like meow.js or a python library if they wanted. so you might as well add them in
lolecksdeehaha
Scratcher
500+ posts

MEOWCLIENT - an easy to use library

I don't need the social actions, as I can implement them myself, but if it's possible can you implement getting the current auth token? I need it to fetch messages and other actions.

edit: nvm it's already implemented (session.crsfToken)

Last edited by lolecksdeehaha (May 18, 2022 16:26:02)


Beep boop. I am a robot, and this action was performed automatically. If you have any concerns, please contact the owner of this robot.




please stop hitting my ribcage with a metal bar
lolecksdeehaha
Scratcher
500+ posts

MEOWCLIENT - an easy to use library

Actually, is it fine if we can collab on Scratch-CLI? I can't figure out how to fetch messages, even with a token.

Beep boop. I am a robot, and this action was performed automatically. If you have any concerns, please contact the owner of this robot.




please stop hitting my ribcage with a metal bar
god286
Scratcher
1000+ posts

MEOWCLIENT - an easy to use library

lolecksdeehaha wrote:

Actually, is it fine if we can collab on Scratch-CLI? I can't figure out how to fetch messages, even with a token.
Sure! Although I may not be the most active. We can discuss that on my profile

meowclient
Typescript and ESM support
Kind-of good documentation
Easy to use
meowclient


                 _ ____  ___   __   
__ _ ___ __| |___ \( _ ) / /_
/ _` |/ _ \ / _` | __) / _ \| '_ \
| (_| | (_) | (_| |/ __/ (_) | (_) |
\__, |\___/ \__,_|_____\___/ \___/
|___/
^ inspired by @Chiroyce, made with figlet
god286
Scratcher
1000+ posts

MEOWCLIENT - an easy to use library

IF YOU HAVE ANY BUGS
I would be grateful if you can please tell them here, I will do my best to fix them!!!!!!!!!!!!!!

meowclient
Typescript and ESM support
Kind-of good documentation
Easy to use
meowclient


                 _ ____  ___   __   
__ _ ___ __| |___ \( _ ) / /_
/ _` |/ _ \ / _` | __) / _ \| '_ \
| (_| | (_) | (_| |/ __/ (_) | (_) |
\__, |\___/ \__,_|_____\___/ \___/
|___/
^ inspired by @Chiroyce, made with figlet
PoIygon
Scratcher
1000+ posts

MEOWCLIENT - an easy to use library

god286 wrote:

IF YOU HAVE ANY BUGS
I would be grateful if you can please tell them here, I will do my best to fix them!!!!!!!!!!!!!!
I found a bug where I cannot do any social actions

god286
Scratcher
1000+ posts

MEOWCLIENT - an easy to use library

PoIygon wrote:

god286 wrote:

IF YOU HAVE ANY BUGS
I would be grateful if you can please tell them here, I will do my best to fix them!!!!!!!!!!!!!!
I found a bug where I cannot do any social actions
It's not a bug it's a feature

meowclient
Typescript and ESM support
Kind-of good documentation
Easy to use
meowclient


                 _ ____  ___   __   
__ _ ___ __| |___ \( _ ) / /_
/ _` |/ _ \ / _` | __) / _ \| '_ \
| (_| | (_) | (_| |/ __/ (_) | (_) |
\__, |\___/ \__,_|_____\___/ \___/
|___/
^ inspired by @Chiroyce, made with figlet
PoIygon
Scratcher
1000+ posts

MEOWCLIENT - an easy to use library

god286 wrote:

PoIygon wrote:

god286 wrote:

IF YOU HAVE ANY BUGS
I would be grateful if you can please tell them here, I will do my best to fix them!!!!!!!!!!!!!!
I found a bug where I cannot do any social actions
It's not a bug it's a feature
Oh yeah I forgor programmers can do that

god286
Scratcher
1000+ posts

MEOWCLIENT - an easy to use library

bump

meowclient
Typescript and ESM support
Kind-of good documentation
Easy to use
meowclient


                 _ ____  ___   __   
__ _ ___ __| |___ \( _ ) / /_
/ _` |/ _ \ / _` | __) / _ \| '_ \
| (_| | (_) | (_| |/ __/ (_) | (_) |
\__, |\___/ \__,_|_____\___/ \___/
|___/
^ inspired by @Chiroyce, made with figlet
god286
Scratcher
1000+ posts

MEOWCLIENT - an easy to use library

Automatic Scratch Auth code generator anyone??
Looks like the only way for this to be active is if I start adding in the social actions…

meowclient
Typescript and ESM support
Kind-of good documentation
Easy to use
meowclient


                 _ ____  ___   __   
__ _ ___ __| |___ \( _ ) / /_
/ _` |/ _ \ / _` | __) / _ \| '_ \
| (_| | (_) | (_| |/ __/ (_) | (_) |
\__, |\___/ \__,_|_____\___/ \___/
|___/
^ inspired by @Chiroyce, made with figlet
lolecksdeehaha
Scratcher
500+ posts

MEOWCLIENT - an easy to use library

god286 wrote:

Automatic Scratch Auth code generator anyone??
Looks like the only way for this to be active is if I start adding in the social actions…
tbh yeah

bump

Beep boop. I am a robot, and this action was performed automatically. If you have any concerns, please contact the owner of this robot.




please stop hitting my ribcage with a metal bar

Powered by DjangoBB

Standard | Mobile