jan/app/public/icons/Jan.svg
Louis 20dbc02c03
Refactor Jan into an Electron app (#175)
* hackathon: Refactor Jan into an Electron app

* chore: correct NextJS export output path

* chore: build electron app for all production targets

* fix: correct assetPrefix for production build

* chore: preferences shortcut

* chore: refactor

* chore: refactor into ts

* feature/#52-compile-plugin-with-webpack

* chore: introduce renderer <=> plugins <=> main invocation

* chore: suppress errors - deprecate graphql & next-auth

* chore: data plugin functions

* add llm support

Signed-off-by: James <james@jan.ai>

* chore: update plugin

* chore: introduce data-plugin

* chore: plugin invokes main with args and synchronously

* chore: install db plugin should setup db

* feature: Data Driver Plugin - Load conversations and messages from data plugin

* chore: store text message sent

* chore: shared core services

* feature: inference service

* chore: conversations ordering

* adding model management service

Signed-off-by: James <james@jan.ai>

* chore: strict type

* feature: abstract plugin preferences

* chore: abstract plugin preference

* Revert "chore: strict type"

This reverts commit 9be188d827a0b2e081e9e04b192c323799de5bb5.

* chore: base-plugin styling

* feature: create and delete conversation

* chore: fix plugin search & clean messages

* chore: typing indicator

* chore: refactor useSendChatMessage

* chore: persists inserted id to in-memory messages

* chore: search conversation history

* add delete and download model (#189)

Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>

* chore: add empty state for conversation list

* chore: prompt missing extension function & fix app crashes

* chore: prompt user to install required plugins

* chore: add launch background

* chore: relaunch app on model downloaded

* Jan app add installation instruction (#191)

Co-authored-by: Hien To <>

* Chore: rename folder web-client to app (#192)

* Chore: rename folder web-client to app
---------

Co-authored-by: Hien To <>

* revert: add pre-install package

* add progress for downloading model

Signed-off-by: James <james@jan.ai>

* feature: production bundle

* add download progress

Signed-off-by: James <james@jan.ai>

* chore: add new chat function

* fix: electron asar unpack modules & dynamic import

* chore: fix unpack

* chore: fix dev pack

* Add instruction to build dmg file to README.md

* init model dynamically

Signed-off-by: James <james@jan.ai>

---------

Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
Co-authored-by: NamH <NamNh0122@gmail.com>
Co-authored-by: hiento09 <136591877+hiento09@users.noreply.github.com>
Co-authored-by: Hien To <>
2023-09-24 20:42:58 -07:00

6 lines
3.1 KiB
XML

<svg width="28" height="13" viewBox="0 0 28 13" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M5.67052 0.363281H8.10234V8.47692C8.10234 9.22692 7.93378 9.87843 7.59665 10.4315C7.26332 10.9845 6.79931 11.4106 6.20461 11.7099C5.60991 12.0091 4.91862 12.1587 4.13075 12.1587C3.42999 12.1587 2.79362 12.0356 2.22165 11.7894C1.65347 11.5394 1.20272 11.1606 0.869382 10.6531C0.536049 10.1417 0.371276 9.49964 0.375064 8.72692H2.82393C2.8315 9.03374 2.894 9.29699 3.01143 9.51669C3.13264 9.7326 3.29741 9.89927 3.50575 10.0167C3.71787 10.1303 3.96787 10.1871 4.25575 10.1871C4.55878 10.1871 4.81446 10.1228 5.02279 9.99396C5.23491 9.86139 5.3959 9.66821 5.50575 9.41442C5.61559 9.16063 5.67052 8.84813 5.67052 8.47692V0.363281Z" fill="black"/>
<path d="M12.5796 12.1644C12.0228 12.1644 11.5266 12.0678 11.091 11.8746C10.6554 11.6777 10.3107 11.3879 10.0569 11.0053C9.80688 10.619 9.68188 10.1379 9.68188 9.56215C9.68188 9.0773 9.7709 8.6701 9.94893 8.34055C10.127 8.01101 10.3694 7.74586 10.6762 7.5451C10.983 7.34434 11.3315 7.19283 11.7217 7.09055C12.1156 6.98828 12.5285 6.91631 12.9603 6.87465C13.4679 6.82161 13.877 6.77237 14.1876 6.72692C14.4982 6.67767 14.7235 6.60571 14.8637 6.51101C15.0039 6.41631 15.0739 6.27616 15.0739 6.09055V6.05646C15.0739 5.69661 14.9603 5.41821 14.733 5.22124C14.5095 5.02427 14.1914 4.92578 13.7785 4.92578C13.3429 4.92578 12.9963 5.02237 12.7387 5.21555C12.4811 5.40495 12.3107 5.64358 12.2273 5.93146L9.9887 5.74965C10.1023 5.21934 10.3258 4.76101 10.6592 4.37465C10.9925 3.98449 11.4224 3.68525 11.9489 3.47692C12.4792 3.2648 13.0929 3.15874 13.7898 3.15874C14.2747 3.15874 14.7387 3.21555 15.1819 3.32919C15.6289 3.44283 16.0247 3.61896 16.3694 3.8576C16.7179 4.09624 16.9925 4.40305 17.1932 4.77805C17.394 5.14927 17.4944 5.59434 17.4944 6.11328V11.9996H15.1989V10.7894H15.1307C14.9906 11.0621 14.8031 11.3027 14.5682 11.511C14.3334 11.7156 14.0512 11.8765 13.7217 11.994C13.3921 12.1076 13.0114 12.1644 12.5796 12.1644ZM13.2728 10.494C13.6289 10.494 13.9432 10.4239 14.216 10.2837C14.4887 10.1398 14.7027 9.94662 14.858 9.70419C15.0133 9.46177 15.091 9.18715 15.091 8.88033V7.95419C15.0152 8.00343 14.911 8.04889 14.7785 8.09055C14.6497 8.12843 14.5039 8.16442 14.341 8.19851C14.1781 8.22881 14.0152 8.25722 13.8523 8.28374C13.6895 8.30646 13.5417 8.3273 13.4092 8.34624C13.1251 8.3879 12.877 8.45419 12.6648 8.5451C12.4527 8.63601 12.2879 8.75912 12.1705 8.91442C12.0531 9.06593 11.9944 9.25533 11.9944 9.4826C11.9944 9.81215 12.1137 10.064 12.3523 10.2383C12.5948 10.4087 12.9016 10.494 13.2728 10.494Z" fill="black"/>
<path d="M21.7927 6.95419V11.9996H19.3722V3.27237H21.679V4.81215H21.7813C21.9745 4.30457 22.2984 3.90305 22.7529 3.6076C23.2075 3.30836 23.7586 3.15874 24.4063 3.15874C25.0124 3.15874 25.5408 3.29131 25.9915 3.55646C26.4423 3.82161 26.7927 4.2004 27.0427 4.69283C27.2927 5.18146 27.4177 5.7648 27.4177 6.44283V11.9996H24.9972V6.87465C25.001 6.34055 24.8646 5.92389 24.5881 5.62465C24.3116 5.32161 23.9309 5.1701 23.4461 5.1701C23.1203 5.1701 22.8324 5.24018 22.5824 5.38033C22.3362 5.52048 22.1431 5.72502 22.0029 5.99396C21.8665 6.25911 21.7965 6.57919 21.7927 6.95419Z" fill="black"/>
</svg>