This Node.js application performs a basic SEO audit and displays social media previews of a website by analyzing its meta tags. It uses Express, Axios, and Cheerio on the backend and is styled with Bootstrap 5 for a responsive, user-friendly interface.
-
SEO Audit:
Checks for key SEO elements such as:- Title Tag
- Meta Description
- Canonical Link
- H1 Tag
- Language Attribute
- Robots Meta Tag
- Viewport Meta Tag
- Open Graph Tags (og:title, og:description, og:image, og:url)
- Twitter Card Tags (twitter:card, twitter:title, twitter:description, twitter:image)
-
Social Media Preview:
Displays preview cards for Facebook, Twitter, and TikTok based on the extracted meta tags. -
Responsive UI:
Powered by Bootstrap 5 for a modern and clean design.
Check out a live demo of the project here: Live Demo
Alternatively, if you prefer to run the project locally, follow the installation and usage instructions below.
- Clone the Repository:
git clone https://github.com/alianjum0/ogpreview-node.git
- Navigate to the Project Directory:
cd seo-audit-preview
- Install Dependencies:
npm install
- Start the Server:
npm start
-
Open Your Browser:
Navigate to "http://localhost:3000" and enter the URL you want to analyze in the input field. Click Analyze to view the SEO audit results and social media previews.
seo-audit-preview/
├── server.js # Main Node.js application file
├── package.json # Node.js package file with dependencies and scripts
├── README.md # Project documentation
└── .gitignore # Files and directories to ignore in Git
Contributions are welcome! Feel free to submit issues or pull requests if you have suggestions or improvements.
This project is licensed under the MIT License.