Show HN: A code editor that integrates into the browser

(tachicode.dev)

44 points | by quintu5 2 days ago ago

10 comments

  • solumos 2 days ago ago

    This is cool, I worked on something similar sort of thing over the winter, more focused on a local-first leetcode/coderpad, with a way to execute code in the browser using WebAssembly, and a way to share code over WebRTC

    https://codenow-mu.vercel.app/problems/0001-fizzbuzz

    • quintu5 2 days ago ago

      That's pretty slick! I've avoided digging into project management and code execution so far in order to keep the scope manageable.

      What does the process for adding support for additional wasm-capable languages look like?

      • solumos 2 days ago ago

        It's a pretty big lift. Python was somewhat easy with pyodide, but I couldn't get Java to work locally. There's a company called CheerpJ that can do it over an API though.

        https://pyodide.org/en/stable/ https://cheerpj.com/

        • quintu5 2 days ago ago

          I think if I was going to look into code execution in Tachi Code, it’d probably as part of a transformation into some sort of remote development experience rather than pursue wasm and all its complexities.

    • heygarrison 2 days ago ago

      Looks great!

  • mbildner 2 days ago ago

    Can confirm I use this and it's super convenient to have json payloads open right up in a useful editor

  • vadepaysa a day ago ago

    great idea! but I've had trouble getting it to work. Try this sample JSON here https://gist.github.com/sunilshenoy/23a3e7132c27d62599ba741b... and click on RAW. Tachi pops up but fails to show the json.

    I'll keep the extension installed for now, hoping you'll patch it.

    • quintu5 a day ago ago

      Thanks for trying it out!

      Loading that gist works for me on both Firefox and Chrome.

      You can submit a bug report on GitHub with more environment details, screenshots, and console logs (if available) and I might be able to take a closer look.

      https://github.com/tachi-code/tachi-code/issues/new?template...

      • vadepaysa 9 hours ago ago

        Alright! I found the issue. Its adblock interfering with some library donwloads. I disabled adblock and it works now. Thank You

        • quintu5 8 hours ago ago

          I’m glad you got it working.

          If you don’t mind, could you post the url(s) that got blocked? The only calls to non-extension urls should be GitHub.