{"id":13559286,"url":"https://github.com/droyo/jsonfs","last_synced_at":"2025-12-30T02:27:14.817Z","repository":{"id":66909553,"uuid":"66033082","full_name":"droyo/jsonfs","owner":"droyo","description":"Serve a JSON file as a file system over 9P","archived":false,"fork":false,"pushed_at":"2016-09-12T04:58:52.000Z","size":10,"stargazers_count":34,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-04T10:44:04.755Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/droyo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-08-18T21:53:23.000Z","updated_at":"2024-09-28T17:07:07.000Z","dependencies_parsed_at":"2023-05-13T16:00:17.871Z","dependency_job_id":null,"html_url":"https://github.com/droyo/jsonfs","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/droyo%2Fjsonfs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/droyo%2Fjsonfs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/droyo%2Fjsonfs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/droyo%2Fjsonfs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/droyo","download_url":"https://codeload.github.com/droyo/jsonfs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247018523,"owners_count":20870014,"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-08-01T13:00:17.031Z","updated_at":"2025-12-30T02:27:14.787Z","avatar_url":"https://github.com/droyo.png","language":"Go","funding_links":[],"categories":["Servers"],"sub_categories":["Learning"],"readme":"# WORK IN PROGRESS\n\nThis is a demo/toy program to test the implementation and performance of\nthe [net/styx](https://aqwari.net/net/styx) package, which itself is a\nwork in progress. If you are having trouble getting things to work, ensure\nyou have checked out the latest version of the `aqwari.net/net/styx`\npackage.\n\n# BUILD\n\n\tgo build\n\n# USE\n\nStart jsonfs on port 5640:\n\n\t./jsonfs -a localhost:5640 example.json\n\nUsing plan9port's `9pfuse` utility, mount the fs:\n\n\t9pfuse localhost:5640 /mnt/jsonfs\n\nIf you have a recent (2.6+) linux kernel, you can\nmount using the kernel's `v9fs` implementation.\nUnfortunately you'll need root access to do so\nwithout modifying `/etc/fstab`:\n\n\tsudo modprobe 9p\n\tsudo mount -t 9p -o \\\n\t\ttcp,name=`whoami`,uname=`whoami`,port=5640 \\\n\t\t127.0.0.1 /mnt/jsonfs\n\t\nTry looking around\n\n\t$ ls /mnt/jsonfs\n\tapiVersion data\n\t$ cat /mnt/jsonfs/apiVersion\n\t2.0\n\nYou should see output from jsonfs, such as\n\n\taccepted connection from 127.0.0.1:36602\n\t→ 65535 Tversion msize=8192 version=\"9P2000\"\n\t← 65535 Rversion msize=8192 version=\"9P2000\"\n\t→ 000 Tattach fid=1 afid=NOFID uname=\"droyo\" aname=\"\"\n\t← 000 Rattach qid=\"type=128 ver=0 path=1\"\n\t→ 000 Twalk fid=1 newfid=2 \"apiVersion\"\n\t← 000 Rwalk wqid=\"type=0 ver=0 path=2\"\n\t→ 000 Topen fid=2 mode=0\n\t← 000 Ropen qid=\"type=0 ver=0 path=2\" iounit=0\n\t→ 000 Tread fid=2 offset=0 count=8168\n\t← 000 Rread count=3\n\t→ 000 Tread fid=2 offset=3 count=8168\n\t← 000 Rread count=0\n\nWhen using example.json, the tree hierarchy should look\nsomething like this:\n\n\t$ tree /mnt/jsonfs\n\t/mnt/jsonfs\n\t├── apiVersion\n\t└── data\n\t    ├── items\n\t    │   └── 0\n\t    │       ├── accessControl\n\t    │       │   ├── comment\n\t    │       │   ├── commentVote\n\t    │       │   ├── embed\n\t    │       │   ├── list\n\t    │       │   ├── rate\n\t    │       │   ├── syndicate\n\t    │       │   └── videoRespond\n\t    │       ├── aspectRatio\n\t    │       ├── category\n\t    │       ├── commentCount\n\t    │       ├── content\n\t    │       │   ├── 1\n\t    │       │   ├── 5\n\t    │       │   └── 6\n\t    │       ├── description\n\t    │       ├── duration\n\t    │       ├── favoriteCount\n\t    │       ├── id\n\t    │       ├── player\n\t    │       │   └── default\n\t    │       ├── rating\n\t    │       ├── ratingCount\n\t    │       ├── status\n\t    │       │   ├── reason\n\t    │       │   └── value\n\t    │       ├── tags\n\t    │       │   ├── 0\n\t    │       │   ├── 1\n\t    │       │   └── 2\n\t    │       ├── thumbnail\n\t    │       │   ├── default\n\t    │       │   └── hqDefault\n\t    │       ├── title\n\t    │       ├── updated\n\t    │       ├── uploaded\n\t    │       ├── uploader\n\t    │       └── viewCount\n\t    ├── itemsPerPage\n\t    ├── startIndex\n\t    ├── totalItems\n\t    └── updated\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdroyo%2Fjsonfs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdroyo%2Fjsonfs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdroyo%2Fjsonfs/lists"}