← Back to devlogs

Building a Web UI for OpenCode

UI/UX Astro React OpenSource

Introduction

OpenCode is a powerful platform, but it lacked a user-friendly web interface. In this post, I’ll share how I designed and built a new web UI from scratch.

The Stack

I chose the following technologies:

  • Astro: For performance and content-focused approach.
  • React: For interactive components where needed.
  • Tailwind CSS: For rapid styling.

Key Features

  1. Dashboard: A clean overview of your projects.
  2. Editor: A rich text editor for code and documentation.
  3. Collaboration: Real-time features for team work.

Challenges

Integrating the backend API with the new frontend presented some CORS issues, which we solved by setting up a transparent proxy.

Conclusion

The new UI has significantly improved user engagement. Give it a try!