• Stars
    star
    756
  • Rank 58,082 (Top 2 %)
  • Language
  • License
    MIT License
  • Created over 7 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

โšก Awesome collection of meta tags & manifest properties.

Awesome Meta Tags & Manifest Properties Awesome PRs Welcome

Awesome collection of meta tags and manifest properties available for building progressive web applications.

Browsers Support

Desktop

  • Google Chrome
  • Mozilla Firefox
  • Opera
  • Edge
  • Safari

Mobile

  • Google Chrome
  • Firefox
  • Opera
  • Safari
  • Samsung Internet Browser
  • UC Browser (partial support)

Meta Tags

<!-- Must -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
<meta name="description" content="Description">
<meta name="keywords" content="Keywords">
<title>Page Title</title>

<!-- Android  -->
<meta name="theme-color" content="red">
<meta name="mobile-web-app-capable" content="yes">

<!-- iOS -->
<meta name="apple-mobile-web-app-title" content="Application Title">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default">

<!-- Windows  -->
<meta name="msapplication-navbutton-color" content="red">
<meta name="msapplication-TileColor" content="red">
<meta name="msapplication-TileImage" content="ms-icon-144x144.png">
<meta name="msapplication-config" content="browserconfig.xml">

<!-- Pinned Sites  -->
<meta name="application-name" content="Application Name">
<meta name="msapplication-tooltip" content="Tooltip Text">
<meta name="msapplication-starturl" content="/">

<!-- Tap highlighting  -->
<meta name="msapplication-tap-highlight" content="no">

<!-- UC Mobile Browser  -->
<meta name="full-screen" content="yes">
<meta name="browsermode" content="application">

<!-- Disable night mode for this page  -->
<meta name="nightmode" content="enable/disable">

<!-- Fitscreen  -->
<meta name="viewport" content="uc-fitscreen=yes"/>

<!-- Layout mode -->
<meta name="layoutmode" content="fitscreen/standard">

<!-- imagemode - show image even in text only mode  -->
<meta name="imagemode" content="force">

<!-- Orientation  -->
<meta name="screen-orientation" content="portrait">

Link Tags

<!-- Main Link Tags  -->
<link href="favicon-16.png" rel="icon" type="image/png" sizes="16x16">
<link href="favicon-32.png" rel="icon" type="image/png" sizes="32x32">
<link href="favicon-48.png" rel="icon" type="image/png" sizes="48x48">

<!-- iOS  -->
<link href="touch-icon-iphone.png" rel="apple-touch-icon">
<link href="touch-icon-ipad.png" rel="apple-touch-icon" sizes="76x76">
<link href="touch-icon-iphone-retina.png" rel="apple-touch-icon" sizes="120x120">
<link href="touch-icon-ipad-retina.png" rel="apple-touch-icon" sizes="152x152">

<!-- Startup Image  -->
<link href="touch-icon-start-up-320x480.png" rel="apple-touch-startup-image">

<!-- Pinned Tab  -->
<link href="path/to/icon.svg" rel="mask-icon" size="any" color="red">

<!-- Android  -->
<link href="icon-192x192.png" rel="icon" sizes="192x192">
<link href="icon-128x128.png" rel="icon" sizes="128x128">

<!-- Others -->
<link href="favicon.icon" rel="shortcut icon" type="image/x-icon">

<!-- UC Browser  -->
<link href="images/icon-52x52.png" rel="apple-touch-icon-precomposed" sizes="57x57">
<link href="images/icon-72x72.png" rel="apple-touch-icon" sizes="72x72">

<!-- Manifest.json  -->
<link href="/manifest.json" rel="manifest">

Manifest

