Thinkserver: My web-based coding environment
51–60 of 68 posts
Re: Thinkserver: My web-based coding environment
#52This is awesome. I’ve also built a number of services for myself (Pinterest style photo hosting for archival/research purposes, analytics service for my websites, tracker for the books I’ve read, message board for micro communities I’m a part of, etc). I also share them with friends who express interest in them. The costs are minimal (they all run on a shared $4/mo instance + $10/yr domain per project) and I get to c…
What service are you using that's 4$/month? I've used the free tier of Render on the past which I enjoyed but the lowest paid plan is 20$/month.
https://lowendtalk.com/discussion/199617/hostbrr-bf-storage-...
Re: Thinkserver: My web-based coding environment
#53Earlier quoted context omitted.
> and I can just use vscode remote ssh or mutagen to live edit my websites What is old is new again :) Back when I started development, we did this via git remotes, and some projects even did what you created and created environments mapped from git remotes to apps running with subdomains (like Dokku is probably the first/most memorable FOSS service for this back in the day). And before that, I'm sure people were doi…
Yeah dokku is an inspiration! The main difference is that smallweb use deno instead of docker for sandboxing apps, and leverages url imports (which can be used to distribute complex apps like VS Code): ``` import { VSCode } from "jsr:@smallweb/vscode@0.1.7" const vscode = new VSCode({ rootDir: Deno.env.get("SMALLWEB_DIR") }); export default vscode; ``` You can play with a live instance of smallweb at https://demo.sma…
[0]: https://github.com/pomdtr/smallweb-vscode/blob/main/extensio...
[1]: https://github.com/gitpod-io/openvscode-server https://github.com/coder/code-server etc
Re: Thinkserver: My web-based coding environment
#54I've recently discovered the joys of vscode-server[0] for this type of use case. Which you can either serve as a WebApp direct from your machine, or tunnel in from another VSCode instance - including a webhosted version from Microsoft[1] I may not do that much coding these days, but I already have found it handy for when I forgot to do a Git push! Just log back in to the Web Environment and everything is how I left i…
There’s also code-server by Coder, which you can just run on your own server and open in browser directly. It’s also open source (most tunneling features in VSCode aren’t). https://github.com/coder/code-server There’s a one-click setup for it in Lunni, a Docker dashboard I’ve been working on (shameless plug): https://lunni.dev/
Re: Thinkserver: My web-based coding environment
#55Earlier quoted context omitted.
Yeah dokku is an inspiration! The main difference is that smallweb use deno instead of docker for sandboxing apps, and leverages url imports (which can be used to distribute complex apps like VS Code): ``` import { VSCode } from "jsr:@smallweb/vscode@0.1.7" const vscode = new VSCode({ rootDir: Deno.env.get("SMALLWEB_DIR") }); export default vscode; ``` You can play with a live instance of smallweb at https://demo.sma…
By "VSCode" here you mean something like a HTTP API for file read/write[0] that can be used from VSCode, I think? VSCode also can be made into a web app[1], but I don't see that happening here. [0]: https://github.com/pomdtr/smallweb-vscode/blob/main/extensio... [1]: https://github.com/gitpod-io/openvscode-server https://github.com/coder/code-server etc
You can play with it at https://vscode.demo.smallweb.live (the code is located in the `vscode` folder)
Re: Thinkserver: My web-based coding environment
#56Damn names...
Re: Thinkserver: My web-based coding environment
#57This looks fantastic, I'll make sure to try it! I've been working on a similar platform ( https://smallweb.run ), which allows me to host all my side projects from a single root folder. Each subfolder automatically becomes a subdomain, and I can just use vscode remote ssh or mutagen to live edit my websites.
`live edit my websites` This will only work if your websites are in vanilla javascript / html right ?
If you ever interacted with cloudflare workers or https://val.town, it is a similar experience.
Feel free to join our discord at https://discord.smallweb.run if you're curious !
Re: Thinkserver: My web-based coding environment
#58Earlier quoted context omitted.
Yeah dokku is an inspiration! The main difference is that smallweb use deno instead of docker for sandboxing apps, and leverages url imports (which can be used to distribute complex apps like VS Code): ``` import { VSCode } from "jsr:@smallweb/vscode@0.1.7" const vscode = new VSCode({ rootDir: Deno.env.get("SMALLWEB_DIR") }); export default vscode; ``` You can play with a live instance of smallweb at https://demo.sma…
> The main difference is that smallweb use deno instead of docker for sandboxing apps Yeah, a single-runtime (smallweb) instead of any language (dokku) + I'd probably say the avoidance of using git for the delivery would be the two biggest differences I can glance.
I want to "develop in prod", not rely on successives git pushes to see changes.
If I need semantic releases, I publish the dev version as a package on jsr, and I then import it from the "prod" app.
I still uses github as way to store my apps though, you can find them at https://github.smallweb.run
Re: Thinkserver: My web-based coding environment
#59This looks fantastic, I'll make sure to try it! I've been working on a similar platform ( https://smallweb.run ), which allows me to host all my side projects from a single root folder. Each subfolder automatically becomes a subdomain, and I can just use vscode remote ssh or mutagen to live edit my websites.
Re: Thinkserver: My web-based coding environment
#60This looks fantastic, I'll make sure to try it! I've been working on a similar platform ( https://smallweb.run ), which allows me to host all my side projects from a single root folder. Each subfolder automatically becomes a subdomain, and I can just use vscode remote ssh or mutagen to live edit my websites.
Very cool, very similar to SSHFS support on https://pico.sh/pgs and https://pico.sh/tuns
Ex: prose.sh is similar to https://jsr.io/@tayzendev/smallblog, an app created by a member of the smallweb community (we have a server at https://discord.smallweb.run). You can see it running from smallweb at https://blog.tayzen.dev
I even use the underlying lib ssh implementation of pico.sh in smallweb (https://github.com/picosh/pobj), and I plan to introduce a cloud service similar to their (you can subscribe to the waitlist at https://cloud.smallweb.run)