Coder Social home page Coder Social logo

nuxtlabs / vue-telescope-analyzer Goto Github PK

View Code? Open in Web Editor NEW
348.0 4.0 44.0 390 KB

Detect Vue technologies running on a website ✨

Home Page: https://vuetelescope.com

License: GNU General Public License v3.0

JavaScript 99.22% HTML 0.78%
vue showcase nuxt gridsome vuepress quasar-framework vuetify tailwindcss

vue-telescope-analyzer's Introduction

Vue Telescope Analyzer

CLI to analyze a website and detect Vue and its ecosystem ✨

This module is used by vuetelescope.com to detect Vue and its ecosystem on a website.

You can help the community discover new Vue websites by using the browser extension 💚

Installation

npm i -g vue-telescope-analyzer

Usage

vta [url]

# Example
vta https://nuxt.com

render1585566509798

It supports multiple frameworks, UI libraries and Vue plugins.

Frameworks

To support a new Vue framework, please look at detectors/frameworks.json.

UI Libraries

To support a new UI library, please look at detectors/uis.json.

Vue Plugins

To support a new Vue plugin, please look at detectors/plugins.json.

Nuxt Info

When Nuxt is detected as a framework, it will also detect:

  • If the website is server-rendered (mode: 'universal')
  • If the website is static (nuxt generate)

See detectors/nuxt.meta.json for the detection.

It will also detect the Nuxt modules used, refer to detectors/nuxt.modules.json to support new Nuxt modules.

NPM Module

You can use vue-telescope-analyzer locally on your project:

npm install vue-telescope-analyzer # Or yarn add vue-telescope-analyzer

Then you can use the module in your project:

const analyze = require('vue-telescope-analyzer')

analyze('https://nuxt.com')
  .then(result => console.log(result))
  .catch(error => console.error(error))

Result:

{ url: 'https//nuxt.com/',
  hostname: 'nuxt.com',
  domain: 'nuxt.com',
  meta:
   { language: 'en',
     title: 'Nuxt: The Intuitive Vue Framework · Nuxt',
     description:
      'Nuxt is an open source framework that makes web development intuitive and powerful. Create performant and production-grade full-stack web apps and websites with confidence.',
     siteName: 'Nuxt',
     isAdultContent: false },
  vueVersion: '3.4.21',
  hasSSR: true,
  isStatic: true,
  framework:
   { slug: 'nuxtjs',
     name: 'Nuxt',
     imgPath: '/framework/nuxt.svg',
     url: 'https://nuxt.com',
     version: '3.10.3' },
  plugins:
   [ { slug: 'vue-router',
       name: 'vue-router',
       imgPath: null,
       url: 'https://router.vuejs.org/' } ],
  ui:
   { slug: 'tailwind-css',
     name: 'Tailwind CSS',
     imgPath: '/ui/tailwind.svg',
     url: 'https://tailwindcss.com/' },
  frameworkModules:
   [ { slug: 'nuxt-content',
       name: '@nuxt/content',
       imgPath: null,
       url: 'https://content.nuxtjs.org' },
     { slug: 'nuxtjs-color-mode',
       name: '@nuxtjs/color-mode',
       imgPath: null,
       url: 'https://color-mode.nuxtjs.org' },
     { slug: 'nuxt-ui', name: '@nuxt/ui', imgPath: null, url: 'https://ui.nuxt.com' },
     { slug: 'nuxt-ui-pro',
       name: '@nuxt/ui-pro',
       imgPath: null,
       url: 'https://ui.nuxt.com/pro' } ],
  screenshot: '/var/folders/.../00b97a2040a9aeffc8d5c9d855d2643a.jpg' }

Contributing

  1. Clone this repository
  2. Install dependencies using yarn install or npm install
  3. Update the code right inside src/ or detectors/
  4. Test it with ./bin/vta.js https://your-url-to-test
  5. If you add a new detector, please add the icon in icons/ (SVG cleaned with SVGOMG)

License

MIT License

vue-telescope-analyzer's People

Contributors

