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.
-
📝 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.
- 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- Run the development server:
pnpm dev- 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.
- Create an optimized production build:
pnpm build- Start the production server:
pnpm startThe 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.
- Push to a Git repository
- Import into Vercel
- Environment variables will be auto-detected
Build and run with:
docker build -t meonet .
docker run -p 3000:3000 meonetThis 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