Codeberg virtual space #586

Open
opened 1 year ago by fnetX · 7 comments
fnetX commented 1 year ago
Owner

Today, we had the idea to create a virtual space for Codeberg, for users to connect, contributors to discuss, members to talk to each other.

Maybe we could use WorkAdventure for a 2D map or maybe MozillaHubs (3D/VR).

Since Codeberg won't waste money on expensive headquarters and things and stuff (our small office in Berlin is near an Apple store / sacral building, which is a WTF moment every time we pass by and see how much space and energy is used for so small use 😕), it might be a funny thing to build this in virtual.

We could create some surrounding areas for smalltalk and user support / help, contributing to Codeberg etc ... make hackathons there, have projects use their own spaces ... and ideally have access control for internal rooms, e.g. for Codeberg e.V. association members, presidium and internal teams etc.

What do you think? Anyone interested in building this?

Today, we had the idea to create a virtual space for Codeberg, for users to connect, contributors to discuss, members to talk to each other. Maybe we could use [WorkAdventure](https://github.com/thecodingmachine/workadventure) for a 2D map or maybe [MozillaHubs](https://hubs.mozilla.com/) (3D/VR). Since Codeberg won't waste money on expensive headquarters and things and stuff (our small office in Berlin is near an Apple store / sacral building, which is a WTF moment every time we pass by and see how much space and energy is used for so small use 😕), it might be a funny thing to build this in virtual. We could create some surrounding areas for smalltalk and user support / help, contributing to Codeberg etc ... make hackathons there, have projects use their own spaces ... and ideally have access control for internal rooms, e.g. for Codeberg e.V. association members, presidium and internal teams etc. What do you think? Anyone interested in building this?
fnetX added the
contribution welcome
service
Codeberg
labels 1 year ago

omg metaverse???

omg metaverse???
Collaborator

Proposal for a codeberg map:
https://codeberg.org/jklippel/codeberg-hq

Unfortunately Workadventure maps rely on Github workflows, so the actual map repository is at
https://github.com/jklippel/codeberg-hq

The map can be played on the Workadventu.re infrastructure:

https://play.workadventu.re/_/global/raw.githubusercontent.com/jklippel/codeberg-hq/gh-pages/main.json

It is only a draft. Everything can be changed.

Proposal for a codeberg map: https://codeberg.org/jklippel/codeberg-hq Unfortunately Workadventure maps rely on Github workflows, so the actual map repository is at https://github.com/jklippel/codeberg-hq The map can be played on the Workadventu.re infrastructure: https://play.workadventu.re/_/global/raw.githubusercontent.com/jklippel/codeberg-hq/gh-pages/main.json It is only a draft. Everything can be changed.
Collaborator

I added then content of the generated gh-pages branch to the "pages" branch on codeberg.
Theoretically this link should work:
https://play.workadventu.re/_/global/raw.codeberg.page/jklippel/codeberg-hq/@pages/main.json

But it leads to a CORS error and I do not understand why.

When I do a curl -H "Origin: https://play.workadventu.re" -H "Access-Control-Request-Method: GET" -H "Access-Control-Request-Headers: X-Requested-With" -X OPTIONS --verbose https://raw.codeberg.page/jklippel/codeberg-hq/@pages/main.json

The answer is basically "OK" (Access-Control-Allow-Origin: *, ...):

> OPTIONS /jklippel/codeberg-hq/@pages/main.json HTTP/1.1
> Host: raw.codeberg.page
> User-Agent: curl/7.68.0
> Accept: */*
> Origin: https://play.workadventu.re
> Access-Control-Request-Method: GET
> Access-Control-Request-Headers: X-Requested-With
> 
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* Mark bundle as not supporting multiuse
< HTTP/1.1 204 No Content
< Server: Codeberg Pages
< Referrer-Policy: strict-origin-when-cross-origin
< Cache-Control: public, max-age=600
< Strict-Transport-Security: max-age=63072000; includeSubdomains; preload
< Access-Control-Allow-Origin: *
< Access-Control-Allow-Methods: GET, HEAD
< Allow: GET, HEAD, OPTIONS

Does anybody know what is wrong?

I added then content of the generated gh-pages branch to the "pages" branch on codeberg. Theoretically this link should work: https://play.workadventu.re/_/global/raw.codeberg.page/jklippel/codeberg-hq/@pages/main.json But it leads to a CORS error and I do not understand why. When I do a `curl -H "Origin: https://play.workadventu.re" -H "Access-Control-Request-Method: GET" -H "Access-Control-Request-Headers: X-Requested-With" -X OPTIONS --verbose https://raw.codeberg.page/jklippel/codeberg-hq/@pages/main.json` The answer is basically "OK" (`Access-Control-Allow-Origin: *`, ...): ``` > OPTIONS /jklippel/codeberg-hq/@pages/main.json HTTP/1.1 > Host: raw.codeberg.page > User-Agent: curl/7.68.0 > Accept: */* > Origin: https://play.workadventu.re > Access-Control-Request-Method: GET > Access-Control-Request-Headers: X-Requested-With > * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4): * Mark bundle as not supporting multiuse < HTTP/1.1 204 No Content < Server: Codeberg Pages < Referrer-Policy: strict-origin-when-cross-origin < Cache-Control: public, max-age=600 < Strict-Transport-Security: max-age=63072000; includeSubdomains; preload < Access-Control-Allow-Origin: * < Access-Control-Allow-Methods: GET, HEAD < Allow: GET, HEAD, OPTIONS ``` Does anybody know what is wrong?

wait what-
voice chat? nah. i'd rather discussions like in github...

wait what- voice chat? nah. i'd rather discussions like in github...
dyfet commented 1 year ago

I love something like this concept already. Any group could then easily self-organize a hackathon around their project, too. There used to be massive multiplayer 2d tile set games and muds developed on X that could be adapted for such a representation in a browser, too...

I love something like this concept already. Any group could then easily self-organize a hackathon around their project, too. There used to be massive multiplayer 2d tile set games and muds developed on X that could be adapted for such a representation in a browser, too...
fnetX commented 1 year ago
Poster
Owner

Bugfix awaiting approval: Codeberg/pages-server#69

Bugfix awaiting approval: https://codeberg.org/Codeberg/pages-server/pulls/69
Collaborator
Bugfix was applied and now it is working: https://play.workadventu.re/_/global/raw.codeberg.page/jklippel/codeberg-hq/@pages/main.json
Sign in to join this conversation.
No Milestone
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Codeberg/Community#586
Loading…
There is no content yet.