from Hacker News

Show HN: Deco.cx – realtime TypeScript web editor

by lucis on 4/10/24, 11:30 AM with 34 comments

Hi, HN. Gui, Lucis, and the deco.cx team here — we're a bunch of Brazilians building an open-source, all-in-one web editor for the modern TypeScript dev. Check out our GitHub at https://github.com/deco-cx/deco and discover more at our site https://deco.cx/.

We built frontend tools at a hyper-growth e-commerce platform for 9 years. Deco.cx is the thing that we wish existed when we were managing hundreds of enterprise-grade React-based websites.

The gist is: JSX, HTMX, TypeScript, Tailwind and Deno. All visually editable in a beautiful, collaborative, REALTIME (!) admin UI. Great for devs, great for content.

In essence, we're a git-based TypeScript-first configuration management system. We take TypeScript code that represents your site, your entities, your UI, and we allow anyone to "save" configuration and content based on those types.

It's great for developers, because you can code directly on the web, or on your machine, and get instant feedback. You "export interface Props" and boom, an automatic form is generated. It's great for the business users, the content editors, because you just press "." (dot) in your keyboard and you go into a visual edit mode for the page you're at right now. Everything the developer exported in TypeScript is editable.

And when you hit "publish", it's already live, with a proper CDN, proper caching, everything already setup and just working. Ready to scale!

But you can't fly blind. We're democratizing pro-level tools for web analytics and observability by bundling in our Pro plan: fully-managed Plausible analytics and HyperDX observability. Check them out — these are great tools on their own, and they shine in the deco.cx platform bundle.

We don't want to be the only answer, we don't claim to be right about anything, we just want to make the friendly and accessible open-source tool that we wish existed when we were junior developers. If you want to participate, please join our discord community at https://deco.cx/discord

on open-source: our admin UI core is not ready for prime time, we're working to open-source it this year. but basically everything else, our integrations, templates and configuration management runtime are all open-source already! take a look at these: https://github.com/deco-cx/deco https://github.com/deco-cx/apps https://github.com/deco-sites/storefront Making the admin UI core extensible and open source is a MAIN OBJECTIVE for this year, so expect news here soon!

Thanks for your support!

  • by elliotbnvl on 4/10/24, 5:35 PM

    > Deco.cx is the frontend platform that bridges the gap between basic no-code site builders and complex full-code setups

    Is it possible to edit a site in both no-code editor and a full-code editor? Once you edit in the full-code editor, is it possible to continue editing in the no-code editor? Are changes from the full-code editor preserved in this case?

    The biggest challenge I have found in integrating no-code and full-code lies in preserving changes made in full-code mode when updates are made in no-code mode.

    Something something scroll hijacking.

    Also, would love to be able to pause the auto-scroll banner highlighting the various features ("Section Library", "No Code Editor", "Full Code Editor", etc.)

    Site looks awesome and modern, good stuff! In another life I would be very excited about this platform.

  • by khaosdoctor on 4/10/24, 7:18 PM

    This is AWESOME! I’ve been looking to find something like this for my pages for ages.

    The Deno core using TypeScript is the ABSOLUTE BEST mix ever. Loved the work you guys are doing. Hope you continue to disrupt even more!

  • by orphea on 4/10/24, 6:30 PM

    The page has extremely poor performance. Simply scrolling or moving the mouse cursor around loads Ryzen 7900 to 30% (it's a 12-core CPU!) Everything stutters.
  • by p2hari on 4/10/24, 12:47 PM

    oh man, are you folks for real!!! I just checked out the website, git and discord channels (I just joined in) and you are awesome. Open source core and so much more work on git. Bringing partytown to deno etc. etc. I don't see what you have planned on the pipeline, but integrating with other cms out there would be even more cool. Importing content from other cms etc. Great work and wishing you all success and will be using you more in my projects :)
  • by riffic on 4/10/24, 8:44 PM

    I would absolutely never launch something on the dot cx TLD it just reminds me of a certain something.
  • by gadr90 on 4/10/24, 3:56 PM

    BTW we're launching on Product Hunt today and we'd LOVE your support!
  • by atonse on 4/10/24, 6:56 PM

    I can't even scroll through this site to read what the product is.
  • by _akhe on 4/11/24, 4:01 PM

    This looks amazing, like a modern take on Dreamweaver or something. The low code IDE may soon return! The ability to switch between no-code/code is great for teaching people to code. Dreamweaver (and MySpace profiles) basically taught me CSS.
  • by n3storm on 4/10/24, 8:12 PM

    What does it mean pricing for "pageviews"? thanks in advance
  • by julienreszka on 4/10/24, 6:46 PM

    The homepage has terrible performance not a good first impression
  • by aitchnyu on 4/11/24, 8:05 AM

    I assumed headless meant "api only, without ui". Feels like the Nth time I've seen this paradox.