{"id":22835975,"url":"https://github.com/tinygo-org/tinyfs","last_synced_at":"2026-03-10T19:32:28.564Z","repository":{"id":49020323,"uuid":"278293846","full_name":"tinygo-org/tinyfs","owner":"tinygo-org","description":"Embedded filesystems for TinyGo. Currently supports FATfs and LittleFS on microcontrollers with either SDCard or Flash RAM.","archived":false,"fork":false,"pushed_at":"2026-02-26T09:37:28.000Z","size":878,"stargazers_count":41,"open_issues_count":6,"forks_count":6,"subscribers_count":1,"default_branch":"release","last_synced_at":"2026-02-26T15:22:47.667Z","etag":null,"topics":["embedded","fatfs","flash","littlefs","microcontroller","sdcard","tinygo"],"latest_commit_sha":null,"homepage":"https://tinygo.org","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"bgould/tinyfs","license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tinygo-org.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-07-09T07:25:46.000Z","updated_at":"2026-02-15T05:32:37.000Z","dependencies_parsed_at":"2024-02-26T20:32:11.597Z","dependency_job_id":"883b729b-b681-44cc-afd4-53ba22ffecf7","html_url":"https://github.com/tinygo-org/tinyfs","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/tinygo-org/tinyfs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinygo-org%2Ftinyfs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinygo-org%2Ftinyfs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinygo-org%2Ftinyfs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinygo-org%2Ftinyfs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tinygo-org","download_url":"https://codeload.github.com/tinygo-org/tinyfs/tar.gz/refs/heads/release","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinygo-org%2Ftinyfs/sbom","scorecard":{"id":887514,"data":{"date":"2025-08-11","repo":{"name":"github.com/tinygo-org/tinyfs","commit":"4a9250042d75d95cf55e59ea2a49dd283c76885c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"name":"Code-Review","score":1,"reason":"Found 4/26 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/tinygo-org/tinyfs/build.yml/release?enable=pin","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'release'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 11 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-24T10:33:05.212Z","repository_id":49020323,"created_at":"2025-08-24T10:33:05.212Z","updated_at":"2025-08-24T10:33:05.212Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30350083,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T15:55:29.454Z","status":"ssl_error","status_checked_at":"2026-03-10T15:54:58.440Z","response_time":106,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["embedded","fatfs","flash","littlefs","microcontroller","sdcard","tinygo"],"created_at":"2024-12-12T23:00:49.144Z","updated_at":"2026-03-10T19:32:28.538Z","avatar_url":"https://github.com/tinygo-org.png","language":"C","readme":"# TinyFS \n\n[![Build](https://github.com/tinygo-org/tinyfs/actions/workflows/build.yml/badge.svg?branch=dev)](https://github.com/tinygo-org/tinyfs/actions/workflows/build.yml)\n\nTinyFS contains Go implementations of embedded filesystems. The packages in\nthis module require CGo support and are [TinyGo](https://tinygo.org/) compatible.\n\n## Supported hardware\n\nYou can use TinyFS with the following embedded hardware configurations:\n\n### Onboard Flash memory\n\nYou can use TinyFS on processors that have onboard Flash memory in the area above where the compiled TinyGo program is running.\n\n### External Flash memory\n\nYou can use TinyFS on an external Flash memory chip connected via SPI/QSPI hardware interface.\n\nSee https://github.com/tinygo-org/drivers/tree/release/flash\n\n### SD card connected via SPI/QPI\n\nYou can use TinyFS on an SD card connected via SPI/QSPI hardware interface.\n\nSee https://github.com/tinygo-org/drivers/tree/release/sdcard\n\n## LittleFS\n\nThe LittleFS file system is specifically designed for embedded applications.\n\nSee https://github.com/littlefs-project/littlefs for more information.\n\n### Example\n\nThis example runs on the RP2040 using the on-board flash in the available memory above where the program code itself is running:\n\n```\n$ tinygo flash -target pico -monitor ./examples/console/littlefs/machine/\nConnected to /dev/ttyACM0. Press Ctrl-C to exit.\nSPI Configured. Reading flash info\n==\u003e lsblk\n\n-------------------------------------\n Device Information:  \n-------------------------------------\n flash data start: 10017000\n flash data end:  10200000\n-------------------------------------\n\n==\u003e format\nSuccessfully formatted LittleFS filesystem.\n\n==\u003e mount\nSuccessfully mounted LittleFS filesystem.\n\n==\u003e ls\n==\u003e samples\nwrote 90 bytes to file0.txt\nwrote 90 bytes to file1.txt\nwrote 90 bytes to file2.txt\nwrote 90 bytes to file3.txt\nwrote 90 bytes to file4.txt\n==\u003e ls\n-rwxrwxrwx    90 file0.txt\n-rwxrwxrwx    90 file1.txt\n-rwxrwxrwx    90 file2.txt\n-rwxrwxrwx    90 file3.txt\n-rwxrwxrwx    90 file4.txt\n==\u003e cat file3.txt\n00000000: 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f     !\"#$%\u0026'()*+,-./\n00000010: 30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f    0123456789:;\u003c=\u003e?\n00000020: 40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f    @ABCDEFGHIJKLMNO\n00000030: 50 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e 5f    PQRSTUVWXYZ[\\]^_\n00000040: 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f    `abcdefghijklmno\n00000050: 70 71 72 73 74 75 76 77 78 79                      pqrstuvwxy\n```\n\nAfter unplugging and reconnecting the RP2040 device (a hard restart):\n\n```\n$ tinygo monitor\nConnected to /dev/ttyACM0. Press Ctrl-C to exit.\nSPI Configured. Reading flash info\n==\u003e mount\nSuccessfully mounted LittleFS filesystem.\n\n==\u003e ls\n-rwxrwxrwx    90 file0.txt\n-rwxrwxrwx    90 file1.txt\n-rwxrwxrwx    90 file2.txt\n-rwxrwxrwx    90 file3.txt\n-rwxrwxrwx    90 file4.txt\n==\u003e cat file3.txt\n00000000: 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f     !\"#$%\u0026'()*+,-./\n00000010: 30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f    0123456789:;\u003c=\u003e?\n00000020: 40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f    @ABCDEFGHIJKLMNO\n00000030: 50 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e 5f    PQRSTUVWXYZ[\\]^_\n00000040: 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f    `abcdefghijklmno\n00000050: 70 71 72 73 74 75 76 77 78 79                      pqrstuvwxy\n```\n\n## FAT FS\n\nThe FAT file system is not currently working, due to https://github.com/tinygo-org/tinygo/issues/3460.\n\n","funding_links":[],"categories":["Embedded Systems"],"sub_categories":["General use"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinygo-org%2Ftinyfs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftinygo-org%2Ftinyfs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinygo-org%2Ftinyfs/lists"}