Useless Facts is an open dataset of over 3,000 verified, standalone facts spanning science, history, nature, space, language, psychology, medicine, philosophy, and more — published freely under the MIT License by Endroid Inc.
Every fact is accurate, self-contained, and ready to use in any project.
| Domain | Domain | Domain |
|---|---|---|
| Science & Physics | Human Biology | Space & Astronomy |
| World History | Animals & Nature | Geography |
| Language & Linguistics | Psychology | Medicine |
| Technology | Architecture | Philosophy |
| Mathematics | Environment | Culture & Society |
# Clone
git clone https://github.com/wized2/Useless-Facts.git
cd Useless-Facts
# Random fact
shuf -n 1 facts.txt
# Search by topic
grep -i "ocean" facts.txtPython
import random
with open("facts.txt", "r", encoding="utf-8") as f:
facts = [line.strip() for line in f if line.strip()]
print(random.choice(facts))JavaScript
const fs = require("fs");
const facts = fs.readFileSync("facts.txt", "utf-8").split("\n").filter(Boolean);
console.log(facts[Math.floor(Math.random() * facts.length)]);Open a pull request with your additions. All facts must be accurate, verifiable, and fully self-contained.
git checkout -b your-branch
# Edit facts.txt
git commit -m "add: [description]"
git push origin your-branch