sitespeedio / sitespeedio/sitespeed.io
lighthouse + npm + inside docker using shell file provided for npm installs
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 5k
- Forks
- 624
- Avg merge
- 4h 8m
- Merged PRs (30d)
- 2
Description
Your question
I am unable to use lighthouse and google page speed index with sitespeed.io and I was not able to find any configuration for it
I am using dockerfile in which I use the shell file provided for sitespeed installation using npm
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -y \
curl \
wget \
bash \
ca-certificates \
sudo \
git \
&& rm -rf /var/lib/apt/lists/*
COPY docker_files/install-sitespeed.io-and-dependencies-ubuntu.sh /install-sitespeed-ubuntu.sh
RUN chmod +x /install-sitespeed-ubuntu.sh
RUN /install-sitespeed-ubuntu.sh
WORKDIR /sitespeed.io
CMD ["bash"]
The command I am running is as follows
sitespeedio@b241c2e33d32:~$ sitespeed.io https://www.sitespeed.io --xvfb -b chrome --video false --visualmetrics false --headless true --browsertime.chrome.args no-sandbox
How can I include lighthouse and gpsi metrics in this?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Dockerfile and docker_files/install-sitespeed.io-and-dependencies-ubuntu.sh to understand how sitespeed.io and its dependencies are installed. Then inspect the sitespeed.io command and its browser options, using the requested Lighthouse and GPSI metrics as the completion criteria.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, javascript, shell
- Domain
- devops, performance
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100