Discuss Scratch

MikeDEV
Scratcher
1000+ posts

CloudLink - A powerful websocket extension

showierdata9978 wrote:

Name of Server: (User-Friendly nickname of server, ShowierData-replet
Server URL: (Server URL/IP) wss/Showiers-CloudLink-Server.showierdata9978.repl.co
Optional: How long will the server be online: (Use “Always” or enter a certain amount of time) trying to get it online 24/7 already getting uptime robot pining it

I couldn't verify that the server is working, so this request has been temporarily denied.
showierdata9978
Scratcher
100+ posts

CloudLink - A powerful websocket extension

MikeDEV wrote:

showierdata9978 wrote:

Name of Server: (User-Friendly nickname of server, ShowierData-replet
Server URL: (Server URL/IP) wss/Showiers-CloudLink-Server.showierdata9978.repl.co
Optional: How long will the server be online: (Use “Always” or enter a certain amount of time) trying to get it online 24/7 already getting uptime robot pining it

I couldn't verify that the server is working, so this request has been temporarily denied.
its the same server that i was connecting to from github
showierdata9978
Scratcher
100+ posts

CloudLink - A powerful websocket extension

showierdata9978 wrote:

MikeDEV wrote:

showierdata9978 wrote:

Name of Server: (User-Friendly nickname of server, ShowierData-replet
Server URL: (Server URL/IP) wss/Showiers-CloudLink-Server.showierdata9978.repl.co
Optional: How long will the server be online: (Use “Always” or enter a certain amount of time) trying to get it online 24/7 already getting uptime robot pining it

I couldn't verify that the server is working, so this request has been temporarily denied.
its the same server that i was connecting to from github
also added u to the replit to start if you want
start it

Last edited by showierdata9978 (Nov. 11, 2021 17:13:41)

MikeDEV
Scratcher
1000+ posts

CloudLink - A powerful websocket extension

showierdata9978 wrote:

showierdata9978 wrote:

MikeDEV wrote:

showierdata9978 wrote:

Name of Server: (User-Friendly nickname of server, ShowierData-replet
Server URL: (Server URL/IP) wss/Showiers-CloudLink-Server.showierdata9978.repl.co
Optional: How long will the server be online: (Use “Always” or enter a certain amount of time) trying to get it online 24/7 already getting uptime robot pining it

I couldn't verify that the server is working, so this request has been temporarily denied.
its the same server that i was connecting to from github
also added u to the replit to start if you want
start it

your cl.py is not complete.
windowscj
Scratcher
100+ posts

CloudLink - A powerful websocket extension

How would I get scratch authentication on cloudlink
MikeDEV
Scratcher
1000+ posts

CloudLink - A powerful websocket extension

windowscj wrote:

How would I get scratch authentication on cloudlink

wip
celleron56
Scratcher
89 posts

CloudLink - A powerful websocket extension

is there any way to configurire the cloudlink server to store permanent data from one useraccount and not delete it (i mean like a couple of variables )
MikeDEV
Scratcher
1000+ posts

CloudLink - A powerful websocket extension

celleron56 wrote:

is there any way to configurire the cloudlink server to store permanent data from one useraccount and not delete it (i mean like a couple of variables )

You can write yourself a custom function to store userdata. I'm currently working on documentation to make this easier.
https://hackmd.io/G9q1kPqvQT6NrPobjjxSgg?both
MikeDEV
Scratcher
1000+ posts

CloudLink - A powerful websocket extension

I'm pleased to announce the second stable release of CloudLink 3.0.

There's better documentation, improved stability and performance, vulnerability patches, and more! Check it out here:
https://github.com/MikeDev101/cloudlink/releases/tag/3.0-stable2

Please note that there have been some severe changes under the hood and some python code may need to be modified to work with the new CloudLink release. PLEASE check the documentation for more information. If you operate a CloudLink server, I HIGHLY ADVISE updating it to the latest build, as I have mentioned it fixes bugs and patches vulnerabilities.

Last edited by MikeDEV (Dec. 5, 2021 04:39:59)

CST1229
Scratcher
1000+ posts

CloudLink - A powerful websocket extension

How would you update a fork of the repl without deleting and re-forking it?
MikeDEV
Scratcher
1000+ posts

CloudLink - A powerful websocket extension

CST1229 wrote:

How would you update a fork of the repl without deleting and re-forking it?

by hand
MikeDEV
Scratcher
1000+ posts

CloudLink - A powerful websocket extension

CloudLink Python 0.1.7.x has been published to GitHub and PyPi.

New features:
* Implement Trusted Access - You can now protect your server from unwanted clients and other pesky javascript programmers.
* Added an IP trace function.

Enhancements:
* Server callbacks for “on_connect”, and “on_close” will now return dictionaries representing WebSocket client memory objects.
* Server callback for “on_packet” will now support custom commands over the “direct” command.
* The “direct” command will support clients without a username (It will return a dictionary representing WebSocket client memory object instead of a username string).

Fixes:
* Fixed a bug where the “Global data” stream wouldn't sync when a client connects.

Update: Fixed a bug in the API that broke sending packets to all clients on a server.

Last edited by MikeDEV (Dec. 6, 2021 18:34:44)

celleron56
Scratcher
89 posts

CloudLink - A powerful websocket extension

i have a question can i configurire clouddisk to have a higher than 1 kbit limit per user (my raspberry pi based server (Its LAN only which means only i will use clouddisk on it ) has a storage of about 200 gigabits ) and is currently running WordPress and NSF because its seems like a waste to have 205 + gigs on a server that will use like 1.2 gigabite at most so i installed NSF to use it for backups of important programs i make (spoiler i have a project that i did not load to scratch and puplish yet ) ?
MikeDEV
Scratcher
1000+ posts

CloudLink - A powerful websocket extension

celleron56 wrote:

i have a question can i configurire clouddisk to have a higher than 1 kbit limit per user (my raspberry pi based server (Its LAN only which means only i will use clouddisk on it ) has a storage of about 200 gigabits ) and is currently running WordPress and NSF because its seems like a waste to have 205 + gigs on a server that will use like 1.2 gigabite at most so i installed NSF to use it for backups of important programs i make (spoiler i have a project that i did not load to scratch and puplish yet ) ?

Well, it's nothing more than a simple check. You can configure CloudLink to have larger packet limits, but you'll need to modify the source code yourself. https://github.com/MikeDev101/cloudlink/blob/master/cloudlink/cloudlink.py
OS_Cool_
Scratcher
100+ posts

CloudLink - A powerful websocket extension

How do I add cloudcoin and clouddisk to my project and my python code? I've only been able to work out how to add cloudlink
MikeDEV
Scratcher
1000+ posts

CloudLink - A powerful websocket extension

OS_Cool_ wrote:

How do I add cloudcoin and clouddisk to my project and my python code? I've only been able to work out how to add cloudlink

CloudCoin has never been complete, and CloudDisk was archived in Meower. You can fetch a copy of CD from the Meower repo's archives: https://github.com/meower-media-co/Meower/tree/main/archived/old-meower-server/SUITE
celleron56
Scratcher
89 posts

CloudLink - A powerful websocket extension

MikeDEV wrote:

celleron56 wrote:

is there any way to configurire the cloudlink server to store permanent data from one useraccount and not delete it (i mean like a couple of variables )

You can write yourself a custom function to store userdata. I'm currently working on documentation to make this easier.
https://hackmd.io/G9q1kPqvQT6NrPobjjxSgg?both
ok thank you for your help
theycallhermax
Scratcher
100+ posts

CloudLink - A powerful websocket extension

MikeDEV wrote:

Licensing

0BSD License
Copyright (C) 2020-2021 MikeDEV Software, Co.

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Terms of Service

Provided free-of-charge by MikeDEV Software, Co., The following below are to be considered illegal usage of CloudLink Services, including, but not limited to:
  • Storing, Saving, Transmitting, or causing to be transmitted information that is inappropriate, vulgar, illegal, pornographic, in violation of local copyright law, or is plagiarized.
  • Intentional waste of time and resources.
  • Intentional network congestion and DDoS attacking.
  • Hacking CloudLink services and/or its users.
  • Malicious modification of CloudLink source code.
  • Unrestricted/unfiltered live chats (exceptions can be made for external, non-shared projects).
  • Violating any rule of the Scratch Community Guidelines (Some rules are overridden in these TOS).
  • Sharing links to external pages not approved by the Scratch Team or by CloudLink / CloudLine Administrators.
  • While the following below are not considered “illegal usage” against ToS, MikeDEV Software, Co. strongly advises to refrain from the following, including, but not limited to:
  • Ignoring the golden rule (“Treat people the way you want to be treated”).
  • Sharing personal information (Real-world names, phone numbers, email addresses, house addresses, etc).
  • Sharing controversial, political, or any other topic of interest associated with a degree of malice.

Access to CloudLink Services is monitored by MikeDEV Software, Co. and, if needed, will remove any and all content in violation of these ToS, without prior warning.
You forgot this year's date.
SuperCooperHobbies
Scratcher
100+ posts

CloudLink - A powerful websocket extension

Hi, I am interested in potentially using this extension (once I'm am scratcher status of course). I have a couple of clarifying questions.

1. This extension would allow me to use the same cloud variable across multiple projects, right?
2. By using this extension, do I have to use a different scratch editor?
3. If I have to use a separate editor, does that mean viewers can't use it on the regular scratch website?

Thanks in advance!
tnix100
Scratcher
500+ posts

CloudLink - A powerful websocket extension

SuperCooperHobbies wrote:

Hi, I am interested in potentially using this extension (once I'm am scratcher status of course). I have a couple of clarifying questions.

1. This extension would allow me to use the same cloud variable across multiple projects, right?
2. By using this extension, do I have to use a different scratch editor?
3. If I have to use a separate editor, does that mean viewers can't use it on the regular scratch website?

Thanks in advance!
1. It's not really cloud variables, but yes you can use it across multiple projects if you want.
2. Yes you do, these ones will work: Turbowarp, E羊icques, and Adacraft. (you have to manually load CloudLink in Adacraft by going into the extensions menu)
3. No, projects with CloudLink will not work in the normal Scratch editor.

Also since this is outside of scratch.mit.edu, you don't actually need to be at scratcher status to use it

Powered by DjangoBB