{"id":19024636,"url":"https://github.com/yukihirop/sit","last_synced_at":"2026-04-29T22:30:16.610Z","repository":{"id":40410726,"uuid":"234574392","full_name":"yukihirop/sit","owner":"yukihirop","description":" the very very very stupid csv content tracker 🤧  Management for Sheet (ex: GoogleSpreadSheet) like git","archived":false,"fork":false,"pushed_at":"2023-12-15T05:41:44.000Z","size":1739,"stargazers_count":0,"open_issues_count":21,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-20T09:09:06.217Z","etag":null,"topics":["cli","csv","git","google-spreadsheet","googlespreadsheet","nodejs","sit"],"latest_commit_sha":null,"homepage":"https://yukihirop.github.io/sit","language":"JavaScript","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/yukihirop.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","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-01-17T15:15:31.000Z","updated_at":"2020-11-03T05:30:19.000Z","dependencies_parsed_at":"2024-11-08T20:45:36.124Z","dependency_job_id":"0bbc432a-d5e8-4d68-aed0-eed1f07aba44","html_url":"https://github.com/yukihirop/sit","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yukihirop%2Fsit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yukihirop%2Fsit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yukihirop%2Fsit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yukihirop%2Fsit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yukihirop","download_url":"https://codeload.github.com/yukihirop/sit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240072132,"owners_count":19743526,"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","csv","git","google-spreadsheet","googlespreadsheet","nodejs","sit"],"created_at":"2024-11-08T20:37:46.952Z","updated_at":"2026-04-29T22:30:16.570Z","avatar_url":"https://github.com/yukihirop.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sit\n\n[![npm version](https://badge.fury.io/js/%40yukihirop%2Fsit.svg)](https://badge.fury.io/js/%40yukihirop%2Fsit)\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)\n\nthe very very very stupid csv content tracker 🤧\n\nManagement for Sheet (ex: GoogleSpreadSheet) like git 😑\n\n## 📦 Installation\n\n```bash\nnpm install -g @yukihirop/sit\n```\n\n\n## 📖 Usage\n\n```bash\nsit -h\nUsage: sit [options] [command]\n\nsit cli\n\nOptions:\n  -V, --version                                     output the version number\n  -h, --help                                        output usage information\n\nCommands:\n  cat-file [options] \u003chash\u003e                         cat sit objects\n  hash-object [options] \u003cpath\u003e                      compute hash sit object\n  branch [options]                                  operate branch\n  checkout [options] [repository] [name]            checkout branch\n  status                                            status dist file\n  diff                                              diff dist file\n  commit [options]                                  commit dist file\n  push [options] \u003crepository\u003e \u003cbranch\u003e              push rows into Sheet\n  fetch [options] \u003crepository\u003e [branch]             fetch rows from Sheet\n  merge [options] [repository] [branch]             merge rows\n  clone [options] \u003crepository\u003e \u003curl\u003e                clone rows from sheet\n  browse-remote [repository]                        browse remote repository\n  config [options] \u003ckey\u003e \u003cvalue\u003e                    configure sitconfig\n  remote [options] \u003csubcommand\u003e \u003crepository\u003e [url]  set sitconfig\n  log [options]                                     Shows the commit logs\n  reflog                                            Shows the ref logs\n  show-ref                                          Show refs\n  rev-parse [options] [args]                        Many Sit porcelainish commands take mixture of flags\n  pull-request [options] \u003crepository\u003e \u003cargs\u003e        Create pull request in Sheet\n  init                                              create setting file (.sitsetting)\n  clasp                                             clasp cli\n  repo                                              repo cli\n  stash                                             stash cli\n```\n\n## ❤️ Support Sheets\n\n- GoogleSpreadSheet\n\n## 📕 Documents\n\nFull docs are available at https://yukihirop.github.io/sit\n\n## ⚙ .sitsetting\n\nThe configuration file called `.sitsetting` is a file that contains all settings.\n\n- Schema information file managed by GoogleSpreadSheet.\n- Authentication information for using GoogleSpreadSheetAPI.\n- Information such as output destination of deliverables.\n\n\nThe default settings are as follows:\n\n```yaml\n---\nversion: \"1.0.0\"\nsheet:\n  gss:\n    auth:\n      credPath: ./creds.json\n    openAPIV3Schema:\n      type: object\n      properties:\n        ja:\n          type: string\n          description: 日本語\n        en:\n          type: string\n          description: 英語\n        key:\n          type: string\n          description: キー\n    defaultWorksheet:\n      rowCount: 10000\n      colCount: 20\nrepo:\n  local: .sit\ndist:\n  path: ./dist\n  sheetName: \"master_data.csv\"\n```\n\n## Development Environment\n\n```bash\n$ node -v\nv12.13.0\n\n$ npm -v\n6.12.0\n\n$ yarn -v\n1.19.2\n```\n\n## 🤖 Environments Variables\n\n`sit` has environment variables to flexibly set the location of `local repositories` and\n`configuration file`, and environment variables required to access `GoogleSpreadSheet`.\n\n|name|content|default|\n|----|-------|-------|\n|SIT_DIR|Path to local repository|`.`|\n|SIT_SETTING_DIR|Path to `.sitsetting`|`.`|\n|SIT_GOOGLE_SERVICE_ACCOUNT_EMAIL|Google Service Account Email||\n|SIT_GOOGLE_PRIVATE_KEY|Google Private Key||\n\n## 📝 License\n\nThis package is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## 🤝 Contributing\n\n1. Fork it ( http://github.com/yukihirop/sit/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyukihirop%2Fsit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyukihirop%2Fsit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyukihirop%2Fsit/lists"}