{"id":22700298,"url":"https://github.com/tairasu/replace-from-sheets","last_synced_at":"2026-06-23T13:31:47.505Z","repository":{"id":203372008,"uuid":"606001061","full_name":"tairasu/replace-from-sheets","owner":"tairasu","description":"A simple Rust tool to replace words in a text file from any Google Spreadsheet","archived":false,"fork":false,"pushed_at":"2023-11-01T20:24:43.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-26T11:35:27.775Z","etag":null,"topics":["google-sheets","replace-text","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tairasu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-02-24T11:24:22.000Z","updated_at":"2024-05-07T00:43:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"67b92fee-a8e9-4b80-bab4-bbb2bab9e03f","html_url":"https://github.com/tairasu/replace-from-sheets","commit_stats":null,"previous_names":["aomizu/replace-from-sheets","tairasu/replace-from-sheets"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tairasu/replace-from-sheets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tairasu%2Freplace-from-sheets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tairasu%2Freplace-from-sheets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tairasu%2Freplace-from-sheets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tairasu%2Freplace-from-sheets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tairasu","download_url":"https://codeload.github.com/tairasu/replace-from-sheets/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tairasu%2Freplace-from-sheets/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34691710,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-23T02:00:07.161Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["google-sheets","replace-text","rust"],"created_at":"2024-12-10T06:10:54.598Z","updated_at":"2026-06-23T13:31:47.485Z","avatar_url":"https://github.com/tairasu.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# replace-from-sheets\nA simple Rust tool to replace words in a text file from any Google Spreadsheet.\nIt takes two columns in a Google Spreadsheet and uses them to replace words in any text file.\n\nFirst column: check which word should be replaced.\n\nSecond column: replacing word\n\n| Column A  | Column B |\n| ------------- | ------------- |\n| Aple  | Apple  |\n| Starwbery  | Strawberry  |\n\nWords on the same line will get replaced.\n\n**Having 2 or more words in a cell works too, but both cells need to have the same amount of words**\n\n## How to use\n\nInside the src folder there is a init.json file which needs to be edited to your own spreadsheet ID, your desired columns and your own API.\n\nThen navigate to the folder path in your terminal and type ```replace-from-sheets FILENAME.txt```\nThe text file you want to edit needs to be in the same folder.\n\n### Prerequisites\n\nTo build yourself you only need Rust. All Cargo dependencies will be downloaded on building.\n\nGet your own Google Spreadsheet API or any other Google API from any account. It doesn't matter which account you use. The API is only used to read the columns.\n\n**Example init.json**\n```\n{\n    \"spreadsheet_id\": \"1234567\",\n    \"column1\": \"Sheet1!A1:A\",\n    \"column2\": \"Sheet1!B1:B\",\n    \"api_key\": \"123abc123abc\"\n}\n```\n\n### Building\n\nNavigate to the root folder and enter\n```\ncargo build --release\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftairasu%2Freplace-from-sheets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftairasu%2Freplace-from-sheets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftairasu%2Freplace-from-sheets/lists"}