librespeed / librespeed/speedtest-go

Anyway to have the html file run independently from the Go File Server?

Open
#26 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
HTML
Stars
875
Forks
183
PR merge metrics
No merged PRs in 30d

Description

Description

Could there be a way to have the index.html file to run independently from the go endpoint/file server. Basically, if I wanted to integrate this into an existing React/Vue project it doesn't seem like it can work. When I run the index.html file by itself using a Python server or React it isn't able to ping the Rest endpoints for /garbage /empty etc. Any chance this is possible?

Why it should be implemented

This would benefit anyone looking to port this project into an already existing React/Vue/Js project.

Thank you!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by examining index.html and the Go file server, then trace the REST endpoints mentioned in the issue, including /garbage and /empty. Determine how the page currently reaches those endpoints and define the behavior needed for the HTML to work when served independently by Python or an existing React/Vue project.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, javascript, react
Domain
api, backend, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.