{"id":20438505,"url":"https://github.com/nmarkert/writing-with-generated-text","last_synced_at":"2026-06-07T11:31:06.031Z","repository":{"id":49065942,"uuid":"370773450","full_name":"nmarkert/writing-with-generated-text","owner":"nmarkert","description":"Two prototypes for writing with generated text and a study-framework to evaluate them","archived":false,"fork":false,"pushed_at":"2023-06-21T13:12:54.000Z","size":7045,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-05T07:24:40.615Z","etag":null,"topics":["study","text-generation","writing"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/nmarkert.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":"2021-05-25T17:19:47.000Z","updated_at":"2022-09-28T09:00:20.000Z","dependencies_parsed_at":"2025-01-15T19:09:39.292Z","dependency_job_id":"bed9613c-ab4d-4abe-9fe4-9fd6383fd80f","html_url":"https://github.com/nmarkert/writing-with-generated-text","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nmarkert/writing-with-generated-text","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmarkert%2Fwriting-with-generated-text","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmarkert%2Fwriting-with-generated-text/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmarkert%2Fwriting-with-generated-text/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmarkert%2Fwriting-with-generated-text/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nmarkert","download_url":"https://codeload.github.com/nmarkert/writing-with-generated-text/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmarkert%2Fwriting-with-generated-text/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34020187,"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-07T02:00:07.652Z","response_time":124,"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":["study","text-generation","writing"],"created_at":"2024-11-15T09:11:57.772Z","updated_at":"2026-06-07T11:31:06.010Z","avatar_url":"https://github.com/nmarkert.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Writing with Generated Text on Mobile Devices\nThis project was created for my Bachelor Thesis about \"Writing with Generated Text on Mobile Devices - An Explorative Study\". \n\nThe project implements two differents prototypes for writing with generated text and a study for evaluating them. \u003cbr\u003e\nIt is realised as a web application. The backend is written in Python and uses the Flask-Library. The text-generation which is located in the backend uses the pretrained GPT-2 Model from Huggingface. The frontend is written in JavaScript with the React-Library. \u003cbr\u003e\nThe project also contains some Docker-Files. I used them for launching the application on the server for the user study.\n\n\n## Prototypes\n\u003cimg src=\"https://user-images.githubusercontent.com/66016784/149120547-c9a1f60e-23ee-48ce-81a3-bbfabf10a15e.png\" alt=\"text\" width=\"600\"/\u003e\n\nThe writing process with both techniques starts by typing the first sentence of the text you want to write.\n\n### Continous generated Text\nHere you have to press the continue button, after writting your sentence. \nThen the text appears word per word over time. By clicking into the textfield the text stops and you can correct it. \nWhen you then hit continue again, the generation of text contiues.\n\n### Writing with suggestions\nHere there are three suggestions from which you can select one to continue your text. They are always appearing automaticly after a short time of not editing the text. When you choose one of these options, the suggestions gets added to the text and new suggestions are offerd. There is also a button for generating three new options, when none of the offered suggestions is fitting.\nYou also have always the ability to click into the textfield and edit some text by yourself.\n\n\n## Study\nYou can start the study after entering a user-id. The id is used to identify which stored data is from which user. \u003cbr\u003e\nThe goal of the study is to write six short textes. There are two diffierent tasks descriping a scenario for writing a text. Each task has to be completed with three different methods, the two prototypes and a normal text field as a reference. \u003cbr\u003e\nSome data from the tasks get logged in the backend part and after each task there are some short questions. \u003cbr\u003e\nWhen you are finished with all six tasks, there comes a link to a survey on an external webside. The current link is unavailable, because the survey is closed already.\nThe link to the final survey can be changed in the file `backend/pyfiles/constants.py`.\n\n\n## How to Run\n\n### Run with flask and node\nStart two seperate terminals.\nIn the first one go to the backend (`cd backend`) and run `python app.py`. \u003cbr\u003e\nIn the second one got to the frontend (`cd frontend`) and run `npm start`.\n\nIt is now available on `http://localhost:3000/markert-generation-frontend`.\n\n### Run with docker\nFirst run `docker-compose build` to build the project. \u003cbr\u003e\nThen run `docker-compose up` to run the project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnmarkert%2Fwriting-with-generated-text","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnmarkert%2Fwriting-with-generated-text","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnmarkert%2Fwriting-with-generated-text/lists"}