Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Meowclient - connect to Scratch with NodeJS
- god286
- Scratcher
1000+ posts
Meowclient - connect to Scratch with NodeJS
Axios is a library and my codebase is already Fetch standard(#78)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 formdatasetting profile pictures.Yes I saw that post. And thank you @SansStudios for making that post. You should add
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
Here are some of my followers!
I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.
- SansStudios
- Scratcher
1000+ posts
Meowclient - connect to Scratch with NodeJS
setting profile pictures.Yes I saw that post. And thank you @SansStudios for making that post. You should add
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 - connect to Scratch with NodeJS
@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.
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)
Here are some of my followers!
I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.
- scratchusername40
- Scratcher
1000+ posts
Meowclient - connect to Scratch with NodeJS
(#81)whats wrong with using librarysAxios is a library and my codebase is already Fetch standard(#78)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 formdatasetting profile pictures.Yes I saw that post. And thank you @SansStudios for making that post. You should add
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
- lolecksdeehaha
- Scratcher
1000+ posts
Meowclient - connect to Scratch with NodeJS
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.(#81)whats wrong with using librarysAxios is a library and my codebase is already Fetch standard ~snip~
Beep boop. I am a robot, and this action was performed automatically. If you have any concerns, please contact the owner of this robot.
ing season coming “soon”
I'm the founder of Forumoji, the source of all those neat forum emojis you occasionally see (the ones not in the default menu).
ing season coming “soon”
I'm the founder of Forumoji, the source of all those neat forum emojis you occasionally see (the ones not in the default menu).
- uwv
- Scratcher
1000+ posts
Meowclient - connect to Scratch with NodeJS
(#83)why not just use a library? form-data isn't going anywhere anytime soon plus you only need 2 libraries in total
@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.
i use arch linux (btw) with the linux zen kernel and enjoy writing silly things in silly languages using silly frameworks
- god286
- Scratcher
1000+ posts
Meowclient - connect to Scratch with NodeJS
OK. But so many dependencies scary(#83)why not just use a library? form-data isn't going anywhere anytime soon plus you only need 2 libraries in total
@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.
Here are some of my followers!
I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.
- god286
- Scratcher
1000+ posts
Meowclient - connect to Scratch with NodeJS
Yes, and another thing I am going to go to now:Nah, decided to switch ideas. I'm making a Scratch CLI now.Even better hourly ~snip~
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)
Here are some of my followers!
I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.
- scratchusername40
- Scratcher
1000+ posts
Meowclient - connect to Scratch with NodeJS
(#88)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 inYes, and another thing I am going to go to now:Nah, decided to switch ideas. I'm making a Scratch CLI now.Even better hourly ~snip~
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
- lolecksdeehaha
- Scratcher
1000+ posts
Meowclient - connect to Scratch with NodeJS
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)
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.
ing season coming “soon”
I'm the founder of Forumoji, the source of all those neat forum emojis you occasionally see (the ones not in the default menu).
ing season coming “soon”
I'm the founder of Forumoji, the source of all those neat forum emojis you occasionally see (the ones not in the default menu).
- lolecksdeehaha
- Scratcher
1000+ posts
Meowclient - connect to Scratch with NodeJS
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.
ing season coming “soon”
I'm the founder of Forumoji, the source of all those neat forum emojis you occasionally see (the ones not in the default menu).
ing season coming “soon”
I'm the founder of Forumoji, the source of all those neat forum emojis you occasionally see (the ones not in the default menu).
- god286
- Scratcher
1000+ posts
Meowclient - connect to Scratch with NodeJS
Sure! Although I may not be the most active. We can discuss that on my profile Actually, is it fine if we can collab on Scratch-CLI? I can't figure out how to fetch messages, even with a token.
Here are some of my followers!
I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.
- god286
- Scratcher
1000+ posts
Meowclient - connect to Scratch with NodeJS
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 would be grateful if you can please tell them here, I will do my best to fix them!!!!!!!!!!!!!!
Here are some of my followers!
I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.
- god286
- Scratcher
1000+ posts
Meowclient - connect to Scratch with NodeJS
It's not a bug it's a featureI found a bug where I cannot do any social actions IF YOU HAVE ANY BUGS
I would be grateful if you can please tell them here, I will do my best to fix them!!!!!!!!!!!!!!
Here are some of my followers!
I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.
- god286
- Scratcher
1000+ posts
Meowclient - connect to Scratch with NodeJS
bump
Here are some of my followers!
I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.
- god286
- Scratcher
1000+ posts
Meowclient - connect to Scratch with NodeJS
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…
Looks like the only way for this to be active is if I start adding in the social actions…
Here are some of my followers!
I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.
- lolecksdeehaha
- Scratcher
1000+ posts
Meowclient - connect to Scratch with NodeJS
tbh yeah 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…
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.
ing season coming “soon”
I'm the founder of Forumoji, the source of all those neat forum emojis you occasionally see (the ones not in the default menu).
ing season coming “soon”
I'm the founder of Forumoji, the source of all those neat forum emojis you occasionally see (the ones not in the default menu).
- god286
- Scratcher
1000+ posts
Meowclient - connect to Scratch with NodeJS
What do you think about the code being like this?
Or the normal way?
import { Session, Studio } from "meowclient"; const session = new Session(); await session.init("user", "pass"); const studio = new Studio(31590751, session); console.log(await studio.getCurators()); await studio.inviteCurator("god286");
Last edited by god286 (July 20, 2022 05:16:20)
Here are some of my followers!
I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.
- Discussion Forums
- » Advanced Topics
- » Meowclient - connect to Scratch with NodeJS