Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
github.com/tim-st/go-zim
Package zim
implements reading support for the ZIM File Format.
Documentation at https://pkg.go.dev/github.com/tim-st/go-zim.
Download and install package zim
and its tools with
go get -u github.com/tim-st/go-zim/...
or download a prebuilt binary from the release-section.
You can download a ZIM file for testing here.
The command above installs the tools of this package to $GOPATH/bin/
.
Tool for browsing a ZIM file in your webbrowser via an HTTP interface.
zimserver -filename="filename.zim" -port=8080
http://localhost:8080/
/
in the URLTool for creating a full text index of a given ZIM file.
Tool that lists search results for a given ZIM file and text query.
If no index file created by zimindex
is found, a builtin prefix search is used. Otherwise the index file is used to retrieve search results sorted by score, where the search result can be calculated by union or intersection operation.
Tool to extract clean texts from a Wikipedia ZIM file. Each clean HTML paragraph is written on a single line in a text file.
zimtext -zim="filename.zim" -txt="lines.txt" -limit=1000
zimtext -zim="filename.zim" -txt="lines.txt"
zimtext -zim="filename.zim" -txt="lines.txt" -limit=1000 -sentences
zimtext -zim="filename.zim" -txt="lines.txt" -sentences
Example:
zimtext -zim="wikipedia_de_top_nopic_2019-08.zim" -txt="de.txt" -limit=10000 -regexFilter="^(?:\p{Lu}|\p{N})[ \pL\pN\,\;\:\-]{10,}[\.\)\]\?\"…«»›‹‘“’”]{1}$"
FAQs
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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.