{
  "name": "app name",
  "short_name": "short name",
  "icons": [{
    "src": "images/icons/icon-48x48.png",
    "sizes": "48x48",
    "type": "image/png"
  },
  {
    "src": "images/icons/icon-72x72.png",
    "sizes": "72x72",
    "type": "image/png"
  },
  {
    "src": "images/icons/icon-96x96.png",
    "sizes": "96x96",
    "type": "image/png"
  },
  {
    "src": "images/icons/icon-144x144.png",
    "sizes": "144x144",
    "type": "image/png"
  },
  {
    "src": "images/icons/icon-168x168.png",
    "sizes": "168x168",
    "type": "image/png"
  },
  {
    "src": "images/icons/icon-192x192.png",
    "sizes": "192x192",
    "type": "image/png"
  },
  {
    "src": "images/icons/icon-256x256.png",
    "sizes": "256x256",
    "type": "image/png"
  },
  {
    "src": "images/icons/icon-512x512.png",
    "sizes": "512x512",
    "type": "image/png"
  }],
  "gcm_sender_id": "",
  "gcm_user_visible_only": true,
  "start_url": "/?utm_source=homescreen",
  "permissions": [
    "gcm"
  ],
  "scope": "",
  "orientation": "portrait",
  "display": "standalone",
  "theme_color": "#ffffff",
  "background_color": "#ffffff"
}

Some issues in browsers & its fixes

Android

  • Icons for manifest.json, doesn't need to have many icons. Adding 192px size icon will scale perfectly for most of the devices.
  • gcm_user_visible_only key removed in Chrome 45 favor of the specified solution: userVisibleOnly.

iOS

  • In safari mobile browser, add to home screen will add black background for icon if its in PNG format. Make it as JPG to work.
  • Safari doesn't support manifest.json for add to home screen yet.

UC Browser

  • Meta tag browsermode is not working.
  • Link tag icon for home screen is not working.

Tools

References

Contributions

  • If you wish to contribute to this repository, fork it and send a PR ๐Ÿ˜ฌ.
  • And, if you like the repo, ๐ŸŒŸ it.
MIT Licensed

More Repositories

1

demo-progressive-web-app

๐ŸŽ‰ Demo for Progressive Web Application and its features.
JavaScript
943
star
2

expense.fyi

Effortlessly track and manage expenses on-the-go with categorisation and logging.
TypeScript
589
star
3

qrcodescan.in

QR Code Scanner is the simplest, fastest and most user-friendly web application.
JavaScript
249
star
4

bmrk.cc

Bookmark It. is a bookmark manager to organize, discover & personalize your bookmarks
TypeScript
189
star
5

how-to-setup-webpack-2

๐Ÿ”ง โš™ Tutorial to setup webpack 2 from scratch.
108
star
6

React-hacker-news

๐Ÿ”‘ Hacker News site using React.js (fully responsive site)
JavaScript
101
star
7

dotfiles

Setup your MacOS for web development in few minutes.
Shell
88
star
8

awesome-web-newsletters

๐Ÿ”ฅ List of awesome web related newsletter to subscribe.
62
star
9

React-google-maps

Google maps application using React.js
JavaScript
42
star
10

data-structures-and-algorithms

Basics for learning data structures and algorithms.
JavaScript
35
star
11

anonymous-web

๐Ÿ’ฌ A PreactJS powered progressive web (chat) application (Not active)
JavaScript
29
star
12

fuel-price

โ›ฝ Check fuel prices daily in most of the states in India
JavaScript
23
star
13

how-it-works

> How it works - A blog post series to explain how things work inside a javascript feature/method.
JavaScript
23
star
14

preact-pwa-boilerplate

Ready-to-rock Preact starter project with pwa support, powered by Webpack
JavaScript
21
star
15

create-react-component

A simple react component boilerplate using webpack 2
JavaScript
19
star
16

rest-api-deno

๐Ÿฆ–Todo list rest API using deno runtime!
JavaScript
18
star
17

ES6-Cheetsheets

A minimal documentation of ES6 features with cheetsheets & examples
16
star
18

subs.is

Track and organise all your subscriptions from one app, without any hassle.
TypeScript
16
star
19

Tools-I-use

A collection of tools and applications I use for Frontend Development
15
star
20

Javascript-Guidelines

Javascript Basics and Guidelines
14
star
21

habits-tracker

A habit tracker app (Made it for myself :P)
JavaScript
14
star
22

tensorflow-find-object

๐Ÿ“ธ A simple application to demonstrate TensorflowJS using mobile net model to predict objects via camera API.
JavaScript
12
star
23

hamburger-menu

๐Ÿ” Auditing of hamburger menu to result in 60fps animation
CSS
11
star
24

code-js

JS Concepts with code explaination
JavaScript
10
star
25

react-material-snackbar

A material design snack bar react component (~2KB gzipped)
JavaScript
10
star
26

js-interview-questions

Repo contains basic & famous interview questions in javascript
9
star
27

awesome-new-domains

List of awesome .new domains!
7
star
28

is-domain-available

Check domain availability
JavaScript
7
star
29

create-react-app-with-pwa-support

Create react app by facebook with progressive web application support
JavaScript
6
star
30

react-hooks-accordion

A simple accordion using react hooks ๐Ÿคช
JavaScript
6
star
31

set-default-browser

๐ŸŒ Set a browser as default browser
JavaScript
5
star
32

is-valid-ip

Check if a string is valid ip address
JavaScript
5
star
33

bmrk.cc-extensions

Extensions for bmrk.cc web application.
TypeScript
5
star
34

fingerprint-mock-web-api

CSS based fingerprint animation
HTML
4
star
35

vscode-night-mode

VS Code Extension to change custom theme in evening & revert to previous in morning
JavaScript
4
star
36

introduction-to-graphql

๐Ÿ“‰๐Ÿ“ŠIntroduction to GraphQL & its concepts, limitations etc.
JavaScript
4
star
37

react-material-spinner

A material design based spinner react component
CSS
3
star
38

movies-api-restful

Restful api for movies, cast etc
JavaScript
3
star
39

nearby-atms

Find near by atm's with last active status powered by PreactJS
JavaScript
3
star
40

talks

All my talks in one place.
3
star
41

buttondown-subscribers-count

A simple API to get the count of subscribers
JavaScript
3
star
42

how-to-setup-angular-2

Guide to get started with Angular 2 using webpack. Learn more about angular 2 by doing it from scratch.
JavaScript
3
star
43

rest-api

A example todo list rest api using express and mongodb.
JavaScript
3
star
44

wfh-abbrs

Abbreviations you should know when you are ๐Ÿ  working from home (WFH).
JavaScript
2
star
45

IndexedDB

Examples for IndexedDB API's
2
star
46

offline-web-apps

Presentation for progressive web apps
HTML
2
star
47

css-animations-60fps

A small test to analyze the css animation fps in devTools
CSS
2
star
48

gvi

๐Ÿ“ฆ Get version information of an npm package.
JavaScript
2
star
49

gatsby-lite-boilerplate

๐Ÿ’…A simple and minimalistic theme to get started with gatsby based blog
JavaScript
2
star
50

flat-btns

A simple flat buttons using css
CSS
2
star
51

dark-theme-vscode

Yet an another dark theme for vscode ๐Ÿคฏ
2
star
52

teardown

๐Ÿ’ฃ Teardown the published project in surge.sh via command line.
JavaScript
2
star
53

web-apis-and-event-listeners

A curated list of Web APIs & Event Listeners in javascript (Audio, Shadow DOM, Network, Battery, Permission etc,.
2
star
54

notify.js

A simple notification plugin written using vanilla javascript
JavaScript
2
star
55

awesome-tech-blogs

A list of Tech Blogs.
JavaScript
1
star
56

generator-html-boilerplate

A HTML generator to create a site with help of gulp.js
JavaScript
1
star
57

tic-tac-toe

Most dumbest tic tac toe game ever built using react hooks :P
JavaScript
1
star
58

chrome-splash-screen

An example for chrome splash screen & add to home screen in web apps
JavaScript
1
star
59

bun

JavaScript
1
star
60

nextjs-dashboard-template

A free NextJS based dashboard template written in appDir
TypeScript
1
star
61

gokulkrishh

gokulkrishh
1
star
62

.github

Default files
CSS
1
star
63

Sample-Node-API

Using Express 4.x.x and mongodb to create a simple API
JavaScript
1
star
64

video2gif

A simple progressive web application using preact.js to create GIF from a video.
JavaScript
1
star
65

The-Social-Web-Search

Get social hashtags , mentions results through Social Mention API.
1
star