Tag library

5 bookmarks have this tag.

2025-12-30

type INI struct {
  Properties []*Property `@@*`
  Sections   []*Section  `@@*`
}

type Section struct {
  Identifier string      `"[" @Ident "]"`
  Properties []*Property `@@*`
}

type Property struct {
  Key   string `@Ident "="`
  Value *Value `@@`
}

type Value struct {
  String *string  `  @String`
  Float *float64  `| @Float`
  Int    *int     `| @Int`
}
2054.

2024-09-02

  • Embeds all resources (e.g. CSS, image, JavaScript, etc) producing a single HTML5 document that is easy to store and share.

  • In case the submitted URL is not HTML (for example a PDF page), Obelisk will still save it as it is.

  • Downloading each assets are done concurrently, which make the archival process for a web page is quite fast.

  • Accepts cookies, useful for pages that need login or article behind paywall.

Might actually be a good choice for Betula archival. Might need to fork it, though.

1486.

2024-09-01

TIGR - the TIny GRaphics library for Windows, macOS, Linux, iOS and Android. - erkkah/tigr

1480.

2024-06-07

1297.

2024-04-20

package main

templ Hello(name string){
<div>Hello, { name }</div>
}

templ Greeting(person Person){
<div class="greeting">
@Hello(person.Name)
</div>
}
1230.