Could not connect to the Processing server to install libraries

The links to the libraries are available here:
https://download.Processing.org/contribs Thanks @GoToLoop for providing this!
I would save a copy of this somewhere in case it is not available in the future for any reason!

Adding a Processing library:
Adding a Processing Li... | Wiki | UAL Creative Computing Institute

Some code I wrote to save a file with links or name of zip file (modify for this):

String [] contrib;
int count = 0;

void setup()
  {
  contrib = loadStrings("https://download.processing.org/contribs");
  for(int i=0; i< contrib.length; i++)
    {
    if (contrib[i].contains("download="))
      {
      
      //links  
      println(contrib[i].substring(9));
      
      //zip
      //int lastIndex = contrib[i].lastIndexOf("/");
      //String ss = contrib[i].substring(lastIndex+1);
      //println(ss);
      count++;
      }
    } 
  println("Count: ", count);
  
  String links [] = new String [count]; 
  
  int ix=0; 
  for(int i=0; i< contrib.length; i++)
    {    
    if (contrib[i].contains("download="))
      {
      links[ix++] = contrib[i].substring(9);
      }
    }
  saveStrings("links.txt", links);   
  }

You can certainly download them one at a time.

I used wget to archive all the zip files locally:

I had some fun downloading them all in Processing and also with command-line scripts.
I will leave this adventure for the enthusiastic!

:)

1 Like