Skip to content

Commit

Permalink
bring in newer web manifest created by @ragekit in go-shiori#919
Browse files Browse the repository at this point in the history
Signed-off-by: Mel <[email protected]>
  • Loading branch information
melnary committed Dec 10, 2024
1 parent 205af39 commit 2fb757f
Showing 1 changed file with 38 additions and 25 deletions.
63 changes: 38 additions & 25 deletions internal/view/assets/res/manifest.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,39 @@
{
"start_url": "/",
"short_name": "Shiori",
"background_color": "",
"url": "/",
"lang": "English",
"name": "Shiori",
"display": "standalone",
"orientation": "any",
"share_target": {
"action": "/share-target/",
"method": "GET",
"params": {
"title": "title",
"text": "text",
"url": "url"
}
},
"icons": [
{
"src": "/assets/res/apple-touch-icon-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
]
}
"name": "Shiori",
"short_name": "Shiori",
"description": "Shiori is a simple bookmarks manager written in the Go language. Intended as a simple clone of Pocket. You can use it as a command line application or as a web application. This application is distributed as a single binary, which means it can be installed and used easily.",
"display": "standalone",
"start_url": "/",
"lang": "en",
"background_color": "#f44336",
"theme_color": "#f44336",
"icons": [
{
"src": "/assets/res/apple-touch-icon-144x144.png",
"type": "image/png",
"sizes": "144x144"
},
{
"src": "/assets/res/apple-touch-icon-152x152.png",
"type": "image/png",
"sizes": "152x152",
"purpose": "maskable"
},
{
"src": "/assets/res/apple-touch-icon-512x512.png",
"type": "image/png",
"sizes": "512x512",
"purpose": "any"
}
],
"share_target": {
"action": "/api/v1/pwa/share-target",
"method": "POST",
"enctype": "multipart/form-data",
"params": {
"title": "title",
"text": "text",
"url": "url"
}
}
}

0 comments on commit 2fb757f

Please sign in to comment.