diff --git a/content/avatars/0.11311584587670742.jpg b/content/avatars/0.11311584587670742.jpg new file mode 100644 index 00000000..638b01be Binary files /dev/null and b/content/avatars/0.11311584587670742.jpg differ diff --git a/content/clouds/84238508.png b/content/clouds/84238508.png new file mode 100644 index 00000000..83625fd8 Binary files /dev/null and b/content/clouds/84238508.png differ diff --git a/content/clouds/84238508_02.png b/content/clouds/84238508_02.png new file mode 100644 index 00000000..63506068 Binary files /dev/null and b/content/clouds/84238508_02.png differ diff --git a/content/clouds/84238508_03.png b/content/clouds/84238508_03.png new file mode 100644 index 00000000..b267f629 Binary files /dev/null and b/content/clouds/84238508_03.png differ diff --git a/content/clouds/84238508_04.png b/content/clouds/84238508_04.png new file mode 100644 index 00000000..87bbd686 Binary files /dev/null and b/content/clouds/84238508_04.png differ diff --git a/content/clouds/94904822_01.png b/content/clouds/94904822_01.png new file mode 100644 index 00000000..4218c172 Binary files /dev/null and b/content/clouds/94904822_01.png differ diff --git a/content/clouds/94904822_02.png b/content/clouds/94904822_02.png new file mode 100644 index 00000000..6b760623 Binary files /dev/null and b/content/clouds/94904822_02.png differ diff --git a/content/clouds/94904822_03.png b/content/clouds/94904822_03.png new file mode 100644 index 00000000..ff0e80bc Binary files /dev/null and b/content/clouds/94904822_03.png differ diff --git a/content/clouds/94904822_04.png b/content/clouds/94904822_04.png new file mode 100644 index 00000000..e9447a47 Binary files /dev/null and b/content/clouds/94904822_04.png differ diff --git a/content/media/.emptyFolderPlaceholder b/content/media/.emptyFolderPlaceholder new file mode 100644 index 00000000..e69de29b diff --git a/content/media/1728134492983-fa07195a-f69e-4cbb-a11a-a3e993e49d14-Coastline Aerial.avif b/content/media/1728134492983-fa07195a-f69e-4cbb-a11a-a3e993e49d14-Coastline Aerial.avif new file mode 100644 index 00000000..f5b60f7a Binary files /dev/null and b/content/media/1728134492983-fa07195a-f69e-4cbb-a11a-a3e993e49d14-Coastline Aerial.avif differ diff --git a/content/media/1728135332883-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg b/content/media/1728135332883-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg new file mode 100644 index 00000000..2415794e Binary files /dev/null and b/content/media/1728135332883-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg differ diff --git a/content/media/1728136550422-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg b/content/media/1728136550422-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg new file mode 100644 index 00000000..44e79bbb Binary files /dev/null and b/content/media/1728136550422-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg differ diff --git a/content/media/1728136636588-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg b/content/media/1728136636588-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg new file mode 100644 index 00000000..3ccf874e Binary files /dev/null and b/content/media/1728136636588-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg differ diff --git a/content/media/1728136939831-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg b/content/media/1728136939831-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg new file mode 100644 index 00000000..9473a623 Binary files /dev/null and b/content/media/1728136939831-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg differ diff --git a/content/media/1728137124705-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg b/content/media/1728137124705-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg new file mode 100644 index 00000000..c7875bfa Binary files /dev/null and b/content/media/1728137124705-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg differ diff --git a/content/media/1728137392051-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg b/content/media/1728137392051-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg new file mode 100644 index 00000000..9ea068a4 Binary files /dev/null and b/content/media/1728137392051-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg differ diff --git a/content/media/1728214612210-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg b/content/media/1728214612210-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg new file mode 100644 index 00000000..e13b0e01 Binary files /dev/null and b/content/media/1728214612210-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg differ diff --git a/content/media/1729343605288-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg b/content/media/1729343605288-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg new file mode 100644 index 00000000..ae6fabcd Binary files /dev/null and b/content/media/1729343605288-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg differ diff --git a/content/media/1729343895649-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg b/content/media/1729343895649-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg new file mode 100644 index 00000000..ef51bd0b Binary files /dev/null and b/content/media/1729343895649-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg differ diff --git a/content/media/1729344868410-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg b/content/media/1729344868410-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg new file mode 100644 index 00000000..e1c53a00 Binary files /dev/null and b/content/media/1729344868410-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg differ diff --git a/content/media/1729344870943-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg b/content/media/1729344870943-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg new file mode 100644 index 00000000..e1c53a00 Binary files /dev/null and b/content/media/1729344870943-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg differ diff --git a/content/media/1729344981717-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg b/content/media/1729344981717-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg new file mode 100644 index 00000000..e1c53a00 Binary files /dev/null and b/content/media/1729344981717-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg differ diff --git a/content/media/1729345007700-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg b/content/media/1729345007700-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg new file mode 100644 index 00000000..e1c53a00 Binary files /dev/null and b/content/media/1729345007700-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg differ diff --git a/content/media/1730620648559-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg b/content/media/1730620648559-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg new file mode 100644 index 00000000..dc17f9f8 Binary files /dev/null and b/content/media/1730620648559-fa07195a-f69e-4cbb-a11a-a3e993e49d14-screenshot.jpg differ diff --git a/content/storageExtraction.py b/content/storageExtraction.py new file mode 100644 index 00000000..30c994e9 --- /dev/null +++ b/content/storageExtraction.py @@ -0,0 +1,52 @@ +import os +from supabase import create_client, Client + +def init_supabase_client(): + url = "http://127.0.0.1:54321" + key = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0" + return create_client(url, key) + +def fetch_files_from_bucket(supabase: Client, bucket_name: str): + storage = supabase.storage.from_(bucket_name) + response = storage.list() + return response # This returns a list of files directly + +def download_file_from_bucket(supabase: Client, bucket_name: str, file_name: str, download_path: str): + storage = supabase.storage.from_(bucket_name) + print(f"Attempting to download: {bucket_name}/{file_name}") + try: + file_data = storage.download(file_name) + with open(download_path, 'wb') as file: + file.write(file_data) + print(f"Downloaded {file_name} to {download_path}") + except Exception as e: + print(f"Error downloading {file_name}: {e}") + +def create_directory_for_bucket(bucket_name: str): + directory_path = os.path.join(os.getcwd(), bucket_name) + if not os.path.exists(directory_path): + os.makedirs(directory_path) + return directory_path + +def download_files_from_buckets(supabase: Client, bucket_names: list): + for bucket_name in bucket_names: + print(f"Processing bucket: {bucket_name}") + files = fetch_files_from_bucket(supabase, bucket_name) + bucket_directory = create_directory_for_bucket(bucket_name) + for file in files: + file_name = file['name'] + download_path = os.path.join(bucket_directory, file_name) + try: + print(f"Downloading file: {file_name} to {download_path}") + download_file_from_bucket(supabase, bucket_name, file_name, download_path) + except Exception as e: + print(f"Error downloading {file_name}: {e}") + print(f"Finished downloading files from bucket: {bucket_name}\n") + +def main(): + supabase = init_supabase_client() + bucket_names = ['anomalies', 'zoodex', 'media', 'avatars', 'clouds', 'telescope'] + download_files_from_buckets(supabase, bucket_names) + +if __name__ == "__main__": + main() \ No newline at end of file diff --git a/content/telescope/100879215.png b/content/telescope/100879215.png new file mode 100644 index 00000000..86b44a36 Binary files /dev/null and b/content/telescope/100879215.png differ diff --git a/content/telescope/101178991.png b/content/telescope/101178991.png new file mode 100644 index 00000000..3adaba30 Binary files /dev/null and b/content/telescope/101178991.png differ diff --git a/content/telescope/36776833.jpeg b/content/telescope/36776833.jpeg new file mode 100644 index 00000000..03f72428 Binary files /dev/null and b/content/telescope/36776833.jpeg differ diff --git a/content/telescope/3774358.png b/content/telescope/3774358.png new file mode 100644 index 00000000..ff02fdef Binary files /dev/null and b/content/telescope/3774358.png differ diff --git a/content/telescope/41432028.jpeg b/content/telescope/41432028.jpeg new file mode 100644 index 00000000..c9c9d45f Binary files /dev/null and b/content/telescope/41432028.jpeg differ diff --git a/content/telescope/41434047.jpeg b/content/telescope/41434047.jpeg new file mode 100644 index 00000000..e69bed83 Binary files /dev/null and b/content/telescope/41434047.jpeg differ diff --git a/content/telescope/46366425.jpeg b/content/telescope/46366425.jpeg new file mode 100644 index 00000000..4f6abc5e Binary files /dev/null and b/content/telescope/46366425.jpeg differ diff --git a/content/telescope/46374544.jpeg b/content/telescope/46374544.jpeg new file mode 100644 index 00000000..c2f14dd2 Binary files /dev/null and b/content/telescope/46374544.jpeg differ diff --git a/content/telescope/54946413.jpeg b/content/telescope/54946413.jpeg new file mode 100644 index 00000000..38a8157c Binary files /dev/null and b/content/telescope/54946413.jpeg differ diff --git a/content/telescope/54947992.jpeg b/content/telescope/54947992.jpeg new file mode 100644 index 00000000..ba321ad9 Binary files /dev/null and b/content/telescope/54947992.jpeg differ diff --git a/content/telescope/54948407.jpeg b/content/telescope/54948407.jpeg new file mode 100644 index 00000000..5de149cb Binary files /dev/null and b/content/telescope/54948407.jpeg differ diff --git a/content/telescope/69163612.jpeg b/content/telescope/69163612.jpeg new file mode 100644 index 00000000..5e4ded98 Binary files /dev/null and b/content/telescope/69163612.jpeg differ diff --git a/content/telescope/69164744.jpeg b/content/telescope/69164744.jpeg new file mode 100644 index 00000000..2e736adb Binary files /dev/null and b/content/telescope/69164744.jpeg differ diff --git a/content/telescope/69165042.jpeg b/content/telescope/69165042.jpeg new file mode 100644 index 00000000..4c319834 Binary files /dev/null and b/content/telescope/69165042.jpeg differ diff --git a/content/telescope/69165953.jpeg b/content/telescope/69165953.jpeg new file mode 100644 index 00000000..a9c2a1e3 Binary files /dev/null and b/content/telescope/69165953.jpeg differ diff --git a/content/telescope/69166150.jpeg b/content/telescope/69166150.jpeg new file mode 100644 index 00000000..3a0ed7a3 Binary files /dev/null and b/content/telescope/69166150.jpeg differ diff --git a/content/telescope/69173163.jpeg b/content/telescope/69173163.jpeg new file mode 100644 index 00000000..63af0a65 Binary files /dev/null and b/content/telescope/69173163.jpeg differ diff --git a/content/telescope/69173819.jpeg b/content/telescope/69173819.jpeg new file mode 100644 index 00000000..1e27cc1c Binary files /dev/null and b/content/telescope/69173819.jpeg differ diff --git a/content/telescope/69174537.jpeg b/content/telescope/69174537.jpeg new file mode 100644 index 00000000..fe9b41f8 Binary files /dev/null and b/content/telescope/69174537.jpeg differ diff --git a/content/telescope/83739280.jpeg b/content/telescope/83739280.jpeg new file mode 100644 index 00000000..fcf306ff Binary files /dev/null and b/content/telescope/83739280.jpeg differ diff --git a/content/telescope/83740302.jpeg b/content/telescope/83740302.jpeg new file mode 100644 index 00000000..b2c91026 Binary files /dev/null and b/content/telescope/83740302.jpeg differ diff --git a/content/telescope/83740762.jpeg b/content/telescope/83740762.jpeg new file mode 100644 index 00000000..3f1ed6d6 Binary files /dev/null and b/content/telescope/83740762.jpeg differ diff --git a/content/telescope/83742405.jpeg b/content/telescope/83742405.jpeg new file mode 100644 index 00000000..8055ed53 Binary files /dev/null and b/content/telescope/83742405.jpeg differ diff --git a/content/telescope/87655022.jpeg b/content/telescope/87655022.jpeg new file mode 100644 index 00000000..faf34f08 Binary files /dev/null and b/content/telescope/87655022.jpeg differ diff --git a/content/telescope/87658669.jpeg b/content/telescope/87658669.jpeg new file mode 100644 index 00000000..e6212a58 Binary files /dev/null and b/content/telescope/87658669.jpeg differ diff --git a/content/telescope/87659096.jpeg b/content/telescope/87659096.jpeg new file mode 100644 index 00000000..bbbdc1f1 Binary files /dev/null and b/content/telescope/87659096.jpeg differ diff --git a/content/telescope/87659996.jpeg b/content/telescope/87659996.jpeg new file mode 100644 index 00000000..2fcc6a1a Binary files /dev/null and b/content/telescope/87659996.jpeg differ diff --git a/content/telescope/88336832.jpeg b/content/telescope/88336832.jpeg new file mode 100644 index 00000000..b41ba2db Binary files /dev/null and b/content/telescope/88336832.jpeg differ diff --git a/content/telescope/88341827.jpeg b/content/telescope/88341827.jpeg new file mode 100644 index 00000000..412cae04 Binary files /dev/null and b/content/telescope/88341827.jpeg differ diff --git a/content/telescope/90670192.png b/content/telescope/90670192.png new file mode 100644 index 00000000..0a131881 Binary files /dev/null and b/content/telescope/90670192.png differ diff --git a/content/telescope/91262833.png b/content/telescope/91262833.png new file mode 100644 index 00000000..c76f3cbe Binary files /dev/null and b/content/telescope/91262833.png differ diff --git a/content/telescope/91393611.png b/content/telescope/91393611.png new file mode 100644 index 00000000..3abeaa34 Binary files /dev/null and b/content/telescope/91393611.png differ diff --git a/content/telescope/91397859.png b/content/telescope/91397859.png new file mode 100644 index 00000000..a87ec31d Binary files /dev/null and b/content/telescope/91397859.png differ diff --git a/content/telescope/91849610.png b/content/telescope/91849610.png new file mode 100644 index 00000000..13efe10b Binary files /dev/null and b/content/telescope/91849610.png differ diff --git a/content/telescope/91994994.png b/content/telescope/91994994.png new file mode 100644 index 00000000..699e6eff Binary files /dev/null and b/content/telescope/91994994.png differ diff --git a/content/telescope/91999896.png b/content/telescope/91999896.png new file mode 100644 index 00000000..9a61d31b Binary files /dev/null and b/content/telescope/91999896.png differ