{"id":20005094,"url":"https://github.com/jozsefsallai/go-chie","last_synced_at":"2025-03-02T00:45:13.290Z","repository":{"id":96122220,"uuid":"263949535","full_name":"jozsefsallai/go-chie","owner":"jozsefsallai","description":"powerful encryption/decryption for cave story's tsc format using go","archived":false,"fork":false,"pushed_at":"2020-06-12T13:48:41.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-12T13:47:39.673Z","etag":null,"topics":["cave-story","decryption","encryption","golang","tsc"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/jozsefsallai.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":"2020-05-14T15:15:11.000Z","updated_at":"2020-11-26T12:21:17.000Z","dependencies_parsed_at":"2023-08-28T16:30:17.929Z","dependency_job_id":null,"html_url":"https://github.com/jozsefsallai/go-chie","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jozsefsallai%2Fgo-chie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jozsefsallai%2Fgo-chie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jozsefsallai%2Fgo-chie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jozsefsallai%2Fgo-chie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jozsefsallai","download_url":"https://codeload.github.com/jozsefsallai/go-chie/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241444056,"owners_count":19963751,"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":["cave-story","decryption","encryption","golang","tsc"],"created_at":"2024-11-13T05:37:58.181Z","updated_at":"2025-03-02T00:45:13.251Z","avatar_url":"https://github.com/jozsefsallai.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-chie\n\n`chie` is a Go port of the [chie Node.js library][1] which aims to be more\nperformant and cross-platform. It serves a decryption/encryption library and\ncommand-line tool for Cave Story's script file format (TSC).\n\n## Getting Started\n\n**Get the package:**\n\n```sh\ngo get -u github.com/jozsefsallai/go-chie\n```\n\n**Use it:**\n\n```go\npackage main\n\nimport \"github.com/jozsefsallai/go-chie\"\n\nfunc main() {\n  tsc := chie.NewTSCParser()\n\n  err := tsc.FromFile(\"./Ballo1.tsc\")\n  if err != nil {\n    panic(err)\n  }\n\n  err = tsc.Decrypt().ToFile(\"./Ballo1.txt\")\n  if err != nil {\n    panic(err)\n  }\n}\n```\n\n**Full docs and reference:** https://pkg.go.dev/github.com/jozsefsallai/go-chie\n\n## CLI\n\n`chie` also comes with a CLI. You can either [grab a release][2]* or install via\n`go get`:\n\n```sh\ngo get github.com/jozsefsallai/go-chie/cmd/chie\n```\n\n_*) if you do this, you might want to download it somewhere inside your PATH_\n\n**Usage:**\n\n```sh\nchie tsc decrypt Ballo1.tsc\n# will decrypt to output.txt\n\nchie tsc decrypt Ballo1.tsc -o Ballo1.txt\n# will decrypt to Ballo1.txt\n\nchie tsc encrypt Ballo1.txt\n# will encrypt to output.tsc\n\nchie tsc encrypt Ballo1.txt -o Ballo1.tsc\n# will encrypt to Ballo1.tsc\n```\n\nor decrypt/encrypt multiple files at once:\n\n```sh\nchie tsc decrypt \"Stage/*.tsc\" -o \"Stage/*.txt\"\n# will decrypt all files with the extension \".tsc\" in the Stage folder\n# the quotes are necessary\n```\n\nEncrypt while preserving comments:\n\n```sh\nchie tsc encrypt Ballo1.tsc -o Ballo1.txt --allow-comments\n# or\nchie tsc encrypt Ballo1.tsc -o Ballo1.txt -c\n```\n\n## License\n\nMIT.\n\n[1]: https://github.com/jozsefsallai/chie\n[2]: https://github.com/jozsefsallai/go-chie/releases/latest\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjozsefsallai%2Fgo-chie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjozsefsallai%2Fgo-chie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjozsefsallai%2Fgo-chie/lists"}