furaffinity
A gem to interface with FurAffinity, along with a neat little CLI.
Installation
gem install furaffinity
Usage
CLI usage is as follows:
fa auth cookie-a cookie-b
fa notifications
fa upload my_image.png --title "test post please ignore" --description "This is an image as you can see" --rating general --scrap
export EDITOR=vi
fa edit 54328944
There is also a way to upload submissions in bulk: fa queue
export EDITOR=vi
fa queue init my_queue
cd my_queue
cp ~/Pictures/pic*.png .
fa queue add pic1.png
fa queue add pic2.png pic3.png
fa queue status
vi pic2.png.info.yml
fa queue reorder
fa queue upload
fa queue clean
Development
After checking out the repo, run bin/setup
to install dependencies.
To install this gem onto your local machine, run bundle exec rake install
. To release a new version, update the version number in version.rb
, and then run bundle exec rake release
, which will create a git tag for the version, push git commits and the created tag, and push the .gem
file to rubygems.org.
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/nilsding/furaffinity. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.
License
The gem is available as open source under the terms of the AGPLv3 License.
Code of Conduct
Everyone interacting in the Furaffinity project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.