{"id":16548666,"url":"https://github.com/george-gca/markdown-to-google-forms","last_synced_at":"2026-05-07T17:31:52.426Z","repository":{"id":213573711,"uuid":"734430375","full_name":"george-gca/markdown-to-google-forms","owner":"george-gca","description":"Python script to convert a Markdown style document into Google Apps Script code to generate a Google Forms","archived":false,"fork":false,"pushed_at":"2024-03-25T17:38:12.000Z","size":44,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-04T12:49:26.048Z","etag":null,"topics":["google-apps-script","google-forms","google-forms-api","markdown","python","python3"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/george-gca.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":"2023-12-21T16:55:49.000Z","updated_at":"2024-12-22T11:47:16.000Z","dependencies_parsed_at":"2024-03-13T15:59:36.041Z","dependency_job_id":"34f1278d-471d-4f48-8a67-2c9b00949837","html_url":"https://github.com/george-gca/markdown-to-google-forms","commit_stats":null,"previous_names":["george-gca/markdown-to-google-forms"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/george-gca/markdown-to-google-forms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/george-gca%2Fmarkdown-to-google-forms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/george-gca%2Fmarkdown-to-google-forms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/george-gca%2Fmarkdown-to-google-forms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/george-gca%2Fmarkdown-to-google-forms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/george-gca","download_url":"https://codeload.github.com/george-gca/markdown-to-google-forms/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/george-gca%2Fmarkdown-to-google-forms/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266640830,"owners_count":23960809,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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-apps-script","google-forms","google-forms-api","markdown","python","python3"],"created_at":"2024-10-11T19:26:39.735Z","updated_at":"2026-05-07T17:31:51.466Z","avatar_url":"https://github.com/george-gca.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Markdown to Google Forms\n\n**NOTE: Since I realized that this would be much more useful to more people if it was a web app, I decided to sunset this repository and [create a new one](https://github.com/george-gca/markdown_to_google_apps_script), with a new flask code base.**\n\n\u003ca target=\"_blank\" href=\"https://colab.research.google.com/github/george-gca/markdown-to-google-forms/blob/main/Markdown_to_Google_Forms.ipynb\"\u003e\n  \u003cimg src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/\u003e\n\u003c/a\u003e\n\nPython script to convert a Markdown style document into Google Apps Script code, which in turn is used to generate a Google Forms.\n\nThis is not the best solution possible, but it is a solution. One can probably implement something more robust by using libraries like [marko](https://github.com/frostming/marko) or [mistletoe](https://github.com/miyuchina/mistletoe).\n\n## Usage\n\nSimply call the script giving a markdown file as input. By default it prints the code to stdout, but you can pipe the output to a file:\n\n```python\npython3 main.py sample.md \u003e script.js\n```\n\nThere's also a [jupyter notebook](https://github.com/george-gca/markdown-to-google-forms/blob/main/Markdown_to_Google_Forms.ipynb) and [Google Colab](https://gist.github.com/george-gca/fbc4664dce3e97796d1fa212f769c6bb) version in this repo. In this case, modify the contents of the `markdown_file` variable in the notebook and run all cells.\n\nThen, paste the generated code on a [new project](https://script.google.com/home/projects/create) in Google Apps Script and execute it. On the first run of this new project it will ask for permissions to your Google Drive, which should be conceded so it can create the new form. A new file will be created on your [Google Drive](https://drive.google.com/) with the name you used as title. Note that the form is not ready to use, but at least the basic structure will be done.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeorge-gca%2Fmarkdown-to-google-forms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeorge-gca%2Fmarkdown-to-google-forms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeorge-gca%2Fmarkdown-to-google-forms/lists"}