Skip to content
This repository has been archived by the owner on Dec 10, 2017. It is now read-only.
/ Hackpad-Export Public archive

Script to export pads and associated images from Hackpad.com

License

Notifications You must be signed in to change notification settings

SamR1/Hackpad-Export

Repository files navigation

Hackpad-Export

Script to export pads and associated images :

  • from search on Hackpad.com
  • all pads associated to the user

If you use Jingo, you can import .md files to your self-hosted Jingo.
(Note: some differences exist between the Markdown notation exported from HackPad and the notation used in Jingo).

Prerequisites :

How-To :

  • update the parameter file:
    • consumer_key and consumer_secret: see your API key in your account settings
    • subdomain: mysubdomain for http://mysubdomain.hackpad.com, leave empty if you're not using a subdomain
    • format: 'md', 'html' or 'txt'
    • for Jingo (only for hackpad-exportFromSearch.py) :
      • import : true to activate import in Jingo (Note : if only the md format is configured)
      • parameters to connect to the server where Jingo is hosted
      • directories where files are stored (on my server, md files and images are not in the same directory)
  • run the script:
    • to export pads resulting from search:
    $ python hackpad-exportFromSearch.py keyword
    
    • to export all Pads:
    $ python hackpad-exportAllPads.py
    

All pads for which you have access are exported in temp directory with images (and imported in Jingo, if configured).
Be aware of Hackpad.com API parameters (the number of returned results has to be adjusted in the parameter file (no pagination system))

Sources

hackpad.py : light version of Falicon/Python-Hackpad-API

About

Script to export pads and associated images from Hackpad.com

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages