This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2007-04-17 21:09:12

stratolab
Scratcher
Registered: 2007-04-17
Posts: 11

My own sharing server

Is it possible for me to setup my own Scratch sharing server?

Offline

 

#2 2007-04-18 12:52:31

andresmh
Scratch Team at MIT
Registered: 2007-03-05
Posts: 1000+

Re: My own sharing server

Good question. There are two answers.

1. You can embed your project into another website by following these guidelines.

2. This website is powered by the ScratchR Platform which you will be able to download and run it on your own web server.

By the way, do you want to run your own server because of proxy issues in schools?

Thanks a lot for asking!


Andres Monroy-Hernandez | Scratch Team at the MIT Media Lab
on identi.ca and  twitter

Offline

 

#3 2007-05-01 11:55:12

stratolab
Scratcher
Registered: 2007-04-17
Posts: 11

Re: My own sharing server

1) The instructions to post projects on my website are great, thanks.
2) I want to build a community around my students work using Scratch, but also using Python, Comic Life, etc.  So I want all there work in one place rather than spread around on several websites.  Proxy servers are not an issue for me.

Regarding helping with the server, I would like to, but I doubt I will have time in the near future.  But I definitely want to congratulate you on Scratch.  It's changed the way I teach programming.

-Winston

Offline

 

#4 2007-05-11 18:41:56

stratolab
Scratcher
Registered: 2007-04-17
Posts: 11

Re: My own sharing server

How might I find out how to extract the name, comments, and thumbnail of games from a .SB file?

I'm writing a page that will automatically find *.sb file and load them as applets.  ( http://stratolab.com/misc/students/lab_spring_07/ ).  Right now I take screenshots manually and add them in as thumbnails.  It's quite tedious.  It looks like a thumbnail is encoded in the .SB file.  Can you give me any hints on how to get that out of the file, or will I have to reverse-engineer it?

-ww

Offline

 

#5 2007-05-17 16:43:26

hadbor
Scratcher
Registered: 2007-05-16
Posts: 2

Re: My own sharing server

Thank you. Regards   Hadbor

andresmh wrote:

Good question. There are two answers.

1. You can embed your project into another website by following these guidelines:
http://scratch.mit.edu/pages/embed

2. This website is powered by the ScratchR Platform which you will be able to download and run it on your own web server. We developed this platform with the goal of making it available to anyone under an open source-friendly license. Right now the code is not ready to be open sourced but if you are interested and want to help just let me know.

By the way, do you want to run your own server because of proxy issues in schools?

Thanks a lot for asking!

Offline

 

#6 2007-05-18 00:15:36

andresmh
Scratch Team at MIT
Registered: 2007-03-05
Posts: 1000+

Re: My own sharing server

stratolab: right now we do not have an easy way of extracting the thumbnail. The way it is working now is that Scratch sends the thumbnail along with the .sb file at the moment of uploading.

I think you could benefit from hosting the projects on our site and link them from your site. You can have the images and the .sb hosted here or even embed the projects on your page like others have done:
http://scratch.mit.edu/forums/viewtopic.php?id=258

If none of this work for you, I would suggest again to look at hosting a Scratch sharing server in-house. You can configure Scratch so that it uploads to your site not this site.


Andres Monroy-Hernandez | Scratch Team at the MIT Media Lab
on identi.ca and  twitter

Offline

 

#7 2007-05-18 15:24:48

stratolab
Scratcher
Registered: 2007-04-17
Posts: 11

Re: My own sharing server

Hi Andres-

I think you are right, I should look at the ScratchR sharing server.  How might I do that?

-Winston

Offline

 

#8 2007-05-21 16:32:32

andresmh
Scratch Team at MIT
Registered: 2007-03-05
Posts: 1000+

Re: My own sharing server

You need to have a machine with Apache, MySQL and PHP running. Once you have that please e-mail me at andresmh -at- media.mit.edu and I share the code.

I feel good and bad about  this. On one hand is great to see people running our sharing platform (which we call ScratchR), the original intent was to develop it so others will use it. On the other hand, it would be sad not to have your projects on this open website. We believe that an important part of Scratch is to be able to share and learn from others around the world, not just from a small closed community.

I imagine in the future we could implement a synchronization mechanism that would let other sharing servers automatically upload content to this website (scratch.mit.edu).

I would like to know your thoughts on all this.


Andres Monroy-Hernandez | Scratch Team at the MIT Media Lab
on identi.ca and  twitter

Offline

 

#9 2007-05-22 00:13:56

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: My own sharing server

Fix the gallery mechanism so that teachers can limit a gallery to just their own students and you'll find a lot more willingness for classes to use your server.

