Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
The git-scribe tool is a simple command line toolset to help you use Git, GitHub and Asciidoc to write e-books. This provides tools for setting up the structure, collaborating with co-authors, doing technical and copy-editing, handling translations, taking errata, as well as publishing online, pdf, mobi (Kindle) and epub (iBooks, Nook) versions.
The project is targeted for writing books of any length, but should also be usable for articles and stuff too, though for a while you'll have to just do it as a really short book.
Eventually, these are the feature goals for the project:
The idea is that you use the tool to generate a known structure, write in asciidoc and let the tool handle everything else for you. I want authors to be able to focus on writing and not have to worry about anything else (website, multiple format generation, etc).
A good AsciiDoc cheat sheet: http://powerman.name/doc/asciidoc#_text
This tool is a work in progress. At the 1.0 release, this file will be totally up to date, but for now I may have documented some stuff that doesn't yet work. Contact me personally if you are interested in working on it.
You can install git-scribe via RubyGems.
$ gem install git-scribe
For local generation (evenutally pushing to GitHub will handle gen for you), it depends on a couple things like:
Check if you have everything installed properly for local generation with check
:
$ git scribe check
asciidoc - ok
xsltproc - ok
a2x - ok
highlighting - ok
fop - ok
If you are on OSX and using Homebrew http://mxcl.github.com/homebrew/ you can install dependencies easily:
$ brew install asciidoc source-highlight fop
$ brew install https://raw.github.com/adamv/homebrew-alt/master/non-free/kindlegen.rb
Initialize a new book with init
:
$ git scribe init
This will set up the outline for your book. All the book content goes into the 'book' subdirectory with 'book.asc' as the starting point. If you want to split the writing up into multiple files you can simply include them in the book.asc file. The generated files have an example of this.
Then you can generate your book content with the 'git scribe gen' command:
$ git scribe gen [site|html|pdf|epub|mobi|all]
Eventually, simply pushing to GitHub will take care of this for you. For now you can test this auto-generation from the site http://gitscribe.com. Adding that URL as a post receive hook on your github project will make it try to auto-generate content on push.
See SPEC.asciidoc for what this file should look like eventually.
If you want to hack on this, fork it, improve it and send me a pull request.
To get started using it, just clone it and call the ./bin/git-scribe script directly from either the example
subdir or your own book directory. If you add a feature, make sure it's included in the example subdirectory so I can test it out.
FAQs
Unknown package
We found that git-scribe demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.