Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tsplay.dev as "OSS Playground" replacement? #114

Open
orta opened this issue May 6, 2023 · 5 comments
Open

tsplay.dev as "OSS Playground" replacement? #114

orta opened this issue May 6, 2023 · 5 comments

Comments

@orta
Copy link
Collaborator

orta commented May 6, 2023

Hey there folks, I figure as there's three people on the credits - asking via issues might make more sense. The TypeScript team are starting to pull back on the playground and a bunch of web infra ( microsoft/TypeScript-Website#2804 ) and are moving in the direction of switching the playground to have a more limited scope as a vscode extension.

There's a lot of features which I think are generally useful as web infra for everyone, and so I've got pretty far into porting the full TypeScript playground to run as a separate open source project next.js app ( https://github.com/tsrepl/site ) and started to think a bit about where it should live and how to frame it.

When doing that, I wondered if it would make sense to instead join forces and have "tsplay.dev" as the place where that exists also. Judging on the URLs saved on tsplay, I think we can support URLs for both e.g.:

vs

As all the TS website URLs are root with queries or hashes, and tsplay are /XYZ

There's a bunch of positives, like we could integrate the URL shortcuts more tightly into the playground - but there's also downsides. I don't know how expensive it is to run tsplay, but I think this would make it more expensive (as it might get more traffic etc) and I'd like write access to this repo (or maybe make it an org?) and ideally vercel access

@gillchristian
Copy link
Owner

gillchristian commented May 8, 2023

Hey @orta, it's unfortunate that the official playground would be discontinued 😬

I think tsplay.dev can definitely be place for the new playground.

Regarding costs and administration, at the moment it only costs 5$ to host the DB. I hadn't moved the repo to a GitHub organization because that would result in extra costs since Vercel ins't free for organizations (but maybe they make exceptions for OSS projects?).

I sent you a friend request in Discord, we can discuss specifics there if that's ok with you.

UPDATE: I forgot about the domain, it's around 15$ a year to renew.

@leerob
Copy link

leerob commented May 10, 2023

Happy to chat through OSS sponsorships here 👍

@gillchristian
Copy link
Owner

@leerob awesome! We need a 2 member team, to be able to move the project to a GitHub organization.

I will send an email on we meet the criteria => https://vercel.com/guides/can-vercel-sponsor-my-open-source-project

@clearfram3
Copy link

I think this is great! How could I help?
I would need a hand with making pull requests etc, but can give a hand with Svelte and Postgres/Mongo/Sqlite. I will also dive into esBuild/Vite to make sure I can help there too.

@orta
Copy link
Collaborator Author

orta commented Jun 12, 2023

This one is on us I'm afraid, and so it takes as long as it takes, the TypeScript playground is a non-trivial JS app but that's mostly been sent over in #115 - we kinda need to figure out the API side (and the right UI to make that feel good)

@gillchristian gillchristian added this to the Full playground milestone Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants