microsoft / microsoft/onnxruntime-inference-examples
Replace deprecated light-server with lite-server for onnxruntime-web
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.7k
- Forks
- 414
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 14
Description
The current instructions for running onnxruntime-web use the command npx light-server -s . -p 8080, but this depends on the light-server package, which is deprecated and unmaintained. See https://github.com/txchen/light-server?tab=readme-ov-file
A possible solution is to use lite-server instead, which is a lightweight and customized version of BrowserSync that also offers a static server and live reload. See https://www.npmjs.com/package/lite-server
The steps to use lite-server are:
Install it as a dev dependency with npm install lite-server --save-dev or yarn add lite-server --dev
Run it with npx lite-server
It will open the default browser on the page of the static server created
Contributor guide
No contributing guide indexed for this repository
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
Locate the onnxruntime-web instructions containing the npx light-server -s . -p 8080 command. Update the setup and run instructions to install and invoke lite-server, then verify that npx lite-server starts the static server and opens the example page.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 68/100