{"id":19074335,"url":"https://github.com/howardyclo/write-cafe","last_synced_at":"2025-04-28T19:59:56.295Z","repository":{"id":104756722,"uuid":"58509944","full_name":"howardyclo/write-cafe","owner":"howardyclo","description":"A web-based English writing assistant with automatic grammar error correction and example sentence suggestion.","archived":false,"fork":false,"pushed_at":"2016-12-11T13:42:27.000Z","size":14561,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-28T19:59:49.335Z","etag":null,"topics":["grammar-error-correction","nodejs","python","python-flask"],"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/howardyclo.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":"2016-05-11T03:02:28.000Z","updated_at":"2024-03-12T04:21:09.000Z","dependencies_parsed_at":"2023-03-26T17:01:42.079Z","dependency_job_id":null,"html_url":"https://github.com/howardyclo/write-cafe","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/howardyclo%2Fwrite-cafe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/howardyclo%2Fwrite-cafe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/howardyclo%2Fwrite-cafe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/howardyclo%2Fwrite-cafe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/howardyclo","download_url":"https://codeload.github.com/howardyclo/write-cafe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251380914,"owners_count":21580338,"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":["grammar-error-correction","nodejs","python","python-flask"],"created_at":"2024-11-09T01:50:35.674Z","updated_at":"2025-04-28T19:59:56.278Z","avatar_url":"https://github.com/howardyclo.png","language":"JavaScript","readme":"# Write Cafe\nA web-based English writing assistant with automatic grammar error correction (GEC) and example sentence suggestion.\n\n### Tech Stack\n  - Frontend: sass, es6, react, redux, webpack.\n  - Backend: nodejs for webserver, python flask for GEC business logic.\n  - Special credits: GEC functionality is based on Linggle API (A web-scale linguistics search engine), which is developed by NTHU NLPLAB.\n\n### Dev Environment\n  - node: v6.2.2 (recommend to use `nvm`)\n  - npm: 3.9.5\n  - python: 2.7.10\n\n### Get Started\n\n- Assume that you've installed python virtual environment package - `virtualenv`. You'll need to first create a new virtual environment, then activate it. By doing this to prevent installing python packages required by this project in global space.\n```\n\u003e\u003e virtualenv venv (Create 'venv' folder whatever place you want to place in)\n```\n```\n\u003e\u003e source venv/bin/activate (Activate virtual environment)\n```\n- Install python packages required by this project from requirements.txt. If there's any error, you can run `python server/app.py` to see what packages are required, then install them by `pip install \u003cpackage\u003e` one by one.\n```\n\u003e\u003e pip install -r requirements.txt\n```\n- Note that our project requires `nltk` tagger - `averaged_perceptron_tagger` and tokenizer - `punkt`, you'll need to install those first.\n```\n(python cmd)\u003e\u003e\u003e import nltk\n(python cmd)\u003e\u003e\u003e nltk.download()\n```\n- Assume that you've installed nodejs and npm. Run `npm install` to install nodejs packages required by this project\n```\n\u003e\u003e npm install\n```\n- Since this project runs two different servers, one is nodejs for routings, the other is python flask API for GEC. Please enter the following two commands in seperate terminal taps, this will help you get the app started.\n```\n\u003e\u003e python server/app.py (Start python flask api server)\n```\n```\n\u003e\u003e npm start (Start node web server)\n```\n\n### API URL/Port Configuration\n- You can run node web server on different port by revising `\"start\": \"...\"` command in `package.json`.\n- You can run flask API server on different port by revising `port` in `/server/app.py` at localhost or deploy it on server, you'll need to change API URL in client app at `/app/config.js`.\n\n### Problem Shooting\nIf there's any problem, please open an issue or send me an email.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhowardyclo%2Fwrite-cafe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhowardyclo%2Fwrite-cafe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhowardyclo%2Fwrite-cafe/lists"}