The author introduces "Thinkserver," their personally developed web-based coding environment. Frustrated with existing cloud IDEs, they built Thinkserver to prioritize speed, minimal setup, and a persistent environment accessible from anywhere. Key features include a Rust backend, a Wasm-based terminal emulator, a SQLite database, and persistent storage. While currently focused on personal use for tasks like scripting and exploring ideas, the author shares the project hoping to inspire others and potentially open-source it in the future. It's emphasized as a work in progress, with planned features like VS Code integration, collaborative editing, and improved language support.
VS Code's remote SSH functionality can lead to unexpected and frustrating behavior due to its complex key management. The editor automatically adds keys to its internal SSH agent, potentially including keys you didn't intend to use for a particular connection. This often results in authentication failures, especially when using multiple keys for different servers. Even manually removing keys from the agent within VS Code doesn't reliably solve the issue because the editor might re-add them. The blog post recommends disabling VS Code's agent and using the system SSH agent instead for more predictable and manageable SSH connections.
HN users generally agree that VS Code's remote SSH behavior is confusing and frustrating. Several commenters point out that the "agent forwarding" option doesn't work as expected, leading to issues with key-based authentication. Some suggest the core problem stems from VS Code's reliance on its own SSH implementation instead of leveraging the system's SSH, causing conflicts and unexpected behavior. Workarounds like using the Remote - SSH: Kill VS Code Server on Host...
command or configuring VS Code to use the system SSH are mentioned, along with the observation that the VS Code team seems aware of the issues and is working on improvements. A few commenters share similar struggles with other IDEs and remote development tools, suggesting this isn't unique to VS Code.
Summary of Comments ( 41 )
https://news.ycombinator.com/item?id=42999655
Hacker News users discussed the practicality and security implications of Thinkserver, a web-based coding environment. Several commenters expressed concerns about trusting a third-party service with sensitive code and data, suggesting self-hosting as a more secure alternative. Others questioned the latency and offline capabilities compared to local development environments. Some praised the convenience and collaborative potential of Thinkserver, particularly for quick prototyping or collaborative coding, while acknowledging the potential drawbacks. The discussion also touched upon the performance and resource limitations of web-based IDEs, especially when dealing with larger projects. Several users mentioned existing cloud-based IDEs like Gitpod and Codespaces as potential alternatives.
The Hacker News post titled "Thinkserver: My web-based coding environment" has generated a number of comments discussing the project and related topics.
Several commenters express interest in the project and its potential. One user highlights the appeal of a self-hosted, web-based coding environment for its convenience and accessibility, especially when working on multiple machines. This user also mentions appreciation for the project's integration with Docker and the ability to customize the environment. Another commenter echoes this sentiment, emphasizing the value of a personalized, portable development setup.
A significant portion of the discussion revolves around comparing Thinkserver to similar existing solutions. Code-Server, a web-based VS Code implementation, is frequently mentioned, with some commenters suggesting it as a potential alternative. The author of the post acknowledges Code-Server and explains their motivation for creating Thinkserver, citing a desire for a lighter-weight and more customizable solution that aligns with their specific workflow. This sparked further discussion about the trade-offs between different approaches, with some users pointing out the potential benefits of leveraging existing mature projects like Code-Server.
The technical implementation details of Thinkserver also draw attention. One commenter inquires about the security considerations of exposing a development environment to the web, and the author clarifies that they primarily use Thinkserver on a local network or behind a VPN. Another user raises the question of resource usage, specifically regarding memory consumption.
Further discussion touches upon the broader trend of web-based development environments. Some commenters express skepticism about the viability of fully transitioning to browser-based coding, while others embrace the potential benefits of increased accessibility and collaboration. The conversation also branches into related topics such as containerization, remote development workflows, and the future of software development tools.
Finally, some users offer suggestions and feedback for the project, including potential features and improvements. These suggestions include exploring different editor options, enhancing collaboration capabilities, and providing more detailed documentation.