Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
github.com/euripidean/final-project
This package allows you to visualize data from a Google Sheets spreadsheet in a web browser. You can pass the ID of the Google Sheets spreadsheet as a flag at runtime, and the program will read the data from the spreadsheet, marshal it into a JSON object, and save it to a file. The program will then read the JSON object and display the data in an HTML bar chart using D3.js.
Clone the repository
Run go build
in the root directory
Run the executable using go run main.go
with the following flags:
-sid
(optional): The ID of the Google Sheets spreadsheet you want to visualize. If you don't pass it as a flag, the default value will be the value of the SPREADSHEET_ID
environment variable.-f
(optional): The name of the file where the JSON data will be saved (default: data.json
). This will also be the name of the HTML file that will be served.Open a web browser and navigate to http://localhost:3030/<file>.html
to see the visualizations
`API_KEY` - Your Google Cloud Console API key, which must have the Google Sheets API enabled
`SPREADSHEET_ID` - The ID of the Google Sheets spreadsheet you want to visualize. This is optional, as you can pass it as a flag at runtime. However, if you don't pass it as a flag, the default value will be the value of this environment variable.
`READ_RANGE` - The range of the Google Sheets spreadsheet you want to read. I recommend using the range `Sheet1!A1:Z1000` to read the entire sheet.
API_KEY
environment variable-sid
(required): The ID of the Google Sheets spreadsheet you want to visualize-file
(optional): The name of the file where the JSON data will be saved (default: data.json
). This will also be the name of the HTML file that will be served.http://localhost:5500/<file>.html
to see the visualizationsFAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.