A gamified coding companion web app built with Next.js and TypeScript. Bytey is a UI template designed to transform your coding journey into an engaging experience, where a virtual pet grows as you code. This project serves as a foundation with a functional UI and minimal game logic, ready for further development to enhance features like trading, GitHub integration, and more.
Live Demo: Check out the deployed version at bytey.vercel.app
- Features
- Screenshots
- Getting Started
- Usage
- Customization
- Project Structure
- Built With
- Dependencies
- Releases
- Current Limitations
- License
- Acknowledgments
- Contact
- Contributing
- Support
- Gamified UI Template: A sleek, dark-mode-only interface for a virtual pet that grows with coding activity (basic logic implemented).
- Interactive UI: Pet interactions with animations powered by Framer Motion.
- Inventory System: Display and manage items like Energy Drink and Debug Potion (functional UI, minimal logic).
- Collectibles Gallery: Showcase collectibles with rarity tiers (UI only).
- Daily Tasks Panel: Task interface for future daily engagement features (UI only).
- Responsive Design: Optimized for mobile, tablet, and desktop devices.
- Modular Components: Reusable React components for easy extension.
- SEO Optimized: Built for search engine visibility.
- High Performance: Fast load times with Next.js rendering.
Note: The app currently focuses on UI with bare minimum game logic. Features like trading, GitHub integration, full pet evolution, and other functionalities are not yet implemented but can be built upon this template.
| Feature | Screenshot |
|---|---|
| Game Interface | ![]() |
| Inventory Panel | ![]() |
| Collectibles Panel | ![]() |
Set up and run Bytey locally to explore or develop the template further.
- Node.js: Version 18.0 or higher
- Package Manager:
npmoryarn
-
Clone the Repository
git clone https://github.com/VoxDroid/Bytey
-
Navigate to the Project Directory
cd Bytey -
Install Dependencies
npm install # or yarn install -
Start the Development Server
npm run dev # or yarn dev -
Open http://localhost:3000 in your browser to view Bytey.
Bytey is a UI-focused template with minimal functionality. You can interact with the pet, view inventory, and explore tabs like Collectibles and Tasks, but full game logic (e.g., trading, stat progression) requires further development.
- Purpose: Core UI where you see your pet and interact with inventory and tabs.
- How to Use: Check
components/index.tsxfor the main game layout andcomponents/pet-visual.tsxfor pet animations.
- Purpose: Displays items and collectibles with basic filtering.
- How to Use: Modify
components/inventory-panel.tsxto extend item interactions.
- Purpose: Shows collectibles with rarity and sorting options (UI only).
- How to Use: Update
components/collectibles-panel.tsxto add functionality.
Extend Bytey’s template by tweaking styles or adding logic.
Modify the dark-mode color scheme in tailwind.config.ts:
// tailwind.config.ts
const config = {
theme: {
extend: {
colors: {
primary: {
DEFAULT: "hsl(220, 80%, 60%)", // Customize here
foreground: "hsl(220, 10%, 95%)",
},
},
},
},
};Adjust CSS variables in app/globals.css:
:root {
--primary: 220 80% 60%; /* Dark mode */
}Edit these files to customize the UI:
- Game:
components/index.tsx - Inventory:
components/inventory-panel.tsx - Collectibles:
components/collectibles-panel.tsx - Daily Tasks:
components/daily-tasks-panel.tsx - Shop:
components/shop-panel.tsx
Add new collectibles to lib/pet-store.ts (or equivalent):
const collectibles = [
{
id: "new-item",
name: "New Collectible",
description: "A shiny new item.",
image: "new-icon",
value: 100,
rarity: "rare",
owned: false,
},
];Update components/collectibles-panel.tsx for new icons:
case "new-icon":
return (
<svg viewBox="0 0 24 24" className="w-12 h-12 text-white" fill="none" stroke="currentColor" strokeWidth="2">
<path d="M12 2L2 22h20L12 2z" />
</svg>
);Tweak pet animations in components/pet-visual.tsx:
const animationVariants = {
idle: { y: [0, -10, 0], transition: { duration: 2, repeat: Infinity } },
bounce: { y: [0, -20, 0], transition: { duration: 0.5, repeat: 3 } },
};Bytey/
├── app/ # Next.js app directory
│ ├── globals.css # Global styles
│ ├── layout.tsx # Root layout
│ └── page.tsx # Home page
├── components/ # Reusable React components
│ ├── index.tsx # Main game interface
│ ├── pet-visual.tsx # Pet visualization
│ ├── status-bars.tsx # Pet status bars
│ ├── action-buttons.tsx # Interaction buttons
│ ├── inventory-panel.tsx # Inventory management
│ ├── collectibles-panel.tsx # Collectibles gallery
│ ├── daily-tasks-panel.tsx # Daily tasks
│ ├── shop-panel.tsx # Shop interface
│ └── settings-panel.tsx # Settings
├── lib/ # Utilities and state management
│ └── pet-store.ts # Zustand store for pet state
├── public/ # Static assets
├── styles/ # Additional CSS
├── tailwind.config.ts # Tailwind CSS configuration
├── tsconfig.json # TypeScript configuration
└── package.json # Dependencies and scripts
- Next.js - React framework
- TypeScript - Typed JavaScript
- Tailwind CSS - Utility-first CSS
- Framer Motion - Animations
- Lucide Icons - Icon set
- Zustand - State management
Required packages (in package.json):
next- Core frameworkreact,react-dom- React librariestypescript- Type checkingtailwindcss- Stylingframer-motion- Animations@lucide/react- Iconszustand- State management
Install with:
npm install- See the Releases page for updates.
- Currently a UI template; future releases may add full functionality.
- Dark Mode Only: No light mode implemented.
- Minimal Functionality: Basic game logic (e.g., pet stats, inventory display) works, but features like trading, GitHub integration, and pet evolution are UI-only.
- Trading System: Not implemented; requires backend and logic development.
- Placeholder Data: Stats, coins, and items are static or minimally interactive.
This template is a starting point for developers to build a fully functional app.
Licensed under the MIT License.
- Lucide Icons - Icon library
- Framer Motion - Animations
- Tailwind CSS - Styling
- Next.js - Framework
- Zustand - State management
Questions or feedback? Reach out:
- GitHub: @VoxDroid
- Email: Contact via GitHub issues for now
Contributions are welcome! Please read our Contributing Guide for details on how to contribute, and review our Code of Conduct to ensure a positive and inclusive community.
To contribute:
- Fork the repository: https://github.com/VoxDroid/Bytey
- Create a feature branch (
git checkout -b feature-name) - Commit changes (
git commit -m "Add feature") - Push to the branch (
git push origin feature-name) - Open a pull request
For support, please refer to our Support Guide. If you encounter security issues, please review our Security Policy.
If you find this project useful, consider supporting its development:
- Ko-fi: Buy me a coffee
- Star the Repository: Give it a star on GitHub
- Report Issues: Submit bugs or suggestions on the Issues page



