$ ./nisten_hffs.py
╭────────────────────────────────────────╮
│ 🐱 NISTEN HFFS v1.0 │
│ HuggingFace FileSystem │
╰────────────────────────────────────────╯
→ Repository: nisten/cats_4b_bfloat16
→ Folder: nisten_cats
🔌 Mounting nisten/cats_4b_bfloat16...
✓ Read mount ready
✓ Write cache ready
✅ READY at ~/nisten_cats/
Press Ctrl+C to unmounthuggingface-cli login # First time only
./nisten_hffs.py$ ./nisten_hffs.py
→ Repository: YOUR_USERNAME/YOUR_REPO # Enter your repo
→ Folder: my_mount # Pick folder name to be mounted on your home dir❌ Writes/Sync to HF every 2 minutes, can be configured
❌ Deletions don't sync (Git limitation)
❌ Max write: RAM/2 (so it's 16gb file if you only have 32GB, can be configured)
❌ Can't edit existing files, only add new ( this will be fixed )
# "Not authenticated"
huggingface-cli login
# "FUSE not found"
sudo apt-get install fuse
# "Mount failed"
fusermount -u ~/folder # Clear old mount
rm /tmp/.nisten_hffs.lock
# "No space left"
df -h /dev/shm # Check RAM disk
# Solution: Write smaller files
# Mount hanging
pkill -f nisten_hffs
fusermount -u ~/folder
# Can't see files
ls ~/folder/READ/ # Files here
ls ~/folder/WRITE/ # Your uploads hereHuggingFace ←──[2 min sync]── WRITE/
│ │
[stream] [RAM cache]
│ │
READ/ ←──────[~/folder/]──────┘
/\_/\
( o.o ) Made with 🐱 by Nisten
> ^ < Zero disk. Pure vibes.