# Install tscriptify with Homebrew

Golang struct to TypeScript class/interface converter. Version 0.2.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:tscriptify
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install tscriptify
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:tscriptify
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/tscriptify>
- **Version:** 0.2.0
- **Source summary:** Golang struct to TypeScript class/interface converter
- **Homepage:** <https://github.com/tkrajina/typescriptify-golang-structs>
- **Repository:** <https://github.com/tkrajina/typescriptify-golang-structs>
- **Upstream docs:** <https://github.com/tkrajina/typescriptify-golang-structs#readme>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/tkrajina/typescriptify-golang-structs/archive/refs/tags/v0.2.0.tar.gz>
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- tscriptify (cli)
- tscriptify (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.2.0
- Local data: ok
- Upstream repository: https://github.com/tkrajina/typescriptify-golang-structs
- Upstream latest detected: v0.2.0 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

tscriptify is a small Go developer tool for generating TypeScript classes or interfaces from Go structs, especially structs whose JSON tags define API payload shapes.

### Project history

The project is published as tkrajina/typescriptify-golang-structs and describes itself as a Go JSON-to-TypeScript model converter. Its README documents both a command-line tool, installed with `go install github.com/tkrajina/typescriptify-golang-structs/tscriptify`, and a Go library package.

The official changelog records early 0.1.x work around custom types, enum generation, pointer handling, interface output, Go modules, packages with hyphens, TypeScript doc tags, and matrix testing. That history points to a focused utility maintained around practical Go-to-TypeScript model generation rather than a broad framework.

### Adoption history

Its package-manager footprint in this batch is Homebrew only, which fits the tool's niche: developers installing a small CLI when a Go backend and TypeScript frontend need matching model definitions.

### How it is used

The README's main CLI pattern is `tscriptify -package=... -target=... Model1 Model2`, with optional import strings and support for converting all structs in a Go file. It can also be embedded through the Go API by constructing a converter and writing generated models to a TypeScript file.

The converter relies on Go struct fields with JSON tags, supports class and interface style output, handles custom TypeScript snippets, and exposes command-line options for package, target, and backup directory.

### Why package nerds care

For package-manager users, tscriptify is the kind of narrow CLI that earns a formula because it removes build-step friction in polyglot Go and TypeScript projects. Its importance is practical rather than ecosystem-defining: install it, point it at backend structs, and keep frontend model definitions synchronized.

### Timeline

- 0.1.0: Changelog records simplified conversion, maps of objects, custom imports, pointer optional fields, and enum handling.
- 0.1.5: Changelog records Go module support and a JSON-to-TypeScript model shell-script example.
- 0.1.8-0.1.9: Changelog records TypeScript doc tags, handling fields without JSON tags, and matrix testing.

### Related projects

- The project sits in the Go code-generation family alongside tools that generate client models or API bindings from backend definitions, but its official documentation keeps the scope specifically to Go structs and TypeScript models.

### Sources

- <https://github.com/tkrajina/typescriptify-golang-structs#readme>
- <https://github.com/tkrajina/typescriptify-golang-structs/blob/master/CHANGELOG.md>
- source_facts.package-manager


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** tscriptify
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [json2ts](https://www.automicvault.com/pkg/brew/json2ts/) - Shares av.db curated category or tags: cli, code-generation, developer-tools, typescript.
- [tygo](https://www.automicvault.com/pkg/brew/tygo/) - Shares av.db curated category or tags: cli, code-generation, developer-tools, typescript.
- [autogen](https://www.automicvault.com/pkg/brew/autogen/) - Shares av.db curated category or tags: cli, code-generation, developer-tools.
- [configen](https://www.automicvault.com/pkg/brew/configen/) - Shares av.db curated category or tags: cli, code-generation, developer-tools.
- [counterfeiter](https://www.automicvault.com/pkg/brew/counterfeiter/) - Shares av.db curated category or tags: cli, code-generation, developer-tools.
- [cproto](https://www.automicvault.com/pkg/brew/cproto/) - Shares av.db curated category or tags: cli, code-generation, developer-tools.
- [crcany](https://www.automicvault.com/pkg/brew/crcany/) - Shares av.db curated category or tags: cli, code-generation, developer-tools.
- [create-api](https://www.automicvault.com/pkg/brew/create-api/) - Shares av.db curated category or tags: cli, code-generation, developer-tools.
- [prismic-ts-codegen](https://www.automicvault.com/pkg/npm/prismic-ts-codegen/) - Local package facts share a topical domain. Shared terms: cli, code, code-generation, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/tscriptify.yml](https://github.com/automic-vault/db/blob/main/combined/tscriptify.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
