Skip to content
Public template

About

This is a Next.js project

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

265 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Meonet Web App

License: MIT Node.js Version pnpm Next.js v16 Vercel

This is a Next.js project bootstrapped with create-next-app.

This web application is a versatile platform combining a personal blog, URL shortening, and secure text sharing (pastebin) in one intuitive system. Built using cutting-edge technologies like Next.js, TypeScript, Tailwind CSS, MDX for content rendering, and Supabase for storage, it offers seamless performance, robust security, beautiful markdown rendering, and offline support via service workers.

Key Features

  • 📝 Personal Blog: Create and browse blog posts with MDX support for rich content, including syntax highlighting, frontmatter, and RSS/Atom feeds. Search by slug, date, keywords, or content.

  • 📎 URL Shortening: Generate compact, trackable short links with hit counting and recent activity tracking.

  • 🔐 Secure Text Sharing (Pastebin): Share text or code snippets securely with options for no encryption, client-side, or server-side encryption using AES-256-GCM/CBC and bcrypt. Includes password protection, syntax highlighting, keyword tagging, and IP tracking.

  • 🌐 Syntax Highlighting: Automatic code highlighting for various programming languages in blog posts.

  • 📦 Offline Support: Progressive Web App (PWA) capabilities with service workers for caching and offline access.

  • 📱 Responsive Design: Fully mobile-friendly interface optimized for all devices using Tailwind CSS.

  • 🧪 GitHub & Markdown Integration: Beautiful rendering of GitHub-flavored Markdown (GFM), emojis, and more with unified processing pipeline (remark/rehype plugins).

  • ⚙️ Middleware & API Routes: Custom middleware for headers, logging, and routing. Robust API endpoints for blog stats, paste management, URL shortening, IP detection, and placeholder image generation.

  • 🔄 LocalStorage Sync: Persist recent URLs and pastes locally with server synchronization.

  • 🌃 PWA Ready: Installable as a Progressive Web App with custom icons, manifest, and metadata.

  • 🔒 Security Features: Row-level security in Supabase, content sanitization, and encryption options.

Getting Started

  1. Clone the repository and install dependencies:
git clone --depth=1 "https://github.com/CodeIter/meonet-nextjs-app.git" \
    meonet.git \
&& cd meonet.git \
&& tree --gitignore \
&& ls -FAlh
  1. Run the development server:
pnpm dev
  1. Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying src/app/route.ts. The page auto-updates as you edit the file.

  1. Create an optimized production build:
pnpm build
  1. Start the production server:
pnpm start

Deployment

Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out Next.js deployment documentation for more details.

  1. Push to a Git repository
  2. Import into Vercel
  3. Environment variables will be auto-detected

Docker

Build and run with:

docker build -t meonet .
docker run -p 3000:3000 meonet

Resources

License

This project uses the MIT License, allowing free use in personal and commercial projects.

See the LICENSE file for full details.

Third-party libraries may use different licenses - see package.json for details.


Built with ❤️ by @CodeIter

About

This is a Next.js project

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages