{"id":26454998,"url":"https://github.com/tinacious/link-server","last_synced_at":"2025-03-18T20:29:37.225Z","repository":{"id":282999990,"uuid":"950303781","full_name":"tinacious/link-server","owner":"tinacious","description":"🔗 A tiny command line app with no external dependencies for serving a file of links to help with testing deep links","archived":false,"fork":false,"pushed_at":"2025-03-18T04:20:40.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-18T04:25:31.176Z","etag":null,"topics":["cli","cli-app","deep-linking","deep-links","go","golang","server","static-server"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tinacious.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-18T00:30:38.000Z","updated_at":"2025-03-18T04:19:51.000Z","dependencies_parsed_at":"2025-03-18T04:35:35.493Z","dependency_job_id":null,"html_url":"https://github.com/tinacious/link-server","commit_stats":null,"previous_names":["tinacious/link-server"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinacious%2Flink-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinacious%2Flink-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinacious%2Flink-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinacious%2Flink-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tinacious","download_url":"https://codeload.github.com/tinacious/link-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244300854,"owners_count":20430829,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","cli-app","deep-linking","deep-links","go","golang","server","static-server"],"created_at":"2025-03-18T20:29:36.592Z","updated_at":"2025-03-18T20:29:37.200Z","avatar_url":"https://github.com/tinacious.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# link-server\n\n`link-server` is a simple command line app written in Go that serves each line of a text file as a collection of links\n\n- [Features](#features)\n- [Installation](#installation)\n  - [Install using Go](#install-using-go)\n  - [Install manually](#install-manually)\n- [Usage](#usage)\n  - [Links from file](#links-from-file)\n  - [Links from data piped from standard input](#links-from-data-piped-from-standard-input)\n  - [Custom port](#custom-port)\n- [Uninstall](#uninstall)\n\n\n## Features\n\n- No external dependencies are used. The project leverages native Go packages only.\n- No external runtime dependencies. Some CLI tools require you to have a specific version of Node.js, Python or another language, this does not.\n- Multi-platform: Thanks to Go, this works on macOS, Windows and Linux\n\n\u003ctable\u003e\n\u003ctr\u003e\n  \u003ctd\u003e\u003cimg src=\"screenshots/theme-light.png\" /\u003e\u003c/td\u003e\n  \u003ctd\u003e\u003cimg src=\"screenshots/theme-dark.png\" /\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n\n## Installation\n\n### Install using Go\n\nIf you have Go lang tooling installed, this is the way that is recommended since it will build the binary for your architecture and make it executable.\n\nInstall the CLI tool using `go install`:\n\n```sh\ngo install github.com/tinacious/link-server@latest\n```\n\n### Install manually\n\nGo to the [releases](https://github.com/tinacious/link-server/releases) page and download the appropriate release for your operating system and architecture.\n\nPut the file somewhere on your executables path, e.g. I use `~/.local/bin`.\n\nOn macOS, you will need to trust the executable after the first run attempt in your **System Preferences \u0026rarr; Privacy \u0026 Security** settings.\n\n\n## Usage\n\n### Links from file\n\nRun the `link-server` command with the path of the file with links on each line as the first and only argument:\n\n```sh\ncd test\nlink-server my-deep-links.txt\n```\n\nThis should serve the links on a random port.\n\n\n### Links from data piped from standard input\n\nYou can also pipe links to `link-server`, one link on each line. Here's an example that fetches links from an API endpoint and then pipes it to `link-server`:\n\n```sh\ncurl -s https://tinaciousdesign.com/api/technologies |\n  jq -r '\"https://tinaciousdesign.com/services/technologies/\" + .data[].slug' |\n  PORT=8621 link-server\n```\n\n\n### Custom port\n\nYou can configure the port by passing it as an environment variable. For example, to run on port 1337 run:\n\n```sh\nPORT=1337 link-server my-deep-links.txt\n```\n\n\n## Uninstall\n\nTo uninstall it, simply delete the executable `link-server`.\n\nIf you installed it with Go, you can navigate to either `$GOPATH/bin` (if your `$GOPATH` is defined) or  `~/go/bin` and delete it from there.\n\nIf you installed it manually, e.g. in `~/.local/bin`, delete it from there.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinacious%2Flink-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftinacious%2Flink-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinacious%2Flink-server/lists"}