(Also, having a more explicit policy about plagiarism that doesn't just say "anything goes" might be more palatable to teachers who are fighting a losing battle against students who believe that copying stuff off the net is the same as writing it themselves.)

You've heard me ranting before about the ways in which the gallery metaphor is flawed---with owners of galleries having no control over content, so I won't repeat it here, but I think some of the impetus for other sharing servers is the desire to have some control over what stuff is posted.

Offline

 

#10 2007-05-22 13:23:34

pkimelma
Scratcher
Registered: 2007-04-10
Posts: 33

Re: My own sharing server

How might I find out how to extract the name, comments, and thumbnail of games from a .SB file?

I am thinking of throwing together a bit of PHP code to etxract the .sb file info (author, description, save history). Is that something that would be useful to others? It is a quite simple format at the top of the file. Although I suppose it could change in the future, the Scratch save version is stored, so you can determine that easily enough (it did not change between 1.0.0 and 1.0.2 for example.

Offline

 

#11 2007-05-24 14:50:33

stratolab
Scratcher
Registered: 2007-04-17
Posts: 11

Re: My own sharing server

Hi pkimelma-

Yes, I would love to see your code to extract the author and description.  Once I know that, I might be able to hack the thumbnail out too.  Although andresmh says the thumbnail is not in the file, I suspect it is because the word "thumbnail" is always there, and also when you click on a .sb in Scratch's open dialog, you see a preview.  I would suspect this preview is an image loaded quickly from the file rather than rerendered each time a file is selected.

-winston

Offline

 

#12 2007-05-24 19:14:22

andresmh
Scratch Team at MIT
Registered: 2007-03-05
Posts: 1000+

Re: My own sharing server

pkimelma: I think the PHP code will be extremely useful. If you make the PHP code available I would also use it to allow people to upload projects from the website itself. The Scratch .sb file does contain the thumbnail inside.


Andres Monroy-Hernandez | Scratch Team at the MIT Media Lab
on identi.ca and  twitter

Offline

 

#13 2007-07-12 14:04:17

Jacobo
Scratcher
Registered: 2007-06-15
Posts: 100+

Re: My own sharing server

For the instructions on how to make embed a game to your website. Whats a URL? wink

Last edited by Jacobo (2007-07-19 15:32:12)


"It's like deja vu all over again"
-Yogi Berra

Offline

 

#14 2007-07-12 16:14:53

paulmedwal
Scratcher
Registered: 2007-03-09
Posts: 100+

Re: My own sharing server

a url is the address that you type in to go to a website.

scratch.mit.edu and www.google.com are both URLs

Paulmedwal


clutter.scratch.mit.edu Visit the Clutter site to create multi-scene stories and multi-level games with Scratch.

Offline

 

#15 2007-07-19 15:26:03

Jacobo
Scratcher
Registered: 2007-06-15
Posts: 100+

Re: My own sharing server

So the URL I would add to embed the project would be the site I'm putting the project on?  hmm

Last edited by Jacobo (2007-07-19 15:28:55)


"It's like deja vu all over again"
-Yogi Berra

Offline

 

#16 2007-07-23 01:31:06

AngelEyra
Scratcher
Registered: 2007-07-19
Posts: 100+

Re: My own sharing server

How would one upload to an external ScratchR site?

eyra

Last edited by AngelEyra (2007-07-25 17:44:29)


AngelEyra's . MyScratchR . Blog
Think with portals
Sorry, Companion Cube... I didn't mean to...

Offline

 

#17 2007-07-25 04:39:37

komaruno
Scratcher
Registered: 2007-07-25
Posts: 5

Re: My own sharing server

www.gamebuilder.com

Offline

 

#18 2007-07-25 17:16:25

paulmedwal
Scratcher
Registered: 2007-03-09
Posts: 100+

Re: My own sharing server

AngelEyra, instructions for embedding an applet to your website can be found at http://scratch.mit.edu/pages/embed You still must upload your project to scratch.mit.edu but you can add the applet to your own page...btw, good job adding the text box to the flagging system

Jacobo, go to the page of the project that you want to add, then look at its URL. That is the url that you put in the applet.


clutter.scratch.mit.edu Visit the Clutter site to create multi-scene stories and multi-level games with Scratch.

Offline

 

#19 2007-07-25 17:32:24

AngelEyra
Scratcher
Registered: 2007-07-19
Posts: 100+

Re: My own sharing server

Thanks.

eyra


AngelEyra's . MyScratchR . Blog
Think with portals
Sorry, Companion Cube... I didn't mean to...

Offline

 

#20 2007-08-18 14:47:59

gosox5555
Scratcher
Registered: 2007-04-28
Posts: 22

Re: My own sharing server

Is it possible or leagle to upload a scratch project to google video?

Offline

 

#21 2007-08-18 14:50:07

AngelEyra
Scratcher
Registered: 2007-07-19
Posts: 100+

Re: My own sharing server

legal, yes. possible, no.

eyra


AngelEyra's . MyScratchR . Blog
Think with portals
Sorry, Companion Cube... I didn't mean to...

Offline

 

#22 2007-08-21 04:10:37

Bingo_324
Scratcher
Registered: 2007-05-20
Posts: 11

Re: My own sharing server

How about a server detection utility?

[blocks]<if><( <{ Server }> <=> www.stratolabs-server.com )>
<say[ Welcome to stratolab's server. ]>
<end>
<if><( <{ Server }> <=> scratch.mit.edu )>
<say[ Welcome to the Scratch web site. ]>
<end>[/blocks]

Last edited by Bingo_324 (2007-08-21 04:10:57)


~Bingo

TECH SUPPORT DESK: "Have you tried turning it off and turning it on again? Are you sure it's plugged in?"

Offline

 

#23 2007-09-29 12:06:14

Qwertymana
Scratcher
Registered: 2007-08-26
Posts: 1

Re: My own sharing server

i embedded it to here
http://www1.freewebs.com/monksarecool1/New%20Text%20Document.htm

Last edited by Qwertymana (2007-09-29 12:07:54)

Offline

 

#24 2007-09-30 22:36:51

andresmh
Scratch Team at MIT
Registered: 2007-03-05
Posts: 1000+

Re: My own sharing server

That is so cool. I hope more people are able to embed projects on their own websites.


Andres Monroy-Hernandez | Scratch Team at the MIT Media Lab
on identi.ca and  twitter

Offline

 

#25 2007-12-05 16:29:21

skylir
Scratcher
Registered: 2007-12-05
Posts: 1

Re: My own sharing server

How do you import a picture from the internet to make a costome or sprite?? Thanks, and I may have more qustions later by  wink  !!!

Offline

 

Board footer