drishtijs
v2.2.9
Published
Drishti JavaScript framework CLI and native runtime package
Readme
DrishtiJS
DrishtiJS is a JavaScript framework CLI with a bundled runtime for creating and running Drishti applications.
Learn and Know More
https://www.drishtijs.dev
Install
npm install drishtijsThe package selects the native CLI for your operating system. No separate global drish installation is required. It also copies the matching lightweight DrishX installer to package/installer inside your project; npm installation does not download the AI models.
Create an app
npx drishtijs@latest create app my-app --typescriptYou can also use the installed command directly:
npx create-drishti my-app --typescriptSupported source options are --javascript, --typescript, and --tsx.
Run an app
cd my-app
npm install
npm run devGenerated apps include these scripts:
npm run dev
npm start
npm test
npm run buildProject DrishX assistant
Run your project and click Install DrishX on its home page. The package includes the verified Agent application. First setup installs it and downloads the models and matching OS runtime from Hugging Face into that project’s .drishx folder. Setup provisions a private Python runtime when needed. Later server starts reuse the installed application, models and environment.
Double-click the draggable DrishX logo, or focus it with Tab and press Enter, to open the embedded assistant. Close the panel with its close button. Drag the lower-left resize corner, or focus it and use arrow keys (Shift for larger steps), to resize the panel. Its size is saved for that project. The assistant connects to the owning project automatically. Each project has separate chats, indexes, caches, database and runtime ports, so multiple projects can run simultaneously. The parent desktop app is optional: each project independently downloads and stores the full agent/model payload, including several GB of extracted models.
The CLI preserves existing .gitignore entries and adds /.drishx/ and /package/installer/, creating the file when needed. Update the local package with npm install drishtijs@latest to receive the latest bundled installer. Global CLI installs do not write project files until you create or run a project. If your npm configuration blocks dependency lifecycle scripts, the CLI prepares the project installer on its first create/run command.
Release 2.2.9
Fixes npm README publication: the dedicated npm documentation is published as the package’s canonical README.md, with matching registry metadata.
Includes DrishX Agent 2.8.1 and the updated transparent Agent logo. Light mode uses the original blue mark; dark mode uses a white rendering of the same artwork. The launcher and embedded header/chat branding refresh when the framework is upgraded, including projects retaining an older installed Agent.
The bundled Agent keeps primary and fallback model controls in the wide Settings page and a separate User Profile. Server starts reuse installed application/model assets, and package updates preserve custom PHP/auth startup scripts and project data.
CLI
npx drish help
npx drish --version
npx drish create app my-app --typescript
npx drish run .Files created under app/css/ are applied automatically while the app runs. Start the local development server with drish run --dev-editor to use development-only tools such as the CSS editor and mobile conversion launcher.
Platform support
| Platform | Architecture | | --- | --- | | macOS | Apple Silicon, Intel | | Linux | x64 | | Windows | x64 |
License
MIT
