News for hackers. Stuff that matters.
Re:Design and Implementation of Sprites by boundlessdreamz on Thursday January 15, 2026 @01:46PM (#46637186)
Is there a way to copy files to/from the sprite? Couldn't see an option for that in the CLI
Re:Design and Implementation of Sprites by tptacek on Thursday January 15, 2026 @01:52PM (#46637297)
There's an FS API that shipped yesterday:

    /fs/read?path=X   | GET           | Read file (supports Range headers)           
    /fs/write?path=X  | PUT           | Write file (body = raw bytes)                
    /fs/list?path=X   | GET           | List directory 
    /fs/delete?path=X | DELETE/POST   | Delete files/dirs                            
    /fs/rename        | POST          | Rename/move                                  
    /fs/copy          | POST          | Copy files/dirs                              
    /fs/chmod         | POST          | Change permissions                           
    /fs/chown         | POST          | Change ownership                             
    /fs/watch         | GET (WebSock) | Watch for filesystem changes                 
It'll get CLI support very soon.

But I've just been using magic-wormhole for this.

Re:Design and Implementation of Sprites by Imustaskforhelp on Thursday January 15, 2026 @07:11PM (#46641351)
Piping server is another interesting idea for ephemeral transfers They are pretty cool!

https://github.com/nwtgck/piping-server

Re:Design and Implementation of Sprites by aostiles on Thursday January 15, 2026 @03:41PM (#46638983)
I was trying to copy a directory and used:

Pull from sprite to local: sprite exec -s my-sprite sh -c "tar -czf - /home/sprite/<my_dir>" | tar -xzf - -C ./

Push from local to sprite: COPYFILE_DISABLE=1 tar -czf - <my_dir> | sprite exec -s my-sprite sh -c "tar -xzf - -C /home/sprite/"

Re:Design and Implementation of Sprites by MildlySerious on Thursday January 15, 2026 @03:35PM (#46638887)
I would love to just mount a directory via SFTP, so I can use my IDE alongside the far-away Claude. That would put this in the realm of daily use for development.
Re:Design and Implementation of Sprites by mrkurt on Thursday January 15, 2026 @03:15PM (#46638543)
`cat file.txt | sprite exec -s <name> bash -c "cat > ~/file.txt"` is my go to.