Skip to content
@gost-dom

Gost DOM

Headless browser for Go

Gost-DOM - Headless browser for Go

Your go-to solution for a TDD workflow

About

This is the home of go-dom, a headless browser for Go build for testing web applications with JavaScript. It is specifically written with Go/HTMX in mind, a tech combination gaining in popularity.

This is created by me, Peter Strøiman, a software developer with 25+ years of experience in software development, primarily web development.

The project itself has spawned a few related side projects, all collected here under the gost-dom organisation.

Repositories

  • browser The browser itself
  • code-gen Code generator for code-dom
  • generators Generic Go code generation layer
  • webref Exposes Go structs representin web standards specifications

Many parts of the browser code can be generated from Web IDL specifications. The code-gen repository contains the code to generate browser code. The other two projects, generators and webref started as part of the code generator, but were extracted to separate projects as they could be useful on their own in other projects

generators contains code to help generate Go code. It is a layer on top of jennifer to provide an interface better designed for composition.

webref exposes web specs as native go types. It is based on data from github/w3c/webref

Looking for sponsors.

I am looking for sponsors, else I will have to abandon the project, to make time for paying work.

Github sponsors is not enabled for this organisation (yet), but I have sponsors enabled on my private profile.

Looking for contributors

This is a massive undertaking, and having people helping out t would be amazing.

Attribution

Logo is based on the Gopher mascot by Renee French and is licensed under the Creative Commons 4.0 Attribution License.

The artwork was based on an svg file by Takuya Ueda (https://twitter.com/tenntenn). Licensed under the Creative Commons 3.0 Attributions license. The svg was fetched from https://github.com/golang-samples/gopher-vector?tab=readme-ov-file

Popular repositories Loading

  1. browser browser Public

    Headless browser for Go for TDD workflows

    Go 93 3

  2. code-gen code-gen Public

    Code generator for the gost-dom browser

    Go

  3. webref webref Public

    Library for exposing web specifications in native Go types

    Go

  4. generators generators Public

    Go code generator library - build on top of jennifer

    Go

  5. .github .github Public

  6. css css Public

    Forked from ericchiang/css

    CSS Selectors for Go

    Go

Repositories

Showing 6 of 6 repositories
  • browser Public

    Headless browser for Go for TDD workflows

    gost-dom/browser’s past year of commit activity
    Go 93 MIT 3 23 (1 issue needs help) 0 Updated Feb 9, 2025
  • code-gen Public

    Code generator for the gost-dom browser

    gost-dom/code-gen’s past year of commit activity
    Go 0 MIT 0 0 0 Updated Feb 9, 2025
  • webref Public

    Library for exposing web specifications in native Go types

    gost-dom/webref’s past year of commit activity
    Go 0 MIT 0 0 0 Updated Feb 9, 2025
  • css Public Forked from ericchiang/css

    CSS Selectors for Go

    gost-dom/css’s past year of commit activity
    Go 0 MIT 21 0 0 Updated Jan 31, 2025
  • generators Public

    Go code generator library - build on top of jennifer

    gost-dom/generators’s past year of commit activity
    Go 0 MIT 0 0 0 Updated Jan 30, 2025
  • .github Public
    gost-dom/.github’s past year of commit activity
    0 0 0 0 Updated Jan 29, 2025

Top languages

Loading…

Most used topics

Loading…