alfonsobries avatar astagi avatar atinux avatar baroshem avatar bdrtsky avatar benjamincanac avatar bloodf avatar bobbiegoede avatar cagataycivici avatar codebender828 avatar dalferth avatar danielroe avatar dimshik100 avatar divine avatar farnabaz-i18n avatar floflosciante avatar flrnt avatar guillaume-souillard avatar guillempm avatar hzooly avatar jaimetorrealba avatar kabbouchi avatar kaikaibenkai avatar lexpeartha avatar logaretm avatar lvzhenbo avatar mercs600 avatar posva avatar thornwalli avatar xfq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

vue-telescope-analyzer's Issues

Detect Vuesax

It will be nice if vuesax is also available in the uis

A timeout occured while analyzing, please try again later

Version

vue-telescope-analyzer: website

Reproduction Link

https://www.vuetelescope.com/

Steps to reproduce

Go to the home page of Vue Telescope and try to save new a website

What is Expected?

Esxpected to have a success message your website has been added successfuly

What is actually happening?

But got A timeout occured while analyzing, please try again later
with the request code 200

wrong firefox addon url on website

Current url https://addons.mozilla.org/en-GB/firefox/addon/vue-telemetry/

Real url https://addons.mozilla.org/en-GB/firefox/addon/vue-telescope/

Version

vue-telescope-analyzer:

Reproduction Link

Steps to reproduce

  1. Don't install Vue Telescope
  2. See the image
    2022-06-14_09-44

What is Expected?

What is actually happening?

Detect Vue 3

Is your feature request related to a problem? Please describe.

We cannot detect Vue 3 at the moment.

Describe the solution you'd like

Detecting Vue 3 websites, examples:

  • jaysonu.com
  • icones.netlify.app

Describe alternatives you've considered

Additional context

  • use window.__VUE__ to detect whether Vue 3 is on the page (will be true instead of the version number, since it's technically possible to have multiple apps using different versions of Vue 3 on the same page)
  • Once we detect Vue 3, we can do document.querySelectorAll('[data-vue-app]') to get all the app container elements
  • On each app container element, the app instance is exposed as __vue_app__
  • The app instance exposes .version and .config.devtools

Blur NSFW Content/Site images

Is your feature request related to a problem? Please describe.

I was just going through the site and exploring showcase section when I saw a NSFW site listed and also NSFW images popping out.

Describe the solution you'd like

Maybe add some blur to images when the website includes NSFW stuffs. Not sure how it can be done, but I suppose NSFW stuffs are not to be displayed by default ??

Additional context

Found this particular one hanime.tv while going through Nuxt, Vuetify sorted by popularity.

Official Website retrieves Spawn ENOMEM error.

Version

vue-telemetry-analyzer: Web(latest?)

Reproduction Image

imagen

Steps to reproduce

Looks like the error comes from any website that is not into the db and don't use Vue.
Open the web, search for netamorphosis.com.

What is Expected?

Spawn Enomem Nodejs Error.

What is actually happening?

I think Nodejs runs out of memory.
Found about it here: SlackOverflow Nodejs catch Enomem

bug: `@nuxt/image` recognised even when it's not actually used

Version

vue-telescope-analyzer: v0.9.14

Reproduction Link

Deployed build: https://nuxt-xstate.netlify.app/
Source code (playground of the module): https://github.com/Lexpeartha/nuxt-xstate

Steps to reproduce

Just deploying the given code

What is Expected?

Extension shows only used modules/libraries

What is actually happening?

Extension actually shows that site uses image module, even tho It doesn't even have a plain old image

Tested on some other small projects like this, similar case. @nuxt/image is "recognised" even if it isn't there

Analyze page size

  • HTML Size
  • Payload size (if SSR)
  • Scripts (+ if preload in header)
  • Image sizes (and if preload)

Improve nuxt detection

Is your feature request related to a problem? Please describe.

Checking window.$nuxt is unreliable as users can change the globalName

Describe the solution you'd like

Check the nuxt client's inner nuxt property

Describe alternatives you've considered

na

Additional context

This should work el.__vue__.nuxt and otherwise el.__vue__.$root.nuxt

This website is using windicss, and not tailwind css.

Version

vue-telescope-analyzer: 1.9.0

Steps to reproduce

  1. Go to www.BroJenuel.com
  2. Click Telescope Extension
  3. It shows tailwind instead of windicss
    image

What is Expected?

It should show windicss instead of tailwind since the website is using windicss.

What is actually happening?

It is showing tailwindcss instead of windicss

NuxtJS website not detected as made with VueJS in Vue Telescope website even if it's the case

Version

vue-telescope-analyzer (Chrome extension) : v1.5.4

Steps to reproduce

Go to https://biererieshelton.com/ and open the Vue Telescope extension to confirm detection of VueJS with NuxtJS, plugins and modules, then go to https://vuetelescope.com/ and enter https://biererieshelton.com/ to submit the lookup of the website.

What is Expected?

That VueJS and NuxtJS should be also detected like it's the case with the Vue Telescope Chrome extension:
image

What is actually happening?

I got the message that VueJS isn't detected in the Vue Telescope website https://vuetelescope.com/:
Capture d’écran 2021-09-05 104825

Why this is happening? I would like to submit the website I made with NuxtJS (and I had a lot of fun to work with this stack).

Maybe it's because the website is hosted with Firebase? I don't know and I hope you would find out why.

Thank you

can not login in vuetelescope with github

Uploading 화면 기록 2023-07-07 오전 10.04.08.mov…

Version

vue-telescope-analyzer:

Reproduction Link

Steps to reproduce

  1. connect https://vuetelescope.com
  2. try login process
  3. move github authenticate process
  4. redirect to vuetelescope.com

What is Expected?

login nomarly

What is actually happening?

not login

Extension doesn't work on the localhost

Version

1.6.1

Steps to reproduce

  1. Run your website on a localhost
  2. Try using extension

What is Expected?

Just extension gotta work

What is actually happening?

When you run your website on a localhost and when you click on the extension it says: Please enter an url in the address bar.

Screenshot

image

Harlem support

Support for recognizing Harlem as a vue plugin. It could be done in a similar way it is currently done with pinia, and I would be more than happy to make PR if I get a green light 👍🏽

vue-telescope-analyzer introduces meaningless dependencies causing vue-vue-telescope-extensions to crash the page

Version

vue-telescope-analyzer: v0.9.21

Reproduction Link

vue-telescope-analyzer
vue-telescope-extensions

Steps to reproduce

  1. Install vue-telescope-extensions
  2. Open https://bing.com
  3. The memory occupied by Chrome continues to increase, eventually causing it to crash.

What is Expected?

When opening https://bing.com, there will be no memory leaks and the page and browser will not crash.

What is actually happening?

In fact, opening https://bing.com causes the page and browser to crash within seconds of opening it.

Website + Plugin is broken "

Version

vue-telescope-analyzer: 1.6.1

Steps to reproduce

Just go on the website, enter an url. It errors:

Klein (Bildschirm­foto 2023-02-11 um 06 28 24)

Network Tab:

{
    "error": true,
    "message": "FetchError: request to https://awis.api.alexa.com/api?Action=urlInfo&Output=json&ResponseGroup=Rank&Url=madebyfabian.com failed, reason: getaddrinfo ENOTFOUND awis.api.alexa.com"
}

The extension "Save" button also does not work, suppose it's the same.

What is Expected?

No error :)

What is actually happening?

Error :)

Unable to submit a site (presumably when using cloudflare proxy)

Steps to reproduce

Try to submit modworkshop.net, a site that use Nuxt 3.

What is Expected?

The site is added to the database.

What is actually happening?

image endlessly.

Our site uses cloudflare and I am almost sure it is due to that since it has no problem if we give it api.modworkshop.net which doesn't use cloudflare and reports properly:
image

Cross-Origin request blocked

Version

The one used on vuetelescope.com

Reproduction Link

vuetelescope.com

Steps to reproduce

  1. Go to the website
  2. Put any URL

What is Expected?

Getting the analysis result

What is actually happening?

Nothing, the website keeps loading. The console show a CORS error.
I tried multiple navigators, VPN, private navigation, still get the same error.

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://service.vuetelescope.com/?url=upwork.com&isPublic=true. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 429.
image

Vue Storefront as a UI framework

Shouldn't Vue storefront be listed as a UI framework as it is fundamentally a Nuxt app?

I'm curious to understand why you would classify it as a framework. Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.