Giter Site home page Giter Site logo

doctor.nvim's Introduction

doctor.nvim

Have you ever been alone at home, coding in the middle of night, and felt a sudden burst of existential angst? Did you even felt the urge to open that other editor just to feel that the machine could understand and nurture you?

Well, my friend, your problems are over! Now, with a simple ex-command, you can not only share your thoughts with your favorite text editor but also get a proper response from it, finely produced by the best of 1966's artificial intelligence!

But what is this, really?

This is a implementation of Joseph Weizenbaum's ELIZA chatbot embedded in a neovim prompt buffer. It works just like Emacs M-x doctor: you fire up a command and a chat buffer pops up.

A ELIZA bot uses a script that is separate from the implementation to formulate its responses. In the case of this plugin, we are using the original script found on Weizenbaum's paper from 1966 that simulates a Rogerian psychotherapist. (Pull Requests for new scripts are always welcome, by the way!)

Installation

The easiest way to install this plugin is using a plugin manager. For example, with packer.nvim you can run:

use "iagoleal/doctor.nvim"

Usage

Run the command below to open a doctor buffer.

:TalkToTheDoctor

This is a vim prompt buffer and works like a REPL. You can enter anything on the buffer's last line and when you press Return in Insert Mode, the Bot will reply to you on the following line.

References

Important Notice

This is just a game and in no way should the taken as a substitute for a real therapist. If you are struggling with anything related to mental health, the right thing to do is to go look for a capable professional.

doctor.nvim's People

Contributors

iagoleal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

honsa

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.