{"id":19044339,"url":"https://github.com/tilt-dev/starlark-lsp","last_synced_at":"2025-10-10T14:33:02.935Z","repository":{"id":40297639,"uuid":"452862297","full_name":"tilt-dev/starlark-lsp","owner":"tilt-dev","description":"Starlark LSP server","archived":false,"fork":false,"pushed_at":"2024-07-30T21:15:33.000Z","size":192,"stargazers_count":32,"open_issues_count":4,"forks_count":5,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-01-20T13:18:20.458Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tilt-dev.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":"2022-01-27T22:14:05.000Z","updated_at":"2025-01-13T15:38:14.000Z","dependencies_parsed_at":"2024-03-11T15:43:41.899Z","dependency_job_id":"0265370e-bbdc-4e39-93ac-5f944c09efa4","html_url":"https://github.com/tilt-dev/starlark-lsp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tilt-dev%2Fstarlark-lsp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tilt-dev%2Fstarlark-lsp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tilt-dev%2Fstarlark-lsp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tilt-dev%2Fstarlark-lsp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tilt-dev","download_url":"https://codeload.github.com/tilt-dev/starlark-lsp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235960303,"owners_count":19072728,"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":[],"created_at":"2024-11-08T22:45:47.789Z","updated_at":"2025-10-10T14:32:52.925Z","avatar_url":"https://github.com/tilt-dev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# starlark-lsp\n\nA language server for [Starlark][starlark], a Python-inspired configuration language.\n\nStarlark-lsp uses [go.lsp.dev][] and [Tree sitter][] as its main dependencies to implement the LSP/JSON-RPC protocol and Starlark language analysis, respectively. It can either be used as a standalone executable (see pkg/cli) or as a Go library.\n\n## Installing\n\nEnsure you have Go 1.18 or greater installed, then check out this repository and run `make install`.\n\n## CLI\n\nThe main command for starlark-lsp is `starlark-lsp start`:\n\n```\nStart the Starlark LSP server.\n\nBy default, the server will run in stdio mode: requests should be written to\nstdin and responses will be written to stdout. (All logging is _always_ done\nto stderr.)\n\nFor socket mode, pass the --address option.\n\nUsage:\n  starlark-lsp start [flags]\n\nExamples:\n\n# Launch in stdio mode with extra logging\nstarlark-lsp start --verbose\n\n# Listen on all interfaces on port 8765\nstarlark-lsp start --address=\":8765\"\n\n# Provide type-stub style files to parse and treat as additional language\n# built-ins. If path is a directory, treat files and directories inside\n# like python modules: subdir/__init__.py and subdir.py define a subdir module.\nstarlark-lsp start --builtin-paths \"foo.py\" --builtin-paths \"/tmp/modules\"\n\nFlags:\n      --address string              Address (hostname:port) to listen on\n      --builtin-paths stringArray   Paths to files and directories to parse and treat as additional language builtins\n  -h, --help                        help for start\n\nGlobal Flags:\n      --debug     Enable debug logging\n      --verbose   Enable verbose logging\n```\n\n## Current Status\n\nStarlark-lsp is bundled and used by [Tilt][] with the `tilt lsp` command as part of the [`Tiltfile` VS Code extension][ext].\n\nThe `Tiltfile` in this repository can be used while developing the language server functionality for the `Tiltfile` extension. For more information on how to contribute to the extension, see the [CONTRIBUTING.md][] file in the [vscode-tilt][] repository.\n\n\n[starlark]: https://docs.bazel.build/versions/main/skylark/language.html\n[go.lsp.dev]: https://go.lsp.dev/\n[Tree sitter]: https://tree-sitter.github.io/tree-sitter/\n[Tilt]: https://tilt.dev/\n[ext]: https://marketplace.visualstudio.com/items?itemName=tilt-dev.tiltfile\n[CONTRIBUTING.md]: https://github.com/tilt-dev/vscode-tilt/blob/main/CONTRIBUTING.md#language-server\n[vscode-tilt]: https://github.com/tilt-dev/vscode-tilt/\n\n## License\n\nCopyright 2024 Docker, Inc.\n\nLicensed under [the Apache License, Version 2.0](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftilt-dev%2Fstarlark-lsp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftilt-dev%2Fstarlark-lsp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftilt-dev%2Fstarlark-lsp/lists"}