Hwinfo build thread

Yes. You can see the project at the state it was at, when I started on the QC project here:

I described most of it, in the readme file, but to summarize here:

The site is at it’s core, a generic pastebin, with inbuilt parsers, for common system information applications, like hwinfo, lsblk, lsusb or even the Steam System Information windows.

The site will present the users with a regular text area to paste the output into and a drop-down menu, where they can select the command that they ran/will run.
When a command is selected, it will display a help menu, showing exactly how to run it and with what parameters and you can click a button to copy the command.
For each command, you get three options (presented behind three tabs)

  • Copy+Paste command
    This shows the bare-bones command to run. For commands that support json output, this is the format that will be shown.
  • Command including curl
    This will run the command and upload it in one go and include your current unique ID number, so you can find your report (if no ID is provided, a random one will be generated and returned to the user in the terminal)
  • A download button for a simple bash script
    The script will check for the existence of the sysinfo programs and curl on your system before running and will display a helpful message if they are not found.
    If all programs are available, it will run them and upload the results.

The site will also support other people generating a report request, so you might get 3 text areas with commands and instructions pre-selected as well as a single bash file that will run all commands in one go.
This is particularly useful in support situations, where someone asks for help related to their graphics and the people trying to help can request the output of hwinfo, xrandr and glxinfo in one report.
For the QC site, this will also mean that developers can choose only to accept applications that have included the output of hwinfo in their application (there will be a text field to paste the UUID generated from your report) or perhaps even an automatic report submission, if you use their report-generator link.

Only pre-selected and safe commands will be available, so you cannot inject malicious commands in the bash script and then link to it.

There are some additional features of the site, but I think those are the main points.