{"id":20834027,"url":"https://github.com/trueblocks/pintest","last_synced_at":"2025-03-12T08:45:38.617Z","repository":{"id":41549100,"uuid":"509889384","full_name":"TrueBlocks/pinTest","owner":"TrueBlocks","description":null,"archived":false,"fork":false,"pushed_at":"2022-07-04T01:03:02.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-18T21:30:23.319Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TrueBlocks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-03T00:33:14.000Z","updated_at":"2022-07-03T00:34:30.000Z","dependencies_parsed_at":"2022-09-21T12:43:45.007Z","dependency_job_id":null,"html_url":"https://github.com/TrueBlocks/pinTest","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrueBlocks%2FpinTest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrueBlocks%2FpinTest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrueBlocks%2FpinTest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrueBlocks%2FpinTest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TrueBlocks","download_url":"https://codeload.github.com/TrueBlocks/pinTest/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243188203,"owners_count":20250453,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-18T00:17:52.629Z","updated_at":"2025-03-12T08:45:38.413Z","avatar_url":"https://github.com/TrueBlocks.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IPFS Pin Test\n\n1. Create a package called `pinning` or `ipfs`\n   \n2. Make a package that we can use with these endpoings:\n\n| Function                   | Description                                                                                                          |\n| -------------------------- | -------------------------------------------------------------------------------------------------------------------- |\n| **pinning.Add(fullPath)** | Given a full path to a file, pins the file locally (if IPFS is running) and remotely (assume user has the right key) |\n| **pinning.List(remoteName)** | List pins on remote service |\n| **pinning.Remove(fullPath)** | Remove a pin from local or remote service |\n\nThese are totally off the top of my head. We can expand as needed.\n\n------\nAn alternative to this would be to find a package that already exists and does these things. In that case, this repo can become an example of how to use such a package.\n\n\nQuestions to be answered:\n--------------------------\n1. Zipping the files means we can only create them on one operating system (either Linux or Mac) because of this (https://unix.stackexchange.com/questions/570477/gzip-doesnt-produce-the-same-compressed-result-on-macos-vs-linux). I have a feeling that this extends across other linuxes as well as across Mac/Linux. It may not be worth ZIPing. File size comparison:\n\n| Type | Zipped | Not Zipped |\n|----|----|----|\n|Blooms|2.314 GB | 3.067 GB |\n|Index|41.560 GB|74.238 GB|\n\n2. What do domains do in Pinata - https://ipfs.unchainedindex.io/ipfs, https://sepolia.unchainedindex.io/ipfs. I have a feeling they don't do much.\n\n3. Could we 'package up' larger files for the `chifra init --all` case? 0-1,000,000, 1,000,000-2,000,000, etc.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrueblocks%2Fpintest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrueblocks%2Fpintest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrueblocks%2Fpintest/lists"}