Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable Web-App in Apple devices #2075

Open
jimToo opened this issue Feb 23, 2024 · 1 comment
Open

enable Web-App in Apple devices #2075

jimToo opened this issue Feb 23, 2024 · 1 comment
Labels
3rd party interoperability with third-party platforms help-wanted help-wanted question

Comments

@jimToo
Copy link

jimToo commented Feb 23, 2024

Hello, does anybody know how to enable shaarli as a web-app in iOS?

e.g. here is an example: https://forums.developer.apple.com/forums/thread/104611

Is this possible to implement it in shaarli?

Jim

@nodiscc nodiscc added question 3rd party interoperability with third-party platforms help-wanted help-wanted labels Feb 24, 2024
@nodiscc nodiscc added this to the backlog to the future milestone Feb 24, 2024
@RolandTi
Copy link

RolandTi commented Mar 11, 2024

You can give a look and feel of an app by using somes <head> attribute, see on Stack theme : https://github.com/RolandTi/shaarli-stack/blob/main/stack/_inc/includes.html

<!-- Favicons & cie -->
<link rel="apple-touch-icon" sizes="180x180" href="{$asset_path}/favicons/apple-touch-icon.png?v=4#">
<link rel="icon" type="image/png" sizes="32x32" href="{$asset_path}/favicons/favicon-32x32.png?v=3#">
<link rel="icon" href="{$asset_path}/favicons/favicon.svg?v=3#" type="image/svg+xml"><!-- New responsive icon -->
<link rel="manifest" href="{$asset_path}/favicons/site.webmanifest?v=3#">
<link rel="shortcut icon" href="{$asset_path}/favicons/favicon.ico?v=3#">
<meta name="apple-mobile-web-app-title" content="{$shaarlititle}">
<meta name="application-name" content="{$shaarlititle}">
<meta name="theme-color" content="#ffffff" />

(Generated from https://realfavicongenerator.net/)

If you want offline cache and the ability to share a link from the share menu, it's a completely different thing.

Here is a preview from my "web-app".

Capture d’écran   2024-03-11 à 18 46 21 jpeg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3rd party interoperability with third-party platforms help-wanted help-wanted question
Projects
None yet
Development

No branches or pull requests

3 participants