{"id":17250667,"url":"https://github.com/statusfailed/gptlingo","last_synced_at":"2025-03-26T06:43:01.947Z","repository":{"id":215129576,"uuid":"738162778","full_name":"statusfailed/gptlingo","owner":"statusfailed","description":"Practice speaking chinese with contextual word lookup","archived":false,"fork":false,"pushed_at":"2024-01-02T15:45:29.000Z","size":1734,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-31T08:18:57.419Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/statusfailed.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2024-01-02T15:19:24.000Z","updated_at":"2024-01-30T15:11:10.000Z","dependencies_parsed_at":"2024-01-02T18:03:20.563Z","dependency_job_id":null,"html_url":"https://github.com/statusfailed/gptlingo","commit_stats":null,"previous_names":["statusfailed/gptlingo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statusfailed%2Fgptlingo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statusfailed%2Fgptlingo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statusfailed%2Fgptlingo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statusfailed%2Fgptlingo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/statusfailed","download_url":"https://codeload.github.com/statusfailed/gptlingo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245605709,"owners_count":20643030,"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":[],"created_at":"2024-10-15T06:49:17.449Z","updated_at":"2025-03-26T06:43:01.909Z","avatar_url":"https://github.com/statusfailed.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GPTLingo\n\nPractice speaking chinese with easy word lookup!\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./propaganda/demo.webp\" width=\"600px\" /\u003e\n\u003c/p\u003e\n\n# Run locally\n\nInstall dependencies and run:\n\n    python -m venv venv\n    source venv/bin/activate\n    pip install -r requirements.txt\n    python main.py\n\nNow edit `secret.py` and add your OpenAI API key:\n\n    OPENAI_API_KEY = \"\u003cyour key here\u003e\"\n\nNow navigate to [localhost:8000](https://localhost:8000) to play!\n\nYou can also edit `main.py` to set your HSK level to make the conversation\neasier or harder.\n\nNOTE: I didn't implement a loading indicator; sometimes you have to wait a bit\nfor ChatGPT to give you a response!\n\n# Acknowledgements\n\nThis project uses Herman Schaaf's\n[chinese-ime](https://github.com/hermanschaaf/chinese-ime/) library for pinyin\ninput.\nThe following files are from that project (licensed under LGPLv3), with some\ntweaks:\n\n- [jQuery.chineseIME.js](./static/jQuery.chineseIME.js)\n- [caret.js](caret.js)\n- [ime.css](ime.css)\n\n[Bulma](https://bulma.io/) is used for CSS styling.\n\nChatGPT wrote about 50% of the code in this project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstatusfailed%2Fgptlingo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstatusfailed%2Fgptlingo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstatusfailed%2Fgptlingo/lists"}