{"id":16555242,"url":"https://github.com/carlostojal/glossarygenerator","last_synced_at":"2026-05-11T09:52:48.533Z","repository":{"id":123222962,"uuid":"250312664","full_name":"carlostojal/GlossaryGenerator","owner":"carlostojal","description":"Glossary Generator that uses the DuckDuckGo Instant Answer API to generate a glossary in formats such as DOCX, JSON, CSV and TXT.","archived":false,"fork":false,"pushed_at":"2020-03-27T10:27:19.000Z","size":1418,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-05T01:41:47.069Z","etag":null,"topics":["api","docx-generator","duckduckgo","glossary","json","python","python-docx"],"latest_commit_sha":null,"homepage":"","language":"Python","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/carlostojal.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-03-26T16:31:26.000Z","updated_at":"2025-01-24T23:01:50.000Z","dependencies_parsed_at":"2023-06-08T12:45:55.510Z","dependency_job_id":null,"html_url":"https://github.com/carlostojal/GlossaryGenerator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/carlostojal/GlossaryGenerator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlostojal%2FGlossaryGenerator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlostojal%2FGlossaryGenerator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlostojal%2FGlossaryGenerator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlostojal%2FGlossaryGenerator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/carlostojal","download_url":"https://codeload.github.com/carlostojal/GlossaryGenerator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlostojal%2FGlossaryGenerator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32889971,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-10T13:40:02.631Z","status":"online","status_checked_at":"2026-05-11T02:00:05.975Z","response_time":120,"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":["api","docx-generator","duckduckgo","glossary","json","python","python-docx"],"created_at":"2024-10-11T19:53:29.989Z","updated_at":"2026-05-11T09:52:48.502Z","avatar_url":"https://github.com/carlostojal.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GlossaryGenerator\nGlossary Generator that uses the DuckDuckGo Instant Answer API to generate a glossary in formats such as DOCX, JSON, CSV and TXT.\n\n## How to use\n* Make sure you have Python 3.x installed.\n* Make sure you have an Internet connection.\n* Run ```setup.sh```. This will install all required modules. This is only needed once.\n* Write all terms in the file ```terms.txt```. Feel free to write your own script to populate this file.\n* Run the script ```glossary_generator.py```.\n* That's it! By default the glossary will be in the files in the folder ```output``` inside the script directory. You can change this in the configuration file. Configuration documentation below.\n\n## Configuration\nAll configuration is maintained in the file ```config.json```.\n\n| Key | Description |\n| --- | ----------- |\n| ```title``` | Document title. (**Default:** Sample Glossary) |\n| ```header_text``` | Header text. (**Default:** Sample Header) |\n| ```footer_text``` | Footer text. (**Default:** Sample Footer) |\n| ```n_phrases``` | Number of phrases from the search to be inserted. (**Default:** ```1```) |\n| ```insert_term_image``` | if ```true``` a descriptive image of the term will be inserted (when available). (**Default:** ```true```) |\n| ```credits``` | If ```true``` credits will be added to document footer. (**Default:** ```true```) |\n| ```output_path``` | Is the path of the file that will be generated. (**Default:** ```output```) |\n| ```filename``` | Is the name of the file(s) that will be generated. (**Default:** ```glossary```) |\n| ```docx``` | If ```true``` a ```.docx``` file will be generated. (**Default:** ```true```) |\n| ```json``` | If ```true``` a ```.json``` file will be generated. (**Default:** ```true```) |\n| ```csv``` | If ```true``` a ```.csv``` file will be generated. (**Default:** ```true```) |\n| ```txt``` | If ```true``` a ```.txt``` file will be generated. (**Default:** ```true```) |\n\n## Screenshots\n\n* Generated DOCX\n![Generated document](https://raw.githubusercontent.com/carlostojal/GlossaryGenerator/master/img/docx.png)\n\n* Generated JSON\n![Generated document](https://raw.githubusercontent.com/carlostojal/GlossaryGenerator/master/img/json.png)\n\n* Generated CSV\n![Generated document](https://raw.githubusercontent.com/carlostojal/GlossaryGenerator/master/img/csv.png)\n\n* Generated TXT\n![Generated document](https://raw.githubusercontent.com/carlostojal/GlossaryGenerator/master/img/txt.png)\n\n* Terms file\n![Terms file](https://raw.githubusercontent.com/carlostojal/GlossaryGenerator/master/img/terms.png)\n\n* Script running\n![Script running](https://raw.githubusercontent.com/carlostojal/GlossaryGenerator/master/img/script.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlostojal%2Fglossarygenerator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarlostojal%2Fglossarygenerator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlostojal%2Fglossarygenerator/lists"}