Skip to content

iamobservable/p5js-editor-fetch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

p5.js Web Editor Fetch (Bash Script)

A command-line tool to backup or retrieve sketch files from the p5.js Web Editor. This script is designed for artists, designers, and developers who want to backup their work.

This project is not associated with the p5js organization.


Table of Contents

  1. Connect
  2. Donations
  3. Dependencies
  4. Installation
  5. Usage
  6. Contribution
  7. License

📢 Connect with the Observable World Community

Welcome! Join the Observable World Discord to connect with like-minded others and get real-time support. If you encounter any challenges, I'm here to help however I can!


❤️ Subscriptions & Donations

Thank you for finding this useful! Your support means the world to me. If you’d like to help me continue sharing code freely, any subscription or donation—no matter how small—would go a long way. Together, we can keep this community thriving!


Dependencies

  • jq: Command-line JSON processor

Installation

  1. Download the script:
curl -s https://raw.githubusercontent.com/iamobservable/p5js-editor-fetch/main/fetch.sh > fetch.sh
  1. Make it executable:
chmod +x fetch.sh
  1. Move to a usable bin location and add to your favorite shell path (optional):
# bash
mkdir -p $HOME/bin
mv fetch.sh $HOME/bin/
echo "\nexport PATH=\$PATH:$HOME/bin" >> $HOME/.bashrc
source $HOME/.bashrc
# zsh
mkdir -p $HOME/bin
mv fetch.sh $HOME/bin/
echo "\nexport PATH=\$PATH:$HOME/bin" >> $HOME/.zshrc
source $HOME/.zshrc

Usage

Fetch all sketches for a user

fetch.sh <user>

💪 Contribution

I am deeply grateful for any contributions to the Observable World project! If you’d like to contribute, simply fork this repository and submit a pull request with any improvements, additions, or fixes you’d like to see. I will review and consider any suggestions — thank you for being part of this journey!


License

This project is licensed under the MIT License. Find more in the LICENSE document.

About

Fetch sketch files from editor.p5js.org

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages