Launch offer — 40% off every tier for a limited time. Prices shown are already reduced.
Stacks / Code / Atlas / fetch-sources.sh
fetch-sources.sh 90 lines · 4061 B · bash
#!/usr/bin/env bash
# Fetch the exact upstream sources for this tier, reproducibly.
# Pinned to specific commits. Licences: see ATTRIBUTION.md
set -euo pipefail

DEST="${1:-./sources}"
mkdir -p "$DEST"

# --- ollama/ollama (MIT)
echo "fetching ollama/ollama @ 1abe35e6e6"
curl -sL --max-time 300 -o "$DEST/ollama.tar.gz" \
  "https://codeload.github.com/ollama/ollama/tar.gz/1abe35e6e6e777e858bbfbba283667ee8d516801"

# --- ggml-org/llama.cpp (MIT)
echo "fetching ggml-org/llama.cpp @ 0c1e57098b"
curl -sL --max-time 300 -o "$DEST/llama.cpp.tar.gz" \
  "https://codeload.github.com/ggml-org/llama.cpp/tar.gz/0c1e57098bba43ac29e6e3b677cdceebdd22334f"

# --- huggingface/text-generation-inference (Apache-2.0)
echo "fetching huggingface/text-generation-inference @ b4adbf2f6e"
curl -sL --max-time 300 -o "$DEST/text-generation-inference.tar.gz" \
  "https://codeload.github.com/huggingface/text-generation-inference/tar.gz/b4adbf2f6e2e721280bd0ea5f91d70f7d033f5ed"

# --- vllm-project/vllm (Apache-2.0)
echo "fetching vllm-project/vllm @ 36229e1337"
curl -sL --max-time 300 -o "$DEST/vllm.tar.gz" \
  "https://codeload.github.com/vllm-project/vllm/tar.gz/36229e1337ae0e44e60075a11ebfde210c11d706"

# --- mudler/LocalAI (MIT)
echo "fetching mudler/LocalAI @ 62e0827cba"
curl -sL --max-time 300 -o "$DEST/LocalAI.tar.gz" \
  "https://codeload.github.com/mudler/LocalAI/tar.gz/62e0827cba148cc4752b1b85d3bfdb7b0c4eefd7"

# --- qdrant/qdrant (Apache-2.0)
echo "fetching qdrant/qdrant @ 6ab21cac18"
curl -sL --max-time 300 -o "$DEST/qdrant.tar.gz" \
  "https://codeload.github.com/qdrant/qdrant/tar.gz/6ab21cac18ebb6f4ae29102c7f8f5cc11affd5de"

# --- chroma-core/chroma (Apache-2.0)
echo "fetching chroma-core/chroma @ 848cf58dd6"
curl -sL --max-time 300 -o "$DEST/chroma.tar.gz" \
  "https://codeload.github.com/chroma-core/chroma/tar.gz/848cf58dd6dd952f8d0ff672af7b30cbf4d67f81"

# --- milvus-io/milvus (Apache-2.0)
echo "fetching milvus-io/milvus @ 1211f93389"
curl -sL --max-time 300 -o "$DEST/milvus.tar.gz" \
  "https://codeload.github.com/milvus-io/milvus/tar.gz/1211f933893e9cbf712ae4a56e382f235a6243e5"

# --- facebookresearch/faiss (MIT)
echo "fetching facebookresearch/faiss @ 88a28bcd80"
curl -sL --max-time 300 -o "$DEST/faiss.tar.gz" \
  "https://codeload.github.com/facebookresearch/faiss/tar.gz/88a28bcd80aa4469bd15520c510186c98f51d985"

# --- run-llama/llama_index (MIT)
echo "fetching run-llama/llama_index @ 7e2c60a78e"
curl -sL --max-time 300 -o "$DEST/llama_index.tar.gz" \
  "https://codeload.github.com/run-llama/llama_index/tar.gz/7e2c60a78ec27e8d146dfdd596778aea83c041d5"

# --- langchain-ai/langchain (MIT)
echo "fetching langchain-ai/langchain @ 026c3da2b6"
curl -sL --max-time 300 -o "$DEST/langchain.tar.gz" \
  "https://codeload.github.com/langchain-ai/langchain/tar.gz/026c3da2b615abe52f8446e37de460b844d07a43"

# --- deepset-ai/haystack (Apache-2.0)
echo "fetching deepset-ai/haystack @ 0499239e66"
curl -sL --max-time 300 -o "$DEST/haystack.tar.gz" \
  "https://codeload.github.com/deepset-ai/haystack/tar.gz/0499239e66f515feab503a2768ba785cace6de91"

# --- crewAIInc/crewAI (MIT)
echo "fetching crewAIInc/crewAI @ ca1d55abb3"
curl -sL --max-time 300 -o "$DEST/crewAI.tar.gz" \
  "https://codeload.github.com/crewAIInc/crewAI/tar.gz/ca1d55abb368cd24344de1ddad97bc493b21ffa0"

# --- Aider-AI/aider (Apache-2.0)
echo "fetching Aider-AI/aider @ 5dc9490bb3"
curl -sL --max-time 300 -o "$DEST/aider.tar.gz" \
  "https://codeload.github.com/Aider-AI/aider/tar.gz/5dc9490bb35f9729ef2c95d00a19ccd30c26339c"

# --- microsoft/semantic-kernel (MIT)
echo "fetching microsoft/semantic-kernel @ 58ad1a3780"
curl -sL --max-time 300 -o "$DEST/semantic-kernel.tar.gz" \
  "https://codeload.github.com/microsoft/semantic-kernel/tar.gz/58ad1a3780159300c766477f258a4cdfa768eedf"

# --- continuedev/continue (Apache-2.0)
echo "fetching continuedev/continue @ 5522c6f44c"
curl -sL --max-time 300 -o "$DEST/continue.tar.gz" \
  "https://codeload.github.com/continuedev/continue/tar.gz/5522c6f44ca0ac3528b37244818fbfa39b5af470"

echo "done - sources in $DEST"