Embeddable DeepChat-based widget for Jims applications
Project description
JIMS DeepChat Widget
DeepChat-based embeddable chat widget for JimsApp backends.
Quick start
1. Run the widget server (point it at your JimsApp):
uv run jims-widget --app my_app:app --port 8090 --cors-origins "*"
2. Embed on any page — add one script tag:
<script
src="https://YOUR_HOST/static/jims-widget.js"
data-server="https://YOUR_HOST"
></script>
Optional attributes on the <script> tag:
| Attribute | Required | Default | Description |
|---|---|---|---|
data-server |
yes | — | Widget backend origin (same host as script) |
data-contact-id |
no | (anonymous) | Persistent visitor identifier |
data-thread-id |
no | (new thread) | Resume an existing thread |
data-position |
no | bottom-right |
bottom-right | bottom-left |
data-open |
no | false |
true to start with panel open |
data-title |
no | Chat assistant | Header title text |
data-accent |
no | #4f46e5 |
Accent colour (hex) |
Use as a library
Mount the widget app in your own FastAPI (or ASGI) app:
from jims_widget import create_widget_app
widget_app = create_widget_app(my_jims_app, cors_origins=["https://example.com"])
# mount or include widget_app as needed
A demo page is served at / when running the standalone server.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jims_widget-0.5.6.tar.gz.
File metadata
- Download URL: jims_widget-0.5.6.tar.gz
- Upload date:
- Size: 12.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10c941861100be3ea32608054deb36d05da289d4a46ecb3a1d92696753851c7f
|
|
| MD5 |
fe39c13adc33bced3d636d27d293346d
|
|
| BLAKE2b-256 |
efe292390f20c10597e31b450a6acbb2ba5a8d5f01d4238fce6aa36c938d58af
|
Provenance
The following attestation bundles were made for jims_widget-0.5.6.tar.gz:
Publisher:
publish-jims-widget.yml on epoch8/vedana
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jims_widget-0.5.6.tar.gz -
Subject digest:
10c941861100be3ea32608054deb36d05da289d4a46ecb3a1d92696753851c7f - Sigstore transparency entry: 1206088646
- Sigstore integration time:
-
Permalink:
epoch8/vedana@bc0801bf59b7d01a7a0f676908018c9971e1dd8c -
Branch / Tag:
refs/tags/jims-0.5.6 - Owner: https://github.com/epoch8
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-jims-widget.yml@bc0801bf59b7d01a7a0f676908018c9971e1dd8c -
Trigger Event:
push
-
Statement type:
File details
Details for the file jims_widget-0.5.6-py3-none-any.whl.
File metadata
- Download URL: jims_widget-0.5.6-py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ccecbf8624b2197e02e956b3cb374ea8ad6d948838ec5b37da4960b2e65e9978
|
|
| MD5 |
85cbc283ff90612def488d56d4b26087
|
|
| BLAKE2b-256 |
deacec74292abbc7969e363512d21e28f6a457795d21d580de74ef7e988ae14a
|
Provenance
The following attestation bundles were made for jims_widget-0.5.6-py3-none-any.whl:
Publisher:
publish-jims-widget.yml on epoch8/vedana
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jims_widget-0.5.6-py3-none-any.whl -
Subject digest:
ccecbf8624b2197e02e956b3cb374ea8ad6d948838ec5b37da4960b2e65e9978 - Sigstore transparency entry: 1206088658
- Sigstore integration time:
-
Permalink:
epoch8/vedana@bc0801bf59b7d01a7a0f676908018c9971e1dd8c -
Branch / Tag:
refs/tags/jims-0.5.6 - Owner: https://github.com/epoch8
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-jims-widget.yml@bc0801bf59b7d01a7a0f676908018c9971e1dd8c -
Trigger Event:
push
-
Statement type: