An anime-themed AI companion website powered by the Nesa Network
NesaKira is a decentralized AI companion that runs on Nesa's distributed inference network. Every interaction with NesaKira contributes to the network's AI capabilities while providing users with an engaging anime-themed experience.
Key Features:
- π¬ Interactive AI chat interface
- β¨ Anime image generation (powered by Nesa's distributed GPU network)
- π Real-time interaction tracking
- π Fully decentralized AI processing
- π¨ Beautiful anime-inspired UI design
nesakira-website/
βββ index.html # Main HTML structure
βββ style.css # Complete styling and animations
βββ script.js # Interactive features and Nesa integration
βββ nesakira-avatar.jpg # Character profile image (YOU NEED TO ADD THIS!)
βββ DEPLOYMENT-GUIDE.md # Step-by-step deployment instructions
βββ README.md # This file
Before deploying, you MUST add your NesaKira character image!
-
Prepare your image:
- File format: JPG or JPEG
- Recommended size: 500x500 pixels or larger (square format works best)
- File size: Keep under 500KB for faster loading
-
Rename your image to:
nesakira-avatar.jpg- Must be exactly this name (all lowercase)
- Must be .jpg extension
-
Place in the same folder as index.html
If you don't have an avatar image yet:
- The website will display a beautiful gradient placeholder with a β¨ emoji
- You can add your image later by uploading it to your GitHub repository
Follow the detailed DEPLOYMENT-GUIDE.md included in this project. It covers:
- β Creating a GitHub account
- β Setting up a repository
- β Uploading files
- β Enabling GitHub Pages
- β Getting your public URL
- β Adding the URL to Nesa Glimpse
Time needed: ~15 minutes
Want to test before deploying?
- Download all files to a folder
- Add your
nesakira-avatar.jpgimage - Open
index.htmlin your web browser - Test all features locally
Note: The Nesa Network event tracking only works when deployed online.
Every meaningful user interaction triggers this event:
window.parent?.postMessage(
{
data: { event: 'click-event' },
type: 'response_data',
},
'https://beta.nesa.ai',
);Interactions that trigger events:
- Sending a chat message
- Generating an anime image
- Clicking quick action buttons (Greeting, Story)
This measures engagement and AI usage on the Nesa Network.
Chat System:
- Real-time message display
- Simulated AI responses
- Message timestamps
- Smooth animations
Image Generation:
- Triggers Nesa Network events
- Shows loading animation
- Updates interaction counters
- Simulates distributed GPU processing
Statistics Tracking:
- Message count
- Image generation count
- Total interaction count
- All displayed in real-time
Want to personalize your NesaKira website? Here's what you can modify:
:root {
--primary-color: #ff6b9d; /* Main pink color */
--secondary-color: #c94b7d; /* Darker pink */
--accent-color: #ffa8cc; /* Light pink accent */
/* Change these to match your aesthetic! */
}Edit the generateResponse() function to customize how NesaKira talks:
const responses = {
greeting: [
"Your custom greeting here!",
// Add more variations
],
// Add more response categories
};- Edit the HTML to change "NesaKira" to your character's name
- Update the tagline and descriptions
- Modify the welcome message in the chat
The website automatically tracks three key metrics:
- Messages: Total chat messages sent
- Images: Total images generated
- Interactions: Combined total of all interactions
These counters update in real-time and are displayed on the character card.
Fully Supported:
- β Chrome/Edge (v90+)
- β Firefox (v88+)
- β Safari (v14+)
- β Opera (v76+)
Mobile Responsive:
- β iOS Safari
- β Chrome Mobile
- β Samsung Internet
- Page Load: < 1 second
- Image Fallback: Instant gradient placeholder
- Animations: 60 FPS CSS-based
- File Size: ~50KB total (excluding avatar image)
- Frontend: Pure HTML5, CSS3, JavaScript (ES6+)
- Styling: Custom CSS with CSS Variables
- Fonts: Google Fonts (Kalam + Noto Sans JP)
- Integration: Nesa Network PostMessage API
- Hosting: GitHub Pages (free!)
No build process required! β¨
Problem: Shows β¨ emoji instead of image
Solutions:
- Check that image is named exactly
nesakira-avatar.jpg - Verify image is in the root folder (same location as index.html)
- Try a different image format (ensure it's JPG)
- Check file permissions on GitHub
Problem: 404 error or blank page
Solutions:
- Wait 3-5 minutes after enabling GitHub Pages
- Ensure repository is Public, not Private
- Verify index.html is in the root folder
- Clear browser cache and refresh
Problem: Counters not updating
Solutions:
- Check JavaScript console for errors (F12 in browser)
- Ensure script.js loaded correctly
- Test in a different browser
- Verify all files uploaded successfully
MIT License - Feel free to customize and use this project!
This is a template project for the Nesa Network. Feel free to:
- Customize the design
- Add new features
- Improve AI responses
- Share your variations!
- Design: Custom anime-inspired interface
- Fonts: Google Fonts (Kalam, Noto Sans JP)
- Network: Powered by Nesa's decentralized AI infrastructure
- Icons: Custom SVG and Unicode emoji
Need Help?
- Read the DEPLOYMENT-GUIDE.md
- Check the Troubleshooting section above
- Visit Nesa Network documentation
- Ask in the Nesa community Discord
After deploying your NesaKira website:
- Share Your URL - Let others interact with your AI companion
- Monitor Usage - Track engagement through Nesa dashboard
- Customize - Make it uniquely yours!
- Expand - Add more features and personality
- Engage - The more interactions, the stronger the network!
Built with π for the Nesa Network Community
Every interaction makes the decentralized AI network stronger! πΈβ¨
Ready to deploy? Follow the DEPLOYMENT-GUIDE.md! π