{"id":18483309,"url":"https://github.com/cloudcmd/edward","last_synced_at":"2026-02-04T20:15:14.418Z","repository":{"id":21392734,"uuid":"24710506","full_name":"cloudcmd/edward","owner":"cloudcmd","description":"Web editor as express middleware","archived":false,"fork":false,"pushed_at":"2026-02-03T19:30:20.000Z","size":14969,"stargazers_count":30,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-02-04T08:42:12.069Z","etag":null,"topics":["cloudcmd","editor","javascript","nodejs"],"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/cloudcmd.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","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":"2014-10-02T07:42:08.000Z","updated_at":"2026-02-03T19:30:24.000Z","dependencies_parsed_at":"2024-06-18T19:47:53.023Z","dependency_job_id":"f09d5d0c-0081-4154-998f-85bc9e6e7b43","html_url":"https://github.com/cloudcmd/edward","commit_stats":{"total_commits":872,"total_committers":2,"mean_commits":436.0,"dds":0.4977064220183486,"last_synced_commit":"4811b49a8e133450ef7574f0c7c7023bfe7afbf4"},"previous_names":["cloudcmd/edit"],"tags_count":310,"template":false,"template_full_name":null,"purl":"pkg:github/cloudcmd/edward","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudcmd%2Fedward","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudcmd%2Fedward/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudcmd%2Fedward/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudcmd%2Fedward/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudcmd","download_url":"https://codeload.github.com/cloudcmd/edward/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudcmd%2Fedward/sbom","scorecard":{"id":292406,"data":{"date":"2025-08-11","repo":{"name":"github.com/cloudcmd/edward","commit":"a3ec8476ab1b28cd32dc84c3b95374a583a1905d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/nodejs.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":"Code-Review","score":0,"reason":"Found 0/30 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":"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":"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":"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":"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":"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/nodejs.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudcmd/edward/nodejs.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/nodejs.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudcmd/edward/nodejs.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nodejs.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/cloudcmd/edward/nodejs.yml/master?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction 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":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"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":"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-17T18:36:50.367Z","repository_id":21392734,"created_at":"2025-08-17T18:36:50.367Z","updated_at":"2025-08-17T18:36:50.367Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29094969,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-04T19:16:55.479Z","status":"ssl_error","status_checked_at":"2026-02-04T19:16:52.508Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cloudcmd","editor","javascript","nodejs"],"created_at":"2024-11-06T12:35:15.436Z","updated_at":"2026-02-04T20:15:14.413Z","avatar_url":"https://github.com/cloudcmd.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Edward [![License][LicenseIMGURL]][LicenseURL] [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/edward.svg?style=flat\n[BuildStatusURL]: https://github.com/cloudcmd/edward/actions?query=workflow%3A%22Node+CI%22 \"Build Status\"\n[BuildStatusIMGURL]: https://github.com/cloudcmd/edward/workflows/Node%20CI/badge.svg\n[LicenseIMGURL]: https://img.shields.io/badge/license-MIT-317BF9.svg?style=flat\n[NPM_INFO_IMG]: https://nodei.co/npm/edward.png?downloads=true\u0026\u0026stars\u0026\u0026downloadRank \"npm install edward\"\n[NPMURL]: https://npmjs.org/package/edward \"npm\"\n[LicenseURL]: https://tldrlegal.com/license/mit-license \"MIT License\"\n[edit.json]: https://github.com/cloudcmd/edward/tree/master/json/edit.json \"edit.json\"\n\nWeb editor used in [Cloud Commander](http://cloudcmd.io) based on [Ace](http://ace.c9.io \"Ace\").\n\n![Edward](https://raw.githubusercontent.com/cloudcmd/edward/master/img/edward.png \"Edward\")\n\n## Features\n\n- Syntax highlighting based on extension of file for over 110 languages.\n- Built-in `emmet` (for html files)\n- Drag n drop (drag file from desktop to editor).\n- Configurable options ([json/edit.json][edit.json] could be overriden by `~/.edward.json`)\n\n## Install\n\n```\nnpm i edward -g\n```\n\n![NPM\\_INFO][NPM_INFO_IMG]\n\n## Command line parameters\n\nUsage: `edward [filename]`\n\n|Parameter              |Operation\n|:----------------------|:--------------------------------------------\n| `-h, --help`          | display help and exit\n| `-v, --version`       | output version information and exit\n\n## Hot keys\n\n|Key                    |Operation\n|:----------------------|:--------------------------------------------\n| `Ctrl + s`            | save\n| `Ctrl + f`            | find\n| `Ctrl + h`            | replace\n| `Ctrl + g`            | go to line\n| `Ctrl + e`            | evaluate (JavaScript only supported)\n\nFor more details see [Ace keyboard shortcuts](https://github.com/ajaxorg/ace/wiki/Default-Keyboard-Shortcuts \"Ace keyboard shortcuts\").\n\n## API\n\nEdward could be used as middleware for [express](http://expressjs.com \"Express\").\nFor this purpuse API could be used.\n\n### Server\n\n#### edward(options)\n\nMiddleware of `edward`. Options could be omitted.\n\n```js\nimport {edward} from 'edward';\nimport express from 'express';\n\nconst app = express();\n\napp.use(edward({\n    root: '/', // default\n    online: true, // default\n    diff: true, // default\n    zip: true, // default\n    dropbox: false, // optional\n    dropboxToken: 'token', // optional\n}));\n\napp.listen(31_337);\n```\n\n#### edward.listen(socket)\n\nCould be used with [socket.io](http://socket.io \"Socket.io\") to handle editor events with.\n\n```js\nimport {Server} from 'socket.io';\n\nconst socket = new Server(server);\n\nedward.listen(socket, {\n    root: '/', // optional\n    prefixSocket: '/edward', //optional\n    auth: (accept, reject) =\u003e (username, password) =\u003e {\n        accept();\n    },\n});\n```\n\n### Client\n\nEdward uses [ace](http://ace.c9.io/ \"Ace\") on client side, so API is similar.\nAll you need is put minimal `html`, `css`, and `js` into your page.\n\nMinimal html:\n\n```html\n\u003cdiv class=\"edit\" data-name=\"js-edit\"\u003e\u003c/div\u003e\n\u003cscript src=\"/edward/edward.js\"\u003e\u003c/script\u003e\n```\n\nMinimal css:\n\n```css\nhtml, body, .edit {\n    height: 100%;\n    margin: 0;\n}\n```\n\nMinimal js:\n\n```js\nedward('[data-name=\"js-edit\"]', (editor) =\u003e {\n    editor.setValue('Hello edward!');\n});\n```\n\nFor more information you could always look around into `assets` and `bin` directory.\n\n## Related\n\n- [Dword](https://github.com/cloudcmd/dword \"Dword\") - web editor based on [Codemirror](https://codemirror.net \"Codemirror\").\n- [Deepword](https://github.com/cloudcmd/deepword \"Deepword\") - web editor based on [Monaco](https://microsoft.github.io/monaco-editor/ \"Monaco\").\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudcmd%2Fedward","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudcmd%2Fedward","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudcmd%2Fedward/lists"}