Code Monkey home page Code Monkey logo

viewport's Introduction

What is my viewport?

A nice tool to discover some useful information about your current viewport, browser and OS. ๐ŸŽ‰
Available at myviewport.com ๐ŸŒ

๐Ÿ’Ž Stack

Built with Svelte, it uses the global window, navigator, screen, localStorage, sessionStorage and document.cookie objects in order to retrieve information about the current user's viewport.

The CSS is self-made, no framework; it also uses GitHub Actions as the CI/CD and GitHub Pages as the host, with a custom domain provided by Google Domains.

To get more acurate information about the OS it uses the bowser package - which parses the userAgent string and returns an object with nice info.

๐Ÿ“ Contributing

You can contribute to this project following the steps below:

  • Fork the repo
  • Create a new branch
  • Do the work
  • Fill a PR, assign it to you and, if possible, write a cool description
  • Wait for the review

Also, take a look at the contributing guide!

๐Ÿ’ป Developing

After forking and cloning the project in your local environment, run the following commands:

# install dependencies
npm i
# or yarn

# run the project at localhost:5000
npm run dev
# or yarn dev

# run the tests
npm run test
# or yarn test

๐Ÿ” License

Licensed under the MIT License.

viewport's People

Contributors

jlozovei avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

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.