The Gram Code Editor - 2026-07-24


  1. htmlnoob

    hi! thank you for making an ai-free editor! i have a decent grasp of html and css and was thrilled to find gram in my search to use a dedicated editor for website building. i was wondering if there was a way to see a preview of the website that im working on within gram. i did some searching to figure out how to do that and i think im looking to install or active a "live server"? how might one do that? please and thanks!

  2. nicoco

    htmlnoob: if you want "hot-reloading", ie, the preview to be updated live, there might be options in the javascript world. I would say it is overkill if you're just writing html and css yourself, you can just open the html file in a browser and hit refresh whenever you want to see what your changes did?

  3. nicoco

    Not that I don't recommend writing html directly, but many people use "static site generators" these days, like https://gohugo.io/ or https://getpelican.com/ (or fancier ones, or less fancier ones, there is a lot of choice), maybe you'll find them useful. The reason I mention SSG is that they often come with some "hot-reloading preview" stuff.

  4. htmlnoob

    i dont know javascript unfortunately. im an htmlnoob 😅. overkill maybe, but im asking if it is possible within gram for my needs. it seems like a simple feature that might just be out of reach for me to activate because i dont know what im doing. when opening an html file from my project folder in my usual web browser, it must not be taking into account my entire project folder because it doesnt load the css or images. it just loads the html for the singular page.

  5. nicoco

    the browser should be able to fetch the css and images if you use relative paths

  6. nicoco

    eg, if the html is in /home/htmlnoob/website/index.html, and the image is in `/home/htmlnoob/website/images/rickroll.png`, you need to use `<img src="./images/rickroll.png" />`. We're drifting off-topic a bit :)