{"id":15763690,"url":"https://github.com/haya14busa/offset","last_synced_at":"2025-05-05T16:13:25.513Z","repository":{"id":57510393,"uuid":"237736670","full_name":"haya14busa/offset","owner":"haya14busa","description":"get file position from offset","archived":false,"fork":false,"pushed_at":"2020-05-07T11:21:44.000Z","size":21,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-11T12:02:06.688Z","etag":null,"topics":["cli","go"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/haya14busa.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}},"created_at":"2020-02-02T07:45:22.000Z","updated_at":"2020-09-24T19:41:14.000Z","dependencies_parsed_at":"2022-09-26T17:50:54.669Z","dependency_job_id":null,"html_url":"https://github.com/haya14busa/offset","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haya14busa%2Foffset","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haya14busa%2Foffset/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haya14busa%2Foffset/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haya14busa%2Foffset/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haya14busa","download_url":"https://codeload.github.com/haya14busa/offset/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252531844,"owners_count":21763290,"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","go"],"created_at":"2024-10-04T12:00:45.637Z","updated_at":"2025-05-05T16:13:25.460Z","avatar_url":"https://github.com/haya14busa.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# offset - get file position from offset\n\n[![Go status](https://github.com/haya14busa/offset/workflows/Go/badge.svg)](https://github.com/haya14busa/offset/actions)\n[![GoDoc](https://godoc.org/github.com/haya14busa/offset?status.svg)](https://godoc.org/github.com/haya14busa/offset)\n\n## Usage\n\n```go\nimport \"github.com/haya14busa/offset\"\n```\n\n[![GoDoc](https://godoc.org/github.com/haya14busa/offset?status.svg)](https://godoc.org/github.com/haya14busa/offset)\n\n## CLI\n\n### Installation\n\n```shell\n# Go\n$ go get github.com/haya14busa/offset/cmd/offset\n```\n\n### offset -h\n\n```\nUsage: offset [FLAGS] [File]\n        Return position from given offset\nFlags:\n  -offset int\n        byte offset\n  -version\n        print version\n\nGitHub: https://github.com/haya14busa/offset\n```\n\n### Example\n\n```shell\n$ offset -offset 14 LICENSE\n{\"file\":\"LICENSE\",\"offset\":14,\"line\":3,\"column\":1}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaya14busa%2Foffset","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaya14busa%2Foffset","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaya14busa%2Foffset/lists"}