Discuss Scratch

o97doge
Scratcher
500+ posts

LibreKitten - A mod of Scratch/TurboWarp with server-side execution support [Looking for contributors!]

LibreKitten - A mod of Scratch/TurboWarp with server-side execution support
LibreKitten is a Scratch/TurboWarp mod which its primary feature is server-side execution support, but it is also an experimentation ground to push the limits of block-based languages.
Please note LibreKitten is still in alpha, so blocks and features are subject to change.


or click here to try out LibreKitten.

Please share this mod with other Scratchers if you like it. It will help build a community around it!

Please say what you like or don't like, but remember to provide constructive criticism. You should be already be constructive on Scratch anyway.

FAQ:
What blocks does LibreKitten add?
LibreKitten adds blocks such as:
<is system dark mode on? :: #454545>
when @stopSign clicked :: hat events
switch (var) {
case [meow] {
say [meow]
break :: control cap
} :: control
} :: control
How do I run the server?
  1. Clone the LibreKitten VM using git.
  2. Install Node.js and pnpm. (if you haven't already.)
  3. Run "pnpm install --shamefully-hoist" in the terminal.
  4. Run “node /path/to/LibreKitten-vm/src/cli/server.js /path/to/Project.lb” in the terminal.
Can I contribute?
Please do contribute! I can't maintain this by myself. If there are any issues at the moment, please help us with them: https://codeberg.org/LibreKitten/LibreKitten-gui/issues. If you want to add a new feature or anything else, please make a pull request!

Useful links for contributing to LibreKitten:
Source code: https://codeberg.org/LibreKitten/
Join LibreKitten development: https://scratch-mit-edu.ezproxyberklee.flo.org/projects/1050320070/

Pspspsps! Like LibreKitten? Want to promote it? Add this badge to your signature.
[url=https://librekitten.org/][img]https:{remove this seperator including the brackets}//u.cubeupload.com/gl12/LibreKittenBadge.png[/img][/url]

Last edited by o97doge (Feb. 19, 2025 08:44:07)

Steve0Greatness
Scratcher
1000+ posts

LibreKitten - A mod of Scratch/TurboWarp with server-side execution support [Looking for contributors!]

Could you update librekitten to no longer link to the forums since it's no longer a thing? Also the Codeberg repos as well.
o97doge
Scratcher
500+ posts

LibreKitten - A mod of Scratch/TurboWarp with server-side execution support [Looking for contributors!]

Steve0Greatness wrote:

(#2)
Could you update librekitten to no longer link to the forums since it's no longer a thing? Also the Codeberg repos as well.
I'm going to do that once I'm able to.
o97doge
Scratcher
500+ posts

LibreKitten - A mod of Scratch/TurboWarp with server-side execution support [Looking for contributors!]

o97doge wrote:

(#3)

Steve0Greatness wrote:

(#2)
Could you update librekitten to no longer link to the forums since it's no longer a thing? Also the Codeberg repos as well.
I'm going to do that once I'm able to.
Done.
Edit: The website is borked, but my local build is working fine.
Edit 2: It seems like not the entire file is getting served… Ugh.
Edit 3: The file is getting served fully, but it's still borked.
Edit 4: For some reason it works fine if you use https://librekitten.org/editor, weird.
Edit 5: But it doesn't work if you append ?fps=0&hqpen&offscreen&limitless, I have came to the concusion that this is an issue on the web hoster's side.

Last edited by o97doge (July 27, 2024 04:55:37)

Lavthegreat
Scratcher
7 posts

LibreKitten - A mod of Scratch/TurboWarp with server-side execution support [Looking for contributors!]

what if…
What if it had uploading?
o97doge
Scratcher
500+ posts

LibreKitten - A mod of Scratch/TurboWarp with server-side execution support [Looking for contributors!]

Lavthegreat wrote:

(#5)
what if…
What if it had uploading?
Problem is, I don't know how to make an upload system while keeping it mentionable on Scratch.
o97doge
Scratcher
500+ posts

LibreKitten - A mod of Scratch/TurboWarp with server-side execution support [Looking for contributors!]

How to run a LibreKitten server instance:
  1. Clone the LibreKitten VM using git.
  2. Install Node.js and pnpm. (if you haven't already.)
  3. Run "pnpm install --shamefully-hoist".
  4. Run “node /path/to/LibreKitten-vm/src/cli/server.js /path/to/Project.lb” in the terminal.
Edit: It would be funny if someone made a public website using LibreKitten.

Last edited by o97doge (Feb. 18, 2025 06:41:12)

dumorando
Scratcher
100+ posts

LibreKitten - A mod of Scratch/TurboWarp with server-side execution support [Looking for contributors!]

o97doge wrote:

How to run a LibreKitten server instance:
  1. Clone the LibreKitten VM using git.
  2. Install Node.js and pnpm. (if you haven't already.)
  3. Run “pnpm install”.
  4. Run “node /path/to/LibreKitten-vm/src/cli/server.js /path/to/Project.lb” in the terminal.
Edit: It would be funny if someone made a public website using LibreKitten.
i'm gonna try


update: it works
now please make database blocks /j

Last edited by dumorando (July 27, 2024 20:09:17)

Mr_rudy
Scratcher
100+ posts

LibreKitten - A mod of Scratch/TurboWarp with server-side execution support [Looking for contributors!]

o97doge wrote:

Lavthegreat wrote:

(#5)
what if…
What if it had uploading?
Problem is, I don't know how to make an upload system while keeping it mentionable on Scratch.
you could make it have the exact same rules as scratch, but you would be very limited (i couldn't find the source, so just take this lightly)

Last edited by Mr_rudy (July 27, 2024 21:04:09)

o97doge
Scratcher
500+ posts

LibreKitten - A mod of Scratch/TurboWarp with server-side execution support [Looking for contributors!]

kookiree
Scratcher
1 post

LibreKitten - A mod of Scratch/TurboWarp with server-side execution support [Looking for contributors!]

Feedback: Make it seem like its own thing. Like make it unique to turbowarp and scratch. Maybe flip the screen? Change some blocks colors or size. Change some wording. Do you get what I mean.
dumorando
Scratcher
100+ posts

LibreKitten - A mod of Scratch/TurboWarp with server-side execution support [Looking for contributors!]

o97doge
Scratcher
500+ posts

LibreKitten - A mod of Scratch/TurboWarp with server-side execution support [Looking for contributors!]

dumorando wrote:

(#12)
-snip-
Canary IDE works for me.

Last edited by o97doge (July 28, 2024 22:51:00)

BigNate469
Scratcher
1000+ posts

LibreKitten - A mod of Scratch/TurboWarp with server-side execution support [Looking for contributors!]

Mr_rudy wrote:

o97doge wrote:

Lavthegreat wrote:

(#5)
what if…
What if it had uploading?
Problem is, I don't know how to make an upload system while keeping it mentionable on Scratch.
you could make it have the exact same rules as scratch, but you would be very limited (i couldn't find the source, so just take this lightly)
Even so, I doubt that the ST would allow mentioning it then, under the same logic behind why cloud chatrooms with moderation (that you provide, independently of the ST) are not allowed.

Last edited by BigNate469 (July 30, 2024 00:07:21)

dumorando
Scratcher
100+ posts

LibreKitten - A mod of Scratch/TurboWarp with server-side execution support [Looking for contributors!]

i modified some code to make a development server using
await window.vm.saveProjectSb3()
on the frontend and a ws server for the backend

heres a demo of it.

https://www.youtube.com/watch?v=9003P1ldwl0
o97doge
Scratcher
500+ posts

LibreKitten - A mod of Scratch/TurboWarp with server-side execution support [Looking for contributors!]

[deleted]

Last edited by o97doge (Aug. 9, 2024 06:14:15)

BigNate469
Scratcher
1000+ posts

LibreKitten - A mod of Scratch/TurboWarp with server-side execution support [Looking for contributors!]

When running JavaScript from the App Utilities extension, make it so that there is only one warning dialogue, when the first “execute JavaScript” block is called, because otherwise this can get fairly annoying when running a few blocks with JavaScript.
o97doge
Scratcher
500+ posts

LibreKitten - A mod of Scratch/TurboWarp with server-side execution support [Looking for contributors!]

BigNate469 wrote:

(#17)
When running JavaScript from the App Utilities extension, make it so that there is only one warning dialogue, when the first “execute JavaScript” block is called, because otherwise this can get fairly annoying when running a few blocks with JavaScript.
The JavaScript blocks are mainly meant for server and packager (when that's supported) environment (which it won't show you the warnings in those environments) and allowing you to bypass the dialogues would be a security risk, as what if the first executed JavaScript is a decoy and there's another JavaScript to be executed which is malicious? If we don't give users a chance to review it after the first dialogue, there could be security issues! Yikes!
BigNate469
Scratcher
1000+ posts

LibreKitten - A mod of Scratch/TurboWarp with server-side execution support [Looking for contributors!]

o97doge wrote:

BigNate469 wrote:

(#17)
When running JavaScript from the App Utilities extension, make it so that there is only one warning dialogue, when the first “execute JavaScript” block is called, because otherwise this can get fairly annoying when running a few blocks with JavaScript.
The JavaScript blocks are mainly meant for server and packager (when that's supported) environment (which it won't show you the warnings in those environments) and allowing you to bypass the dialogues would be a security risk, as what if the first executed JavaScript is a decoy and there's another JavaScript to be executed which is malicious? If we don't give users a chance to review it after the first dialogue, there could be security issues! Yikes!
Then you could allow users to optionally turn off warnings, and run it in a sandboxed environment that doesn't have access to any APIs.
2D4eter
Scratcher
100+ posts

LibreKitten - A mod of Scratch/TurboWarp with server-side execution support [Looking for contributors!]

The cat mascot looks smart

Powered by DjangoBB