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 🙏

© 2026 – Pkg Stats / Ryan Hefner

geo-pilot-sdk

v1.0.0

Published

GEO Pilot SDK - Advanced geospatial blog and content management system for modern web applications

Downloads

208

Readme

Geo Pilot SDK

Integrate advanced geospatial blog and content management capabilities into any Next.js app in minutes.

What you get

  • Easy drop-in components (Next.js friendly)
  • React 18 compatible with full SSR support
  • Advanced geospatial features and location-based content
  • SEO-ready (meta tags, JSON-LD, sitemaps)
  • Fully backend-driven styling and settings from your Geo Pilot dashboard
  • TypeScript support with comprehensive type definitions
  • Performance optimized with lazy loading and caching
  • Responsive design that works on all devices
  • Accessibility compliant (WCAG 2.1 AA)

Install

Note: The SDK is currently in development. For now, you need to use the local version or wait for npm publication.

Option 1: Local Development (Current)

# Copy the SDK to your project
cp -r /path/to/auto_blogify/sdk ./geo-pilot-sdk

# Add to package.json
"@geo-pilot/sdk": "file:./geo-pilot-sdk"

# Install
npm install

Option 2: NPM Installation (Coming Soon)

# Will be available once published
npm install @geo-pilot/sdk
# or
yarn add @geo-pilot/sdk

Requirements

  • React: 18.0.0 or higher
  • Next.js: 12.0.0 or higher (recommended 13+)
  • Node.js: 16.0.0 or higher

Quick start

  1. Add environment variables (e.g. .env.local)
NEXT_PUBLIC_GEO_PILOT_PROJECT_ID=your-project-id
NEXT_PUBLIC_GEO_PILOT_SECRET_KEY=your-secret-key
  1. Wrap your app
// app/layout.tsx or pages/_app.tsx
import { GEOPilotProvider, defaultConfig } from '@geo-pilot/sdk';

export default function Layout({ children }) {
  return (
    <GEOPilotProvider 
      config={{
        ...defaultConfig,
        projectId: process.env.NEXT_PUBLIC_GEO_PILOT_PROJECT_ID!,
        secretKey: process.env.NEXT_PUBLIC_GEO_PILOT_SECRET_KEY!
      }}
    >
      {children}
    </GEOPilotProvider>
  );
}

Note: The SDK is fully compatible with React 18 and includes proper SSR support. No additional configuration needed!

  1. Render your blog
// app/blog/page.tsx
import { BlogFullScreen } from '@geo-pilot/sdk';

export default function BlogPage() {
  return (
    <BlogFullScreen />
  );
}

That's it! All styling, layout, typography, and component visibility are controlled from your Geo Pilot dashboard.

BlogFullScreen Component

The main all-in-one blog component that provides a complete blogging experience:

import { BlogFullScreen } from '@geo-pilot/sdk';

<BlogFullScreen 
  // Optional props
  page={1}
  limit={10}
  category="tech"
  searchQuery="react"
  onPostClick={(post) => console.log('Post clicked:', post)}
/>

Configuration

The SDK uses a fixed API URL and only requires your project credentials:

const config = {
  projectId: 'your-project-id',
  secretKey: 'your-secret-key'
};

Advanced Usage

Custom Styling

<BlogFullScreen 
  className="my-custom-blog-styles"
  style={{ maxWidth: '1200px', margin: '0 auto' }}
/>

With Custom Configuration

<BlogFullScreen 
  config={{
    projectId: 'your-project-id',
    secretKey: 'your-secret-key',
    // All other settings come from your Geo Pilot dashboard
  }}
/>

Complete Example

import { GEOPilotProvider, BlogFullScreen, defaultConfig } from '@geo-pilot/sdk';

export default function BlogPage() {
  const config = {
    ...defaultConfig,
    projectId: process.env.NEXT_PUBLIC_GEO_PILOT_PROJECT_ID!,
    secretKey: process.env.NEXT_PUBLIC_GEO_PILOT_SECRET_KEY!
  };

  return (
    <GEOPilotProvider config={config}>
      <div className="min-h-screen">
        <header>
          <h1>My Blog</h1>
        </header>
        
        <main>
          <BlogFullScreen />
        </main>
        
        <footer>
          <p>&copy; 2024 My Blog. All rights reserved.</p>
        </footer>
      </div>
    </GEOPilotProvider>
  );
}

Features

  • React 18 Compatible: Full support for React 18 with proper SSR handling
  • Backend-driven configuration: All styling and settings controlled from your dashboard
  • SEO optimized: Automatic meta tags, structured data, and Open Graph
  • Performance optimized: Lazy loading, caching, and image optimization
  • Responsive design: Works perfectly on all devices
  • Accessibility: WCAG 2.1 AA compliant
  • TypeScript support: Full type definitions included
  • SSR Safe: No hydration mismatches or server-side rendering issues

Troubleshooting

Quick Fix for createContext is not a function Error

If you're getting this error, you're likely using an outdated SDK version:

# Update to the latest version
npm install @geo-pilot/sdk@latest

# Clear cache and reinstall
rm -rf node_modules package-lock.json
npm install

Common Issues

Error: useGEOPilot must be used within a GEOPilotProvider Solution: Wrap your app with GEOPilotProvider as shown in the quick start guide.

Error: Hydration mismatch warnings Solution: The SDK includes proper SSR handling. If you still see warnings, ensure you're using the latest version.

Detailed Troubleshooting

For comprehensive troubleshooting steps, see our Troubleshooting Guide.

Support

License

MIT © Geo Pilot


Version: 1.0.1
Last Updated: January 2025
React Compatibility: 18.0.0+