mirror of
https://github.com/khoj-ai/khoj.git
synced 2025-02-17 16:14:21 +00:00
Make Khoj chat a separate Progressive Web App (PWA) for easier access
This commit is contained in:
parent
3838f9d8e3
commit
c3c7b8a951
2 changed files with 17 additions and 1 deletions
src/khoj/interface/web
|
@ -6,7 +6,7 @@
|
|||
|
||||
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 144 144%22><text y=%22.86em%22 font-size=%22144%22>🦅</text></svg>">
|
||||
<link rel="icon" type="image/png" sizes="144x144" href="/static/assets/icons/favicon-144x144.png">
|
||||
<link rel="manifest" href="/static/khoj.webmanifest">
|
||||
<link rel="manifest" href="/static/khoj_chat.webmanifest">
|
||||
</head>
|
||||
<script>
|
||||
function formatDate(date) {
|
||||
|
|
16
src/khoj/interface/web/khoj_chat.webmanifest
Normal file
16
src/khoj/interface/web/khoj_chat.webmanifest
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"name": "Khoj Chat",
|
||||
"short_name": "Khoj Chat",
|
||||
"description": "A personal assistant for your notes",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/static/assets/icons/favicon-144x144.png",
|
||||
"sizes": "144x144",
|
||||
"type": "image/png"
|
||||
}
|
||||
],
|
||||
"theme_color": "#ffffff",
|
||||
"background_color": "#ffffff",
|
||||
"display": "standalone",
|
||||
"start_url": "/chat"
|
||||
}
|
Loading…
Add table
Reference in a new issue