{"_id":"@axaylabs/glim","_rev":"2-ec36f73b70e5611d5f2321b83b585c46","name":"@axaylabs/glim","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@axaylabs/glim","version":"0.1.0","keywords":["glim","getglim","ai","ui","companion","avatar","ambient","webgl","canvas"],"author":{"name":"axaylabs"},"license":"MIT","_id":"@axaylabs/glim@0.1.0","maintainers":[{"name":"axysar","email":"akshay.sarode18@gmail.com"}],"homepage":"https://getglim.dev","bugs":{"url":"https://github.com/axysar/getglim/issues"},"dist":{"shasum":"93aa4565e553cec146550bc637effcf78b2a38d4","tarball":"https://registry.npmjs.org/@axaylabs/glim/-/glim-0.1.0.tgz","fileCount":4,"integrity":"sha512-1/Sz9FJKxjKeuhlQfXuoq90SuilQbQehurf+YiTMJk/dVCJDB669KgiIDvoWfTOmhJp6lflAb4yOC8EjKg1VDg==","signatures":[{"sig":"MEYCIQC1HfB460tfkMr0y5EvLZh7aajdyaH01orXUD7bxNCy3gIhAJt8XfGv+Yw8x2GqTDaLwBJdtTer/AW6KLeyInIOetS5","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":68917},"main":"glim.js","unpkg":"glim.js","browser":"glim.js","gitHead":"9c8bf55c97041995ed8c54d092f9e2c0f42f6279","scripts":{"example":"python3 -m http.server 4173"},"_npmUser":{"name":"axysar","email":"akshay.sarode18@gmail.com"},"jsdelivr":"glim.js","repository":{"url":"git+https://github.com/axysar/getglim.git","type":"git"},"_npmVersion":"10.9.7","description":"Living companions for AI product UIs — one four-state mind, hand-built creatures, zero dependencies.","directories":{},"sideEffects":true,"_nodeVersion":"22.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/glim_0.1.0_1784708918876_0.6201383832926664","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@axaylabs/glim","version":"0.1.1","description":"Living companions for AI product UIs. One four-state mind (idle → thinking → talking → listening), hand-built creatures, zero dependencies.","keywords":["glim","getglim","ai","ui","companion","avatar","ambient","presence","webgl","canvas","chatbot","agent","animation"],"license":"MIT","author":{"name":"axaylabs"},"publishConfig":{"access":"public"},"homepage":"https://getglim.dev","repository":{"type":"git","url":"git+https://github.com/axysar/getglim.git"},"bugs":{"url":"https://github.com/axysar/getglim/issues"},"main":"glim.js","browser":"glim.js","unpkg":"glim.js","jsdelivr":"glim.js","scripts":{"example":"python3 -m http.server 4173"},"sideEffects":true,"_id":"@axaylabs/glim@0.1.1","gitHead":"9c8bf55c97041995ed8c54d092f9e2c0f42f6279","_nodeVersion":"22.14.0","_npmVersion":"10.9.7","dist":{"integrity":"sha512-FJ1y/L0Whb7olWvjF1jJp6JJWI3aEILTrjzg+Wfc24n9bnXHqAnS9AOuw+xu7SaRdVBICAgZ2rGjc6PwnuTqmg==","shasum":"5c3cdd93999c32be60f25a4de5c1142db3a99c46","tarball":"https://registry.npmjs.org/@axaylabs/glim/-/glim-0.1.1.tgz","fileCount":6,"unpackedSize":72162,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDtYxeEwbVF6OIRZ3yznrCoxwhU5g1BJ3kg6l9Yz+uppgIgUO69wtFNpTB4+DhkO0NZ/ciXouQsf43a0SjEz+/F4mc="}]},"_npmUser":{"name":"axysar","email":"akshay.sarode18@gmail.com"},"directories":{},"maintainers":[{"name":"axysar","email":"akshay.sarode18@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/glim_0.1.1_1784709018763_0.38436913798692074"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-22T08:28:38.732Z","modified":"2026-07-22T08:30:19.191Z","0.1.0":"2026-07-22T08:28:39.017Z","0.1.1":"2026-07-22T08:30:19.008Z"},"bugs":{"url":"https://github.com/axysar/getglim/issues"},"author":{"name":"axaylabs"},"license":"MIT","homepage":"https://getglim.dev","keywords":["glim","getglim","ai","ui","companion","avatar","ambient","presence","webgl","canvas","chatbot","agent","animation"],"repository":{"type":"git","url":"git+https://github.com/axysar/getglim.git"},"description":"Living companions for AI product UIs. One four-state mind (idle → thinking → talking → listening), hand-built creatures, zero dependencies.","maintainers":[{"name":"axysar","email":"akshay.sarode18@gmail.com"}],"readme":"# Glim\n\n**Living companions for AI product UIs.**\n\nOne four-state mind — idle, thinking, talking, listening — and a small menagerie of hand-built creatures. Zero dependencies. Drop it into any page or bundle.\n\n[getglim.dev](https://getglim.dev) · [npm](https://www.npmjs.com/package/@axaylabs/glim)\n\n## Install\n\n```bash\nnpm i @axaylabs/glim\n```\n\nOr skip the package manager and load the file:\n\n```html\n<script src=\"https://getglim.dev/glim.js\"></script>\n```\n\n## Quick start\n\n```js\nconst { Glim } = require('@axaylabs/glim');\n// or: import { Glim } from '@axaylabs/glim';\n// or: window.Glim from a <script> tag\n\nconst p = Glim.mount(document.getElementById('host'), 'wisp', {\n  size: 160,\n  theme: 'signal', // signal | aurora | ember | mono | bloom | deep\n});\n\np.setState('thinking'); // idle | thinking | talking | listening\np.say('hey — still with you.');\np.react(0.8);           // acknowledgment pulse\np.setTheme('aurora');\np.on('state', (s) => console.log(s));\n// p.destroy();\n```\n\n## Free creatures (MIT)\n\n`dots` · `orb` · `ring` · `bars` · `grid` · `caret` · `pulse` · `wisp`\n\n```js\nGlim.freeTypes // → those eight\nGlim.types     // → every body registered in the build\n```\n\nMore creatures are try-before-buy on the [demo](https://getglim.dev); unlock with Pro.\n\n## API\n\n| Call | What it does |\n| --- | --- |\n| `Glim.mount(el, type, opts?)` | Attach a companion to an element |\n| `p.setState(state)` | Drive the four-state mind |\n| `p.say(text)` | Speak a line (enters talking) |\n| `p.react(amount?)` | Short attention spike |\n| `p.setTheme(name\\|palette)` | Swap mood colors |\n| `p.cycle()` | Advance to the next state |\n| `p.on(event, fn)` | Listen (`state`, …) |\n| `p.destroy()` | Tear down |\n\n**Mount options:** `size`, `theme`, `state`, `say`.\n\n## Why Glim\n\nMost AI UIs go quiet while the model thinks. Glim keeps a presence on screen — the same mind, different bodies — so your product feels alive without shipping another chat widget.\n\n## License\n\nMIT for the free tier and core API. See [getglim.dev](https://getglim.dev) for Pro / Team.\n","readmeFilename":"README.md"}