

It’s called HackShelf


It’s called HackShelf


Let’s create a community then? :)


Thank you so much, I appreciate your comments. It means a lot to me. :)
The only reason why I did this project was because someone showed up in my feed with a post about a DS Lite hack. We’re all inspiring each other haha :D
However for me this is not on topic for selfhosting
I’m always struggling to find the right community for posting. Which place would be the best?


Exactly, yes. And I use the Raspberry Pi Zero 2W as a WiFi AP (RPi is connected to my home network and to my DS Lite) because the Nintendo DS Lite only supports WEP encryption. So that the DS Lite is able able to send requests to my inference on the MacBook Air


This is the model:
{
"data" : [
{
"context_window" : 4096,
"created" : 1719792000,
"id" : "apple-foundationmodel",
"notes" : "Apple on-device model via FoundationModels framework. Unsupported parameters are rejected with 400 when present (except n=1 and logprobs=false). Supported languages: it, zh, fr, en, nb, fr, da, es, es, es, vi, zh, de, pt, tr, en, zh, sv, nl, ja, en, ko, pt",
"object" : "model",
"owned_by" : "apple",
"supported_parameters" : [
"temperature",
"max_tokens",
"seed",
"stream",
"tools",
"tool_choice",
"response_format",
"x_context_strategy",
"x_context_max_turns",
"x_context_output_reserve"
],
"unsupported_parameters" : [
"logprobs",
"n",
"stop",
"presence_penalty",
"frequency_penalty"
]
}
],
"object" : "list"
}
and I’m running it on a MacBook Air M4 16 GB. “Apfel” (the CLI tool) is kinda a wrapper around it and exposes an OpenAI compatible API.


That’s really cool!


I use the Kaico DSpico Flashcart and on the RPi Zero 2W I use a bash script (because I don’t want to host it permanently) with hostapd, iw, dnsmasq, socat, and iproute2. For HTTP and JSON I use my own implementation, no library. The rest is documented in the post.
Did some experiments with my DS Lite and ended up with this. Using DevkitPro libs (libnds, dswifi, calico). Apfel on macOS and a wifi (WEP) bridge running on a RPi Zero 2W. 🖤


I changed the title


Thank you


Thank you, you know these days small things make me happy


all of it. I’m not using anything outside of my own local area network.


Uhm, I figured out that people don’t like it. However, for me, it was a nice little project and it brightened my day.


deleted by creator


CleanMyMac was actually pretty helpful this time. Could free up ~20 GB disk space and I’m thinking about offloading Xcode compile caches to an external drive. My disk space is heavily influenced by homebrew, software caches, dependencies and files regarding software. I have 5 GB documents in my Documents/Image folder, no videos at all and no music. Images very few. But I will see, next time I do a larger upgrade (maybe December) I will go for at least 1 TB space and 16 GB memory, whatever it will be.


I’m thinking about different scenarios right now. I could get a Raspberry Pi 5 and use it, and if I decide to switch back to macOS I could still use it as a device with GPIO pins for other stuff or for docker containers. Otherwise, a Mini PC could be potentially more powerful but then a laptop would be handy if I just want a device that I can carry into the backyard and use it there, so my MacBook could be stationary. It’s a hard choice to be honest :D


Technically this would work for most parts but it’s not beautiful


I’d like to experiment with the device first and if everything is running smoothly stay on the device or upgrade to a slightly more expensive device if it’s not smooth. I’m a Mac user ever since and I have absolutely no experience with other computers (hardware).
** If I upgrade later on, I can still use the bought hardware as a home server, so I didn’t waste money here


Can confirm this.
https://programming.dev/c/HackShelf
I haven’t posted yet but for any upcoming project I will use it =)