Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ays3-dev/the-curio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

42 Commits

Repository files navigation

πŸ” The Curio | Experimental Fact-Synthesis Engine

The Curio is a hand-coded, high-fidelity search platform designed to bypass conventional search results in favor of obscure, rare, and "rabbit-hole" knowledge. It leverages AI (Google Gemini API) to restructure factual data into thematic clusters, encouraging deeper exploration of niche topics.

Screenshot of The Curio
🌐 Live Demo


πŸš€ Key Features

  • Full-Stack Node.js Architecture: Migrated to a dedicated Express.js backend for secure API handling and environment variable protection.
  • Multisource Fact Synthesis: Retrieves rare and verified facts from high-authority archives including NASA, PubMed, Internet Archive, CIA Public Files, Wikipedia, and Reddit.
  • AI-Driven Categorization: Dynamically generates thematic "bubbles" (e.g., Law, Medicine, History) for every search term.
  • Fact-Checking Integrity: Each information card includes a direct link to the original source, eliminating AI hallucinations.
  • Personalized User Vault: Secure login, profile management (custom avatars via Supabase Storage), and persistent search history.
  • Seamless UI/UX: Custom Light/Dark theme toggle with mobile-first, fully responsive design.

πŸ› οΈ Tech Stack

  • Frontend: HTML5, CSS3, Vanilla JavaScript (ES6+)
  • Backend: Node.js, Express.js
  • Database / Auth: Supabase (PostgreSQL, Row Level Security, Cloud Storage)
  • AI Integration: Google Gemini API
  • Security: Dotenv (Environment Variable Management)
  • Deployment: Netlify

βš™οΈ Getting Started

  1. Clone the Repository
git clone https://github.com/yourusername/the-curio.git
cd the-curio
  1. Install Dependencies
npm install
  1. Create a .env file in the root directory to store server-side secrets:
GEMINI_API_KEY=your_google_gemini_key
PORT=3000

Note: Supabase URL and Anon Key are managed within the frontend public/js/auth.js to leverage PostgreSQL Row Level Security (RLS).

  1. Run the Server
npm start

The application will be available at http://localhost:3000


πŸ“‚ Project Structure

β”œβ”€β”€ public/ # Client-side assets (The "Face")

β”‚ β”œβ”€β”€ media/ # Character art & UI icons

β”‚ β”œβ”€β”€ auth.js # Supabase Auth & PFP update logic

β”‚ β”œβ”€β”€ script.js # Frontend engine & UI management

β”‚ β”œβ”€β”€ style.css # Glassmorphism & responsive layouts

β”‚ └── index.html # Main entry point

β”œβ”€β”€ server/ # Server-side logic (The "Brain")

β”‚ β”œβ”€β”€ ai.js # Gemini API integration

β”‚ └── fetch.js # External data synthesis logic

β”œβ”€β”€ .env # Secure API keys (ignored by Git)

β”œβ”€β”€ server.js # Express server entry point

└── package.json # Node.js dependencies & scripts


πŸ’‘ How It Works

  1. User enters a topic or search term.
  2. Frontend sends the query to the Node.js server.
  3. Server fetches verified facts via AI and external sources.
  4. Results are organized into dynamic thematic bubbles.
  5. Clicking a bubble opens info cards with the fact and direct source link.
  6. Users can save, favorite, edit, or delete past searches.
  7. Optional: Visual search returns relevant images.

Everything is verified with source links to maintain full transparency.


πŸ“ Developer Note

"This project was developed entirely on public library infrastructure following a total hardware failure. It represents a commitment to resourceful engineering and the pursuit of accessible, obscure knowledge."


πŸ“„ License

This project is licensed under the MIT License. See LICENSE for details.

About

An experimental search experience that restructures factual data into thematic clusters to encourage deeper exploration beyond conventional search results.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /