{"id":27309497,"url":"https://github.com/parmentf/node-ector-command","last_synced_at":"2025-04-12T05:30:01.206Z","repository":{"id":6228879,"uuid":"7460430","full_name":"parmentf/node-ector-command","owner":"parmentf","description":"ECTOR is a learning chatterbot. This is an interactive command to ECTOR.","archived":false,"fork":false,"pushed_at":"2018-09-30T10:03:54.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-15T21:19:12.981Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"ivailosp/l4dtoolz","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/parmentf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-MIT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-01-05T21:52:15.000Z","updated_at":"2018-09-30T10:03:55.000Z","dependencies_parsed_at":"2022-09-13T10:20:50.139Z","dependency_job_id":null,"html_url":"https://github.com/parmentf/node-ector-command","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parmentf%2Fnode-ector-command","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parmentf%2Fnode-ector-command/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parmentf%2Fnode-ector-command/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parmentf%2Fnode-ector-command/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parmentf","download_url":"https://codeload.github.com/parmentf/node-ector-command/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248523089,"owners_count":21118434,"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":[],"created_at":"2025-04-12T05:30:00.599Z","updated_at":"2025-04-12T05:30:01.196Z","avatar_url":"https://github.com/parmentf.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ector-command [![NPM version](https://badge.fury.io/js/ector-command.png)](http://badge.fury.io/js/ector-command) [![Gitter chat](https://badges.gitter.im/parmentf/node-ector-command.png)](https://gitter.im/parmentf/node-ector-command)\n\n[![NPM](https://nodei.co/npm/ector-command.png?downloads=true)](https://nodei.co/npm/ector-command/)\n\nECTOR is a learning chatterbot. This is an interactive command to ECTOR.\n\n## Installation\nInstall the module with: `npm install -g ector-command`\n\n## Usage\n\n```bash\n$ ector\n```\n\n## Parameters\n\n### Name of the utterer\n`-p, --person [name]`: set the name of the utterer (the user) - default value: `User`.\n\n### Name of the bot\n`-b, --botname [botname]`: set the name of the bot - default value: `ECTOR` (all uppercase).\n\n### Quiet\n`-q, --quiet`: the bot won't answer, only learn.\n\n### Log\n`-l, --log [filepath]`: log the dialogue in log file - default value: `ector.log`. _Not yet working_\n\n### Help\n`-h, --help`: display the parameters of the command.\n\n### Version\n`-V, --version`: output the version number.\n\n\n## Internal Commands\n\nOnce run, ECTOR can be told to do various things, using commands beginning with `@`.\n\nTo see the list of these commands, use `@help`.\n\n### @help\nDisplay the list of commands in interactive mode.\n\n### @usage\nPrint the options the `ector` command.\n\n### @quit, @exit, @bye\nTo quit the program and go back to the CLI, either type `@quit`, `@exit`, `@bye`, or simply `^D` (which always close an input-dependent unix command).\n\n### @person\nChange the utterer name (like -p)\n\n### @botname\nChange the bot's name (like -b)\n\n### @version\nGive the current version\n\n### @save\nSave Ector's Concept Network and state (useful in order to teach Ector anything you don't want him to forget). _Not yet fully functional: no loading_\n\n### @shownodes\nShow the nodes of the Concept Network (Ector's brain's partial content).\nMainly a debug command.\n\n### @showlinks\nShow the links of the Concept Network (another part of Ector's brain).\nMainly a debug command.\n\n### @showstate\nShow the state of the nodes.\nMainly a debug command.\n\n### @debug [on|off]\nShow the debug state (on or off)\n\n\n## Examples\n```\n$ ector -p Guy\nGuy: Hello ECTOR.\nECTOR: Hello Guy.\nGuy: How do you do?\nECTOR: How do you do?\nGuy: Well, what do you think, right now?\nECTOR: How do you do?\nGuy: We already greet ourselves, indeed.\nECTOR: Well, what do you think, right now?\nGuy: I think that I'm not a native English speaker.\nECTOR: I think that I'm not a native English speaker.\nGuy: And also, you are a true parrot. But that's normal: you are like a young child, learning to speak.\nECTOR: I think that I'm not a young child, learning to speak.\nGuy: Marvelous, now you're thinking by yourself ;)\nECTOR: But that's normal: you do?\nGuy: And now, you make mistakes, that even I wouldn't make.\nECTOR: How do you make mistakes, that I'm not a true parrot.\nGuy: @save\nGuy:\n```\n\n## Contributing\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [mocha](http://mochajs.org/).\n\n## Release History\n\n* 2015/02/27: version 1.0.0: use semantic versioning, fix a major bug\n* 2014/08/07: version 0.1.3: use FileConceptNetwork, add load command\n* 2014/06/18: version 0.1.2: fix a blocking bug (using a deprecated module)\n* 2013/01/06: version 0.1.1: link response to next entry\n* 2013/01/06: version 0.1.0: first release\n\nWarning: this is a work in progress.\n\n## License\nCopyright (c) 2013 François Parmentier\nLicensed under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparmentf%2Fnode-ector-command","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparmentf%2Fnode-ector-command","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparmentf%2Fnode-ector-command/lists"}