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

Appearance settings

exist.io lets you visualize the exact time you've been alive—down to the second. Share your cosmic timestamp with the world, or embed it in your GitHub README like a badge of existence.

License

Notifications You must be signed in to change notification settings

RajdeepKushwaha5/exist-io

Open more actions menu

Repository files navigation

Exist.io Banner

🌌 Exist.io

How long have you been here?

A poetic, real-time existence counter that visualizes your time alive—down to the second.

Live Demo GitHub License

Live DemoReport BugRequest Feature


🧭 Use Cases

🔹 Personal Life Counter

Transform your existence into data with a beautiful, real-time counter.

How to use:

  1. Enter your birthdate (YYYY-MM-DD format)
  2. Choose a username (e.g., RajdeepSingh)
  3. Select your favorite theme (Radical, Cosmic, Minimal, or Matrix)
  4. Get a live counter showing exactly how long you've been alive
  5. Share your unique link with friends or family

Example: https://exist.io/#/view?username=RajdeepSingh&birthdate=2000-01-01&theme=cosmic


🔹 GitHub Profile Badge

Stand out with a dynamic badge that shows your time alive in your GitHub profile.

How to use:

  1. Generate your counter on Exist.io
  2. Copy the Markdown snippet from the "Embed on GitHub" section
  3. Paste it into your GitHub README.md
  4. Your badge updates every time someone views your profile!

Example Markdown:

![My Life Counter](https://exist.io/api/image?username=RajdeepSingh&birthdate=2000-01-01&theme=cosmic)

Result: A beautiful SVG image showing your years lived with your chosen theme.


🔹 Cosmic Timestamp Generator

Reflect on your existence in a poetic, visual way.

Perfect for:

  • 🌟 Philosophy enthusiasts who ponder existence
  • 💭 Existentialists seeking meaningful data
  • 🎨 Creators wanting unique profile elements
  • 🚀 Developers who love space-themed UIs
  • 📊 Data lovers tracking personal metrics

Customize themes:

  • Radical - Dark with vibrant pink and cyan gradients
  • Cosmic - Deep indigo with purple and yellow space vibes
  • Minimal - Clean white with crisp blue accents
  • Matrix - Cyberpunk black with hacker-green effects

📖 Project Overview

What is Exist.io?

Exist.io is a unique web application that answers the philosophical question: "How long have I been here?"

It's not just another timer—it's an existential experience wrapped in beautiful design. The app calculates your exact time alive (years, months, days, hours, minutes, seconds) and presents it through:

  • 🌊 Glassmorphism UI with animated gradient backgrounds
  • ⏱️ Real-time updates that count every second
  • 🎨 Four stunning themes inspired by cosmic aesthetics
  • 🔗 Shareable links that work for unlimited users
  • 📊 Dynamic SVG badges for GitHub profiles

Why It's Unique

Existential & Poetic

  • Transforms abstract time into tangible, visual data
  • Encourages reflection on the finite nature of existence
  • Beautiful space station iconography symbolizing your journey

🛠️ Developer-Friendly

  • Clean, modern React + TypeScript codebase
  • Serverless API for dynamic image generation
  • Easy to deploy on Vercel/Netlify
  • No database required—all data in URL parameters

🎯 Privacy-First

  • No data storage or tracking
  • No user accounts needed
  • All calculations happen client-side
  • Your birthdate is only used for age calculation

How It Works

graph LR
    A[Enter Birthdate] --> B[Generate Counter]
    B --> C[Live Web Counter]
    B --> D[Shareable Link]
    B --> E[GitHub Badge]
    C --> F[Updates Every Second]
    D --> G[Share with Anyone]
    E --> H[Dynamic SVG Image]
Loading
  1. Input: User enters username, birthdate, and selects a theme
  2. Calculate: App computes duration from birthdate to current moment
  3. Display: Shows years with 8-decimal precision + full breakdown
  4. Share: Generates unique URL with all parameters
  5. Embed: API endpoint creates dynamic SVG for GitHub READMEs

🖼️ Features

⚡ Core Features

  • Real-time Life Duration Counter
    Updates every second with smooth animations showing your exact time alive

  • Shareable Live Links
    Each user gets a unique URL that works independently for unlimited users

  • GitHub README Badge
    Dynamic SVG images that regenerate on every page view

  • Multiple Themes
    Choose from 4 carefully crafted themes with unique color palettes

  • Cosmic UI Design
    Space station visuals, animated gradients, and glassmorphism effects

🎨 Design Features

  • Glassmorphism Cards - Frosted glass effect with backdrop blur
  • Animated Gradients - Pulsing orbs that create ambient backgrounds
  • Gradient Text - Rainbow effects on the main counter display
  • Hover Interactions - Scale transforms, glows, and color shifts
  • Smooth Animations - Float, pulse, fade, and slide effects
  • Status Indicators - Live pulse dots showing real-time status
  • Responsive Layout - Perfect on desktop, tablet, and mobile

🛠️ Technical Features

  • No Database - Stateless architecture with URL parameters
  • Serverless API - Vercel Functions for image generation
  • TypeScript - Full type safety throughout the codebase
  • Modern React - Hooks, context, and functional components
  • Vite Build - Lightning-fast development and optimized builds
  • Tailwind CSS - Utility-first styling with custom animations

🚀 Getting Started

Prerequisites

  • Node.js (v18 or higher)
  • npm or yarn
  • Git (for version control)

Installation

  1. Clone the repository

    git clone https://github.com/RajdeepKushwaha5/exist.io.git
    cd exist.io
  2. Install dependencies

    npm install
  3. Set up environment (optional)

    # Create .env.local file
    echo "GEMINI_API_KEY=your_api_key_here" > .env.local
  4. Run development server

    npm run dev
  5. Open in browser

    http://localhost:3000
    

Deployment

Deploy to Vercel (Recommended)

  1. Push to GitHub

    git add .
    git commit -m "Initial commit"
    git push -u origin main
  2. Import to Vercel

    • Go to vercel.com/new
    • Import your GitHub repository
    • Vercel auto-detects Vite configuration
    • Click Deploy
  3. Done! 🎉

    • Your app is live at https://your-app.vercel.app
    • Both web counter and API work automatically

Deploy to Netlify

  1. Build the project

    npm run build
  2. Deploy

    netlify deploy --prod
  3. Configure serverless functions

    • Move api/ folder to netlify/functions/
    • Update imports as needed

API Usage

The /api/image endpoint generates dynamic SVG images.

Endpoint:

GET /api/image

Parameters:

  • username (required) - Display name
  • birthdate (required) - Format: YYYY-MM-DD
  • theme (optional) - One of: radical, cosmic, minimal, matrix

Example:

https://your-app.vercel.app/api/image?username=RajdeepSingh&birthdate=2000-01-01&theme=cosmic

Response:

  • Content-Type: image/svg+xml
  • Cache: 60 seconds
  • Size: 600x300px SVG

🧪 Tech Stack

Frontend

  • React 19 - UI library with modern hooks
  • TypeScript 5.8 - Type-safe JavaScript
  • Vite 6 - Next-generation build tool
  • Tailwind CSS - Utility-first styling
  • React Router DOM - Client-side routing

Backend

  • Vercel Functions - Serverless API endpoints
  • Node.js - Runtime environment

Image Rendering

  • SVG Generation - Dynamic vector graphics
  • Custom Templates - Themed image layouts

Hosting

  • Vercel (Recommended) - Zero-config deployment
  • Netlify - Alternative with serverless support
  • Railway - Container-based hosting

Development Tools

  • ESLint - Code linting
  • Prettier - Code formatting
  • Git - Version control

🧩 Customization

Theme Options

Modify themes in constants.ts:

export const THEMES: Theme[] = [
  {
    name: 'Radical',
    id: 'radical',
    background: 'bg-gray-900',
    text: 'text-white',
    accent: 'text-pink-400',
    highlight: 'text-cyan-300',
  },
  // Add your custom theme here
];

Username Personalization

Users can set any username they like—no registration required!

Custom Themes

Create your own theme by:

  1. Adding a new theme object to THEMES array
  2. Updating the API endpoint in api/image.ts to include your theme colors
  3. Testing with different color combinations

Animation Toggles

Users can enable/disable animations with the bottom-right button on the counter page.


📸 Screenshots

Homepage Homepage Screenshot

Counter Page Counter Screenshot


🤝 Contributing

Contributions are welcome! Here's how you can help:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Ideas for Contributions

  • 🎨 New theme designs
  • 🌍 Internationalization (i18n)
  • 📊 Additional counter formats
  • 🔧 Performance optimizations
  • 📱 Mobile app version
  • 🎭 More animation options

📦 License & Attribution

License

This project is licensed under the MIT License - see the LICENSE file for details.

MIT License

Copyright (c) 2025 Rajdeep Singh

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Attribution

Built with ❤️ using:


👨‍💻 Creator

Rajdeep Singh

Full Stack Developer | Tech Enthusiast | Modern Existentialist

Portfolio GitHub Twitter LinkedIn Medium


🌟 Support

If you found this project helpful or interesting:

  • Star this repository
  • 🐛 Report bugs by opening an issue
  • 💡 Suggest features in the discussions
  • 📢 Share with the developer community
  • Support via Buy Me a Coffee (optional)

📊 Project Stats

GitHub stars GitHub forks GitHub watchers


Built for the modern existentialist

Every second counts. Make them visible.

About

exist.io lets you visualize the exact time you've been alive—down to the second. Share your cosmic timestamp with the world, or embed it in your GitHub README like a badge of existence.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.