{"id":19631298,"url":"https://github.com/kaledoux/flashcard_json_maker","last_synced_at":"2026-05-15T04:03:37.340Z","repository":{"id":214498135,"uuid":"464619696","full_name":"kaledoux/flashcard_json_maker","owner":"kaledoux","description":"Elixir program to simplify the creation of json formatted data used with bsyjpncards.org","archived":false,"fork":false,"pushed_at":"2022-03-14T22:12:47.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T21:13:35.267Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","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/kaledoux.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}},"created_at":"2022-02-28T19:40:40.000Z","updated_at":"2022-02-28T19:51:02.000Z","dependencies_parsed_at":"2023-12-28T15:49:01.809Z","dependency_job_id":null,"html_url":"https://github.com/kaledoux/flashcard_json_maker","commit_stats":null,"previous_names":["kaledoux/flashcard_json_maker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kaledoux/flashcard_json_maker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaledoux%2Fflashcard_json_maker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaledoux%2Fflashcard_json_maker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaledoux%2Fflashcard_json_maker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaledoux%2Fflashcard_json_maker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kaledoux","download_url":"https://codeload.github.com/kaledoux/flashcard_json_maker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaledoux%2Fflashcard_json_maker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33053144,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-15T02:00:06.351Z","response_time":103,"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":[],"created_at":"2024-11-11T12:08:37.905Z","updated_at":"2026-05-15T04:03:37.322Z","avatar_url":"https://github.com/kaledoux.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FlashcardJsonMaker\n## Summary\nA simple application for quickly adding more flashcard data to an exiting JSON data file; this was built with the [flashcard app](https://github.com/EdgeCaseBerg/bsyjpncards.org) by EdgeCaseBerg in mind, specifically.\n\nThis app will read a source JSON file and a source CSV file with flashcard additions, and create a new temp file with the CSV rows converted to JSON and appended to the original. \n\nYou can verify additions in the temp and then replace the source JSON file.\n\n## Installation\nNo install is necessary beyond cloning the repo and making sure you have Erlang runtime and Elixir ~\u003e 1.13 in your runtime environment.\n\n## Running the Program\nSimply run `mix start` and the program will start.\n\n## How it works\nThe program works on the basis of a source JSON file, a source CSV file, and newly created \"temp\" file. You will need to specify a file directory for all three within your CLI.\n\nThe program will ask you to provide a new file location for the \"temp\" file, then the source JSON file location, followed by the source CSV location. \n\nRemember **the locations you provide are relative to the directory in which you are running the program** so take care to reference properly. \n\n### CSV Formatting\nThe program assumes that data in the CSV will be formatted in the following pattern:\n```\nkanji,fronttext,backtext,source,page(optional)\n```\nSo an example might look like so:\n```\ntrue,明日,tomorrow,book1,\ntrue,上,over,book1,\nfalse,どこも,nowhere or everywhere,book2,3\n```\n\nNote that the `page` attribute does not need to be present, but the comma that delineates the `source` and `page` *is required*.\n\nBear in mind that each row must be separated by a newline (`\\n`).\n\n## Invalid File Location\nThe program will crash out if you specify a JSON or CSV source location that does not exist. \n\n## Temp file Overwrite\n**Be careful naming your temp file as it will overwrite any file of the same name**\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaledoux%2Fflashcard_json_maker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaledoux%2Fflashcard_json_maker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaledoux%2Fflashcard_json_maker/lists"}