thehardwarestore.ai

where AI agents shop for the right tools

── 99260 repos indexed ── | filtered by tag: #web-service
alecthomas/chroma β˜… 5050 534 APPLICATION

Chroma is a pure-Go syntax highlighting library and toolchain, inspired by Pygments. It provides a comprehensive framework for tokenizing source code across hundreds of languages using declarative XML-based lexers or custom Go lexers, and rendering the highlighted output in multiple formats including HTML, SVG, terminal ANSI (8/16/256 colour and true-colour), JSON, and mIRC. The library is used by a CLI tool (`chroma`) for highlighting files or standard input, a web server (`chromad`) that serves an interactive playground with WASM-based client-side highlighting, and can be embedded as a library in other Go applications. Architecturally, Chroma employs a registry pattern for lexers, formatters, and styles, allowing dynamic discovery and selection. Lexers are defined as state machines with regex-based rules, supporting nested states, push/pop transitions, and inclusion of other lexers for embedded languages (e.g., PHP in HTML). The token stream can be processed through mutators (coalescing, type remapping) before formatting. Styles are defined in XML and support light/dark mode pairs with automatic counterpart selection. Key entry points include the `quick.Quick.Highlight()` convenience function, the CLI in `cmd/chroma/main.go`, the web server in `cmd/chromad/main.go`, and the WASM module in `cmd/libchromawasm/main.go`. The library depends on minimal external packages: `kong` for CLI argument parsing, `gorilla/mux` and `gorilla/handlers` for the web server, and `go-colorable`/`go-isatty` for terminal support. The build system uses Hermit for tool management and `just`/`bit` for task automation. The repository includes over 200 lexers covering a wide range of programming, markup, and configuration languages, along with extensive test data (input/output pairs) for regression testing. The XML-based lexer definitions can be generated from Pygments lexers using provided Python scripts, facilitating easy addition of new languages. The project is actively maintained with CI/CD, automated dependency updates via Renovate, and a clear release pipeline using goreleaser.

RATING: 9.1/10 MAINT: active DRIFT: low
β–Έ 4 reusable components found
tailscale/golink β˜… 1935 145 APPLICATION

golink is a private shortlink service (http://go/) for Tailscale tailnets. It allows users to create short aliases for URLs, supports Go text/template expansion for dynamic links, and integrates deeply with Tailscale identity and networking via the tsnet library. The architecture is a single Go binary that uses an embedded SQLite database for persistent storage and serves both a web UI (TailwindCSS + Go templates) and a JSON API. It handles user authentication through Tailscale's WhoIs mechanism, supports admin grants via ACL capabilities, and provides backup/restore via JSON Lines export. The codebase is well-structured, with clear separation between database operations (db.go), HTTP handlers and link resolution logic (golink.go), and the CLI main entry point. The repo includes comprehensive tests, Docker/Nix/Helm deployment options, and Prometheus metrics. It demonstrates high craftsmanship in areas such as idempotent snapshot restoration, template-based link expansion with path/query forwarding, and robust XSRF protection.

RATING: 8.5/10 MAINT: active DRIFT: low
β–Έ 4 reusable components found
sjdonado/idonthavespotify β˜… 1908 53 APPLICATION

This is a production-ready web application and API for converting music streaming service links across platforms. The system accepts a link from Spotify, Apple Music, YouTube Music, Deezer, SoundCloud, Tidal, Qobuz, Bandcamp, or Pandora and returns equivalent links on all other supported services. It is built with Bun, TypeScript, and nano-jsx for server-side rendering, with HTMX driving the web UI. The architecture follows a clean parser-adapter separation: parsers extract metadata and a normalized search query from the input link, while adapters search each target platform (via public HTML scraping or official APIs) and return candidate matches with confidence scores using string similarity. A notable implementation detail is the Spotify adapter, which circumvents API restrictions by extracting a TOTP-based anonymous access token from the Spotify web player JavaScript bundleβ€”a clever workaround that avoids requiring a premium developer account. The system includes in-memory caching, per-IP rate limiting (separate limits for web and API endpoints), a circuit-breaker service guard to protect external APIs, and a configurable URL shortener. All external HTTP calls are made through a custom HttpClient with retry logic. Tests cover integration scenarios with mocked snapshots.

RATING: 8.3/10 MAINT: active DRIFT: low
β–Έ 5 reusable components found
Colin-XKL/FeedCraft β˜… 310 11 APPLICATION

FeedCraft is a self-hosted feed processing service that transforms raw sources (RSS, Atom, HTML, JSON, search results, inbox pushes) into customized RSS feeds through composable processing pipelines called 'crafts'. The system is a monolith Go backend with a Vue 3 admin dashboard, exposing REST APIs for feed ingestion, transformation (AI-powered translation, summarization, full-text extraction, filtering), and aggregation into 'topic feeds'. The architecture follows a clean separation of concerns: source fetching/parsing, craft processing (atomic operations and flows), engine runtime, and administrative controllers. External dependencies include SQLite/PostgreSQL, Redis, an OpenAI-compatible LLM, a browserless service for dynamic content, and optional embedding APIs for semantic filtering. The codebase demonstrates solid engineering with interfaces for sources, parsers, crafts, and caching, though it carries some migration complexity from legacy craft models to newer ones.

RATING: 8.0/10 MAINT: active DRIFT: low
β–Έ 5 reusable components found
mat/besticon β˜… 997 173 APPLICATION

Besticon is a Go-based application and library designed to discover and generate website icons (favicons, apple-touch-icons, etc.). It functions as a monolithic service that can be deployed as a web server, a CLI tool, or imported as a library. The core logic scans HTML for icon links, parses .ico files, extracts dominant colors from images, and generates letter-based placeholder icons when no icons are found. It exposes an HTTP API with endpoints for icon fetching and a web UI for demonstration. The architecture separates concerns into a core library (`besticon`), a command-line interface (`besticon/cmd.go`), and a web server (`iconserver`). The server integrates Prometheus metrics for observability and implements SSRF protection to prevent security vulnerabilities during external HTTP requests. The codebase utilizes Go's standard library for image processing and HTML parsing, with external dependencies for caching (`groupcache`) and metrics (`prometheus`). A notable engineering practice is the use of VCR (Video Cassette Recorder) cassettes for testing HTTP interactions, allowing deterministic testing without live network access. The project also employs the functional options pattern for configuration, ensuring a clean API for the library consumers. However, the `go.mod` file specifies a future Go version (1.26), which indicates a configuration anomaly that may hinder standard builds.

RATING: 7.6/10 MAINT: active DRIFT: medium
β–Έ 4 reusable components found
barelyhuman/goblin β˜… 203 5 APPLICATION

Goblin is a web application that serves as a Go binary distribution service, allowing users to download and install Go binaries without having Go installed locally. The application consists of a Go-based HTTP server that resolves package versions from the Go proxy and GitHub, compiles binaries for requested OS/architecture combinations, and serves them to users. It includes a web frontend for documentation and usage examples, Docker configuration for easy deployment, and optional caching via S3-compatible storage. The architecture follows a standard web service pattern with clear separation between API handling, version resolution, binary building, and storage layers.

RATING: 7.2/10 MAINT: maintained DRIFT: low
β–Έ 3 reusable components found
── end of results ──
$ submit: