Git Product home page Git Product logo

lighthouse-keeper's People

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

Watchers

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

lighthouse-keeper's Issues

Clarification about credentials

Hello,

I tried to run the service locally; However I can't because

You will be prompted to for a passphrase to decrypt serviceAccount.json.enc and memcacheCredentials.json.enc. These files are required for the backend to communicate with Firestore and the Redis memcache service. The password can be found in Google's shared password tool.

so I guess this project was an internal thing and now it's something public on the internet.

How to make possible run my own version of the service? What's the format the configuration file should be followed?

Question: I can't follow up with README.md to decrypt the JSON file

Hi, I am following with README to decrypt the service account and memcache JSON files
when I set a simple passphrase, I got error as below:


enter aes-256-cbc decryption password:
bad decrypt
4521469548:error:06FFF064:digital envelope routines:CRYPTO_internal:bad decrypt:/BuildRoot/Library/Caches/com.apple.xbs/Sources/libressl/libressl-22.260.1/libressl-2.6/crypto/evp/evp_enc.c:533:

I would like to know is this passphrase connectted with other account or just simple passphrase for my local.

Setup dev/prod data

For dev/testing, it would be a good idea to keep our prod data separate from dev. Especially once we have users :)

  • Cloud storage buckets for dev/prod. (Already have buckets defined for prod (webdotdevsite.appspot.com) and staging (staging.webdotdevsite.appspot.com)
  • Firestore urls for dev/prod. Need to set this up.

And probably control it with an ENV flag when you start server.mjs.

Create a way to block URLs from being tracked

If an owner pings us and asks that we prevent anyone from tracking their URL, we should be able to blacklist it and inform folks with an error message. E.g. "The owner of this domain has disabled tracking for it." or something like that.

A user should not be able to fake their timestamp

A user should only be able to see historical data for a URL from the point in which they began tracking it. They should not be able to use something like curl to send a timestamp that's one day earlier and see the previous day's results.

Parallelize more work

In lighthouse-data.mjs there are opportunities to parallelize some of the promises in saveReport. We touch memcache, firestore several times, and cloudstorage to update metadata, cache entries, and (re-save) reports.

We could push some of these onto an array and use await Promise.all().

I'll explore this once https://github.com/GoogleChrome/lighthouse-keeper/pull/10/files is in. Want to benchmark it too :)

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.