Skip to content

Instantly share code, notes, and snippets.

View asbp's full-sized avatar

Agung Satrio Budi Prakoso asbp

View GitHub Profile
@AUAggy
AUAggy / free-claude-code-with-ollama.md
Created February 11, 2026 04:31
Running Claude Code locally with Ollama and open-source models as a free alternative to the Anthropic API

Running Claude Code Locally with Ollama and Open-Source Models as a Free Alternative to the Anthropic API

Claude Code's API costs add up fast for heavy users, often $50 to $200+/month on Opus 4.5/4.6. Ollama (v0.14.0+) now supports the Anthropic Messages API natively, which means Claude Code can run against local open-source models at zero cost, with no data leaving the machine.

This guide covers the full setup: installing Ollama and Claude Code, choosing a model that fits 16 GB of RAM, connecting the pieces, and understanding the real tradeoffs.


The Cost Problem

@a-r-d
a-r-d / convert-and-split.sh
Last active November 22, 2024 21:02
How to take an annoying APE + CUE file cd rip and convert it into a set of FLAC or MP3 files on ubuntu.
#first install all the things:
sudo apt-get install flac ffmpeg mp3splt libav-tools shntool
# Okay first lets do an MP3:
# input files:
# --> cd.ape
# --> cp.cue
# (there are other options, like bitrate, but this is just the bare bones)
avconv -i cd.ape cd.mp3