whatisgithub

What is darya?

sheikhartin/darya — explained in plain English

Analysis updated 2026-05-18

0JavaScriptAudience · generalComplexity · 2/5Setup · easy

In one sentence

A bilingual Persian and English chatbot inspired by the 1966 ELIZA program that reflects your feelings back through rule-based pattern matching, not an LLM.

Mindmap

mindmap
  root((Darya))
    What it does
      Reflects feelings back
      ELIZA-style chatbot
      Rule based not LLM
    Tech stack
      JavaScript
      Pattern matching engine
    Use cases
      Casual reflective chat
      Learning ELIZA techniques
    Audience
      Curious general users
      Chatbot hobbyists
    Limits
      Not real therapy
      No memory after tab closes

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Have a lighthearted reflective conversation in Persian or English.

USE CASE 2

Study how classic rule-based chatbots like ELIZA work under the hood.

USE CASE 3

Explore language-specific chatbot design differences between Persian and English.

What is it built with?

JavaScript

How does it compare?

sheikhartin/darya00kaku/gallery-slider-block3rd-eden/ircb.io
Stars0
LanguageJavaScriptJavaScriptJavaScript
Last pushed2021-05-192016-11-16
MaintenanceDormantDormant
Setup difficultyeasyeasyeasy
Complexity2/52/52/5
Audiencegeneralgeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min
No license information is provided in the README.

So what is it?

Darya is a chatbot you can talk to in either Persian or English, built in the style of ELIZA, a famous 1966 program that simulated a therapist by reflecting your own words back at you. Like the original ELIZA, Darya is not an actual therapist and does not use a large language model. It works entirely through pattern matching and rule based scripts, recognizing keywords and common small talk questions rather than genuinely understanding what you say. What makes Darya more capable than the original ELIZA is that it keeps a short working memory during your conversation, so it can refer back to things you said earlier. It also pays attention to the emotional tone of the conversation and may occasionally suggest a grounding exercise if things seem tense. To keep the conversation feeling less repetitive, it varies how it phrases its responses instead of always saying things the same way. Before you start chatting, you choose whether to speak Persian or English, and that choice stays fixed for the rest of the conversation. The two languages are treated as separate, fully built out language packs that share the same underlying engine, rather than one language being a rough translation of the other. Some techniques are used only in English, such as the classic ELIZA trick of swapping pronouns in your sentences back at you, because Persian grammar already encodes who is speaking through its verbs, so that same trick would not work reliably there. Darya also offers two visual themes, ocean and beach, and it remembers which one you picked the next time you visit. The README is upfront about Darya's limits: it does not diagnose anything, it is not a substitute for real therapy, and it has no memory beyond a single browser tab's conversation. Once you close the tab, the conversation is gone. This project is aimed at anyone curious about early chatbot techniques or looking for a lighthearted, reflective conversation partner rather than professional mental health support.

Copy-paste prompts

Prompt 1
Explain how ELIZA-style pattern matching chatbots work without using a language model.
Prompt 2
Show me how Darya tracks emotional tone across a conversation.
Prompt 3
Help me build a simple rule-based chatbot inspired by this project.
Prompt 4
Compare how this project handles English versus Persian conversation techniques.

Frequently asked questions

What is darya?

A bilingual Persian and English chatbot inspired by the 1966 ELIZA program that reflects your feelings back through rule-based pattern matching, not an LLM.

What language is darya written in?

Mainly JavaScript. The stack also includes JavaScript.

What license does darya use?

No license information is provided in the README.

How hard is darya to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is darya for?

Mainly general.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.