npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

pixospritz-website

v1.0.0

Published

PixoSpritz Website - Marketing and documentation site

Readme

PixoSpritz Website

A modern, performant static marketing website for the PixoSpritz game engine.

Features

  • ✨ Clean, modern design with retro/playful aesthetics
  • 📱 Fully responsive (mobile, tablet, desktop)
  • 🚀 Performant - optimized for fast loading
  • 🎨 CSS Grid & Flexbox layouts
  • 🎭 Smooth animations and transitions
  • 🎮 Dynamic game catalog loading
  • 📦 Modular and maintainable code
  • ♿ Accessible navigation and semantic HTML
  • 🌙 Dark theme with vibrant accent colors

Structure

website/
├── index.html              # Main HTML file
├── css/
│   └── styles.css         # All styles (CSS variables, components, responsive)
├── js/
│   └── script.js          # Navigation, smooth scrolling, game loading
├── data/
│   └── games.json         # Game catalog data (easy to update)
├── assets/
│   ├── favicon.png        # Site favicon
│   ├── placeholder-game.png
│   ├── games/            # Game screenshots
│   │   └── example-game.png
│   └── README.md         # Asset guidelines
├── TODO.md               # Original requirements
└── README.md            # This file

Sections

1. Hero Section

  • Eye-catching title with gradient effect and glow animation
  • Call-to-action buttons (Try Demo, Get Started, GitHub)
  • Animated pixel grid background

2. About Section

  • Overview of PixoSpritz features
  • 6 feature cards with icons
  • Placeholder for demo video

3. Demo Section

  • Links to online player
  • Link to editor
  • Download option for desktop version

4. Games Catalog

  • Dynamic loading from games.json
  • Card-based layout with screenshots
  • Easy to add new games

5. Documentation Section

  • Links to getting started guide
  • API reference
  • Tutorials
  • FAQ with expandable details elements
  • Community links

6. Support/Donation Section

  • Information about the solo developer
  • Multiple donation platform links (GitHub Sponsors, Patreon, Ko-fi, PayPal)
  • Alternative ways to support (stars, contributions, sharing)

7. Footer

  • Quick links to all sections
  • Resources and documentation
  • Community and developer links
  • Copyright notice

Getting Started

View the Website

Simply open index.html in a web browser:

# From the website directory
open index.html

# Or use a local server (recommended)
python3 -m http.server 8000
# Then visit http://localhost:8000

Using a Development Server

For better development experience with live reload:

# Using Python
python3 -m http.server 8000

# Using Node.js (with npx)
npx serve .

# Using PHP
php -S localhost:8000

Then open your browser to http://localhost:8000

Customization

Adding New Games

  1. Add your game screenshot to assets/games/your-game.png
  2. Edit data/games.json and add a new entry:
{
  "id": "your-game-id",
  "title": "Your Game Title",
  "description": "A brief description of your game (2-3 sentences).",
  "image": "assets/games/your-game.png",
  "links": [
    {
      "label": "Play Now",
      "url": "../path/to/game.html",
      "icon": "▶️",
      "external": false
    },
    {
      "label": "Download",
      "url": "https://example.com/download",
      "icon": "⬇️",
      "external": true
    }
  ]
}

The website will automatically display the new game card!

Updating Colors

Edit CSS variables in css/styles.css:

:root {
    --color-primary: #ff6b9d;      /* Main accent color */
    --color-secondary: #4ecdc4;    /* Secondary accent */
    --color-accent: #ffd93d;       /* Highlight color */
    --color-bg: #0f0f1e;           /* Main background */
    /* ... more variables */
}

Updating Content

All text content is in index.html. Simply find the section you want to update and edit the text.

Updating Donation Links

Edit the support section in index.html and replace placeholder URLs with your actual donation links:

<a href="https://github.com/sponsors/YOUR_USERNAME" target="_blank" class="support-link">
    <span class="support-icon">❤️</span>
    <span>GitHub Sponsors</span>
</a>

Features Deep Dive

Responsive Navigation

  • Hamburger menu on mobile
  • Smooth scroll to sections
  • Active state based on scroll position
  • Sticky navbar with blur effect

Animations

  • Fade-in on scroll for cards and sections
  • Glitch effect on hero title (with hover interaction)
  • Smooth transitions on all interactive elements
  • Easter egg: Konami code activates rainbow effect!

Performance Optimizations

  • CSS variables for consistent theming
  • Debounced scroll events
  • Lazy loading for images (via onerror fallback)
  • Minimal JavaScript dependencies (vanilla JS only)
  • Optimized SVG placeholders

Accessibility

  • Semantic HTML5 elements
  • ARIA labels for interactive elements
  • Keyboard navigation support
  • Focus states for all interactive elements
  • Details/summary for FAQ (native HTML)

Browser Support

  • Chrome/Edge (latest)
  • Firefox (latest)
  • Safari (latest)
  • Opera (latest)

Tested on:

  • Desktop: macOS, Windows, Linux
  • Mobile: iOS Safari, Chrome Android

Deployment

GitHub Pages

  1. Push the website folder to your repository
  2. Go to Settings > Pages
  3. Select branch and /website folder
  4. Your site will be live at https://username.github.io/repo-name/

Netlify

  1. Drag and drop the website folder to Netlify
  2. Or connect your Git repository
  3. Set build directory to website
  4. Deploy!

Custom Server

Upload the entire website folder to your web server. No build process required!

Development Workflow

  1. Edit HTML/CSS/JS files
  2. Refresh browser to see changes
  3. Test on different screen sizes
  4. Update games.json as needed
  5. Optimize images before adding to assets/

TODO / Future Enhancements

  • [ ] Add more game examples to catalog
  • [ ] Create actual demo video
  • [ ] Add blog/news section
  • [ ] Implement search functionality for games
  • [ ] Add theme switcher (light/dark mode)
  • [ ] Create tutorial videos
  • [ ] Add code syntax highlighting for docs
  • [ ] Implement newsletter signup
  • [ ] Add language selector for i18n
  • [ ] Create downloadable press kit

Credits

  • Design & Development: PixoSpritz Team
  • Icons: Emoji (native)
  • Fonts: System fonts for performance
  • Inspiration: Retro gaming aesthetics meets modern web design

License

Same as PixoSpritz main project - see LICENSE file in root directory.

Contributing

Found a bug or want to improve the website?

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Test thoroughly
  5. Submit a pull request

Support

Need help with the website?


Built with ❤️ for the PixoSpritz community