{"id":13671162,"url":"https://github.com/sujeetkv/flaskcode","last_synced_at":"2025-12-14T16:41:45.007Z","repository":{"id":44996447,"uuid":"186013726","full_name":"sujeetkv/flaskcode","owner":"sujeetkv","description":"A web based code editor on python flask framework.","archived":false,"fork":false,"pushed_at":"2025-07-31T18:13:24.000Z","size":23036,"stargazers_count":77,"open_issues_count":2,"forks_count":35,"subscribers_count":4,"default_branch":"dev","last_synced_at":"2025-12-14T15:58:18.395Z","etag":null,"topics":["code","code-editor","editor","flask","python","python-web-ide","web-ide"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/sujeetkv.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,"zenodo":null}},"created_at":"2019-05-10T15:40:38.000Z","updated_at":"2025-12-05T06:54:46.000Z","dependencies_parsed_at":"2025-05-19T18:48:43.199Z","dependency_job_id":null,"html_url":"https://github.com/sujeetkv/flaskcode","commit_stats":{"total_commits":61,"total_committers":1,"mean_commits":61.0,"dds":0.0,"last_synced_commit":"fe8a7b955771ee3afbfcc14d06934b842dc39c02"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/sujeetkv/flaskcode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sujeetkv%2Fflaskcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sujeetkv%2Fflaskcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sujeetkv%2Fflaskcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sujeetkv%2Fflaskcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sujeetkv","download_url":"https://codeload.github.com/sujeetkv/flaskcode/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sujeetkv%2Fflaskcode/sbom","scorecard":{"id":857879,"data":{"date":"2025-08-11","repo":{"name":"github.com/sujeetkv/flaskcode","commit":"0b275b2b644258c811dd1a6b848cddd10b74fcbb"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.3,"checks":[{"name":"Maintained","score":9,"reason":"11 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 9","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 2/22 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/test-workflow.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'dev'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-workflow.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/sujeetkv/flaskcode/test-workflow.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-workflow.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/sujeetkv/flaskcode/test-workflow.yml/dev?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/test-workflow.yml:33","Warn: pipCommand not pinned by hash: .github/workflows/test-workflow.yml:34","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 10 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}}]},"last_synced_at":"2025-08-24T00:23:40.531Z","repository_id":44996447,"created_at":"2025-08-24T00:23:40.532Z","updated_at":"2025-08-24T00:23:40.532Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27731469,"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-12-14T02:00:11.348Z","response_time":56,"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":["code","code-editor","editor","flask","python","python-web-ide","web-ide"],"created_at":"2024-08-02T09:01:01.322Z","updated_at":"2025-12-14T16:41:45.001Z","avatar_url":"https://github.com/sujeetkv.png","language":"JavaScript","readme":"# flaskcode\n\n[![Test Status](https://github.com/sujeetkv/flaskcode/actions/workflows/test-workflow.yml/badge.svg)](https://github.com/sujeetkv/flaskcode/actions/workflows/test-workflow.yml)\n[![PyPI Version](https://img.shields.io/pypi/v/flaskcode.svg)](https://pypi.org/project/flaskcode)\n[![MIT License](https://img.shields.io/github/license/sujeetkv/flaskcode.svg)](https://github.com/sujeetkv/flaskcode/blob/master/LICENSE)\n\nWeb based code editor on python flask framework.\n\n![screenshot](https://user-images.githubusercontent.com/17122995/92307134-bc8f9e00-efb1-11ea-93c3-49aa6c52cca3.png)\n\n\n## Installation\n\n```bash\npip install flaskcode\n```\n\n\n## Run application from CLI\n\nRun flaskcode standalone using following command:\n\n```bash\nflaskcode /path/to/resource/folder\n```\n\nGet help for CLI command:\n\n```bash\nflaskcode --help\n```\n\n```\nUsage: flaskcode [OPTIONS] [RESOURCE_BASEPATH]\n\n  Run FlaskCode with given RESOURCE_BASEPATH or current working directory.\n\n  All options can be set on the command line or through environment\n  variables of the form FLASKCODE_*. For example FLASKCODE_USERNAME.\n\nOptions:\n  -h, --host TEXT                 IP or hostname on which to run HTTP server.\n  -p, --port INTEGER              Port on which to bind HTTP server.\n  --username TEXT                 HTTP Basic Auth username.\n  --password TEXT                 HTTP Basic Auth password.\n  --editor-theme [vs|vs-dark|hc-black]\n                                  Editor theme, default is vs-dark.\n  --debug                         Run in flask DEBUG mode.\n  --env TEXT                      Flask environment, default is development.\n  --version                       Show the version and exit.\n  --help                          Show this message and exit.\n```\n\n\n## Integrating flaskcode in your Flask app\n\nThe flaskcode can be integrated in to your own `Flask` app by configuring and registering `flaskcode.blueprint` with your app:\n\n```python\nfrom flask import Flask\nimport flaskcode\n\napp = Flask(__name__)\napp.config.from_object(flaskcode.default_config)\napp.config['FLASKCODE_RESOURCE_BASEPATH'] = '/path/to/resource/folder'\napp.register_blueprint(flaskcode.blueprint, url_prefix='/flaskcode')\n\n@app.route('/')\ndef hello():\n    return \"Hello World!\"\n\nif __name__ == '__main__':\n    app.run()\n```\n\nNow if you run the Flask app on default port, you can access the flaskcode at http://127.0.0.1:5000/flaskcode.\n\n\n## Built with\n\n* [Flask](http://flask.pocoo.org) - a python web framework\n* [Monaco Editor](https://microsoft.github.io/monaco-editor) - a browser based code editor\n\n\n## Authors\n\n* [**Sujeet Kumar**](https://github.com/sujeetkv)\n\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](https://github.com/sujeetkv/flaskcode/blob/master/LICENSE) file for details.\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsujeetkv%2Fflaskcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsujeetkv%2Fflaskcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsujeetkv%2Fflaskcode/lists"}