https://github.com/anupammo/generatemetatags
Meta Tag Generator is a lightweight JavaScript library designed to automatically generate meta tags and Open Graph tags for any HTML page. This tool simplifies the process of adding essential metadata to your web pages, enhancing SEO and social media sharing capabilities.
https://github.com/anupammo/generatemetatags
metatags seo seo-optimization tool webapp
Last synced: about 1 month ago
JSON representation
Meta Tag Generator is a lightweight JavaScript library designed to automatically generate meta tags and Open Graph tags for any HTML page. This tool simplifies the process of adding essential metadata to your web pages, enhancing SEO and social media sharing capabilities.
- Host: GitHub
- URL: https://github.com/anupammo/generatemetatags
- Owner: anupammo
- License: mit
- Created: 2024-11-01T17:03:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-03T00:25:42.000Z (about 1 year ago)
- Last Synced: 2025-05-03T00:27:24.313Z (about 1 year ago)
- Topics: metatags, seo, seo-optimization, tool, webapp
- Language: HTML
- Homepage: https://anupammo.github.io/generateMetaTags/
- Size: 359 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# generateMetaTags [Generate Meta Tags]
## Overview
Meta Tag Generator is a lightweight JavaScript library designed to automatically generate meta tags and Open Graph tags for any HTML page. This tool simplifies the process of adding essential metadata to your web pages, enhancing SEO and social media sharing capabilities.
## Features
- **Title Tag Check:** Checks if a title tag is present or not.
- **Title Tag Generation:** If a title tag is not present then generate dynamically.
- **Canonical URL Check:** Verifies if the canonical URL is present or not.
- **Canonical URL Generation:** If the canonical URL is not present then generate dynamically.
- **Meta Description Check:** Confirms the presence of meta description.
- **Meta Description Generation:** Confirms the presence of meta description else generate dynamically.
- **Open Graph Tag Generation:** Ensures Open Graph (og:) tags are present.
## Usage
### CDN jsDelivr
> [!IMPORTANT]
> [`https://cdn.jsdelivr.net/gh/anupammo/generateMetaTags@main/metaTagGenerator.js`](https://cdn.jsdelivr.net/gh/anupammo/generateMetaTags@main/metaTagGenerator.js)
>
> ```
>
>
> ```
### Manual
1. Include the `metaTagGenerator.js` file in your HTML document.
```
```
3. Call the `checkAndCreateMetaTags()` function to perform the checks.
4. Review the results in the browser console.
## Example Output
## Contributing
Feel free to fork this repository, submit issues, and make pull requests to improve this utility.
## License
This project is licensed under the MIT License. See the LICENSE file for more details.