google / asset-check Goto Github PK
View Code? Open in Web Editor NEWCheck your .well-known/assetlinks.json file on the cli
Home Page: https://developers.google.com/digital-asset-links/v1/getting-started
License: Apache License 2.0
Check your .well-known/assetlinks.json file on the cli
Home Page: https://developers.google.com/digital-asset-links/v1/getting-started
License: Apache License 2.0
Support include
statements as valid markup
As described in the following documentation: https://developers.google.com/identity/smartlock-passwords/android/associate-apps-and-sites#example_associate_apps_with_multiple_websites
Display the URL of the include file, to enable the developer to check that file too.
Validation should fail if the include statement is mixed with other definitions.
When a URL is submitted, attempt to check the default location of the assetlinks.json file.
E.g. www.example.com
=> https://www.example.com/.well-known/assetlinks.json
Instead of throwing an "Unhandled 'error' event", report the lack of https connection gracefully.
Example of error below:
events.js:154
throw er; // Unhandled 'error' event
^
Error: connect ECONNREFUSED 35.202.93.55:443
at Object.exports._errnoException (util.js:856:11)
at exports._exceptionWithHostPort (util.js:879:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1062:14)
Check all site entries don't include a path component to the URL.
Fail validation if the path component is included.
The value of the default user agent starts with user-agent:
which in our case led to some strange problems, because the header looked like User-Agent: user-agent:Mozilla/5.0[...]
When the assetlinks.json
file is hosted, ensure that the robots.txt
file doesn't exclude access to it.
Fail validation if the robot.txt file excludes access to the .well-known/assetlinks.json
file.
Able to download apple-app-site-association file and list associated links
Create a functional test (so it shouldn't be run by default) that tests a large set of known-good URLs. This would indicate that the tool doesn't generate false negatives when used in the real world.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.