We are currently experiencing payment processing issues. Our team is working to resolve the problem as quickly as possible. Thank you for your patience
fakku-content: a command line tool for front page content
1
Hey everybody!,
I'm finally out of the shadow of object level coverage at work so I thought I would dust off the fakku-toolchain and write another tool. This new tool, titled fakku-content, currently prints out the content from the front page of fakku to the command line in the following form (I do want to add page support at some point in the future):
[i]name[/i] - { [i]tags[/i] } - [i]url[/i]
where the tags are separated by commas. I skip Topics as that would be a separate fakku-topics program. Anyway, the neat thing about this tool is that works well with pipes for instance lets say that I wanted some delicious vanilla (Not at all showing my preferences here :D) then I could do:
fakku-content | grep Vanilla
But lets say that wasn't enough, what if I wanted to get rid of yaoi as well:
fakku-content | grep Vanilla | grep Hentai
But wait, what about those pesky raws?
fakku-content | grep Vanilla | grep Hentai | grep -v Raw
But lets just eliminate Incest for good measure as well
fakku-content | grep Vanilla | grep Hentai | grep -v Raw | grep -v Incest
The nice thing is that I could put this in a script as well and execute it with the flick of a keyboard (and call it something like [i]delicious-vanilla[/i]) whenever I want.
If you want to try it out you need go 1.3 or greater (originally I wrote the fakku-toolchain with go 1.3 but have migrated to 1.4 recently).
Here are the steps for installation:
go get github.com/DrItanium/fakku-toolchain
go install github.com/DrItanium/fakku-toolchain/cmd/fakku-content
I am working on making it a one step deal but that should be fine for now. If you want to try out the other commands here are the ones I have finished at the time of this posting:
go install github.com/DrItanium/fakku-toolchain/cmd/fakku-poll
go install github.com/DrItanium/fakku-toolchain/cmd/fakku-tags
go install github.com/DrItanium/fakku-toolchain/cmd/fakku-api-changes
Note that currently fakku-api-changes returns 503 :/