Commit Graph

27 Commits

Author SHA1 Message Date
ajaysi
7d6ea91e6a Made changes to Getting started with ALwrity and added lot of details on API keys 2025-04-01 21:46:10 +05:30
ي
f8b7584be2 Update on_page_seo_analyzer.py 2025-01-30 08:24:02 +05:30
ي
e758ab5695 Update on_page_seo_analyzer.py 2025-01-29 23:09:47 +05:30
ي
2f37626e32 Update sitemap_analysis.py
Code Improvements:
Error Handling:

Improve error messages to be more informative.
Log errors for debugging purposes.
Code Readability:

Add docstrings and comments to explain the purpose of functions and complex code blocks.
Use consistent formatting and naming conventions.
Modularization:

Split large functions into smaller, reusable functions.
Group related functions together.
Optimization:

Use caching where possible to reduce redundant operations.
Optimize data processing steps for better performance.
User Experience Improvements:
User Feedback:

Provide immediate feedback on actions (e.g., loading spinners, success, and error messages).
Use placeholders and help text to guide users on what inputs are expected.
Interactive Elements:

Use more interactive elements like sliders, date pickers, and multi-selects to enhance the user interface.
2025-01-18 08:35:09 +05:30
ي
74c862faec Update textstaty.py
User-Friendly Interface: The Streamlit interface is intuitive, allowing users to easily input text and get readability scores.
Comprehensive Analysis: The tool covers a wide range of readability metrics, providing detailed insights into the text's readability.
Actionable Tips: Each readability score is accompanied by actionable tips, helping users improve their content based on the analysis.
Additional Insights: The inclusion of additional metrics like reading time, syllable count, and word count provides a thorough analysis of the text.
Suggested Improvements:
Error Handling:

Add error handling for cases where the text input might be empty or too short for certain readability metrics.
Code Modularization:

Refactor the code to encapsulate readability calculations and markdown generation into separate functions. This will make the code more modular and easier to maintain.
Performance Optimization:

Optimize the readability calculation by avoiding redundant calculations if the text hasn't changed.
Code Readability:

Add docstrings and comments to explain the purpose of functions and complex code blocks.
Ensure consistent formatting and adherence to PEP8 standards.
2025-01-18 08:34:32 +05:30
ي
ea5554a723 Update seo_structured_data.py
Code Improvements:
Error Handling:

Improve error messages to be more informative.
Log errors for debugging purposes.
Code Readability:

Add docstrings and comments to explain the purpose of functions and complex code blocks.
Modularization:

Split large functions into smaller, reusable functions.
Group related functions together.
Input Validation:

Ensure user inputs are validated to prevent errors later in the code.
User Experience Improvements:
User Feedback:

Provide immediate feedback on actions (e.g., loading spinners, success, and error messages).
Use placeholders and help text to guide users on what inputs are expected.
Interactive Elements:

Use more interactive elements like sliders, date pickers, and multi-selects to enhance the user interface.
2025-01-17 13:06:57 +05:30
ي
451164f5b2 Update optimize_images_for_upload.py
Add Type Hints: Improve code readability and help with static type checking by adding type hints.

Modular Logging Setup: Move the logging setup to a separate function for better modularity.

Error Handling Improvements: Add more specific error handling and informative logging.

Environment Variable Loading: Ensure environment variables are loaded only once and not inside functions.

Check for API Key Validity: Add a check to validate the Tinyfy API key before using it.

Optimize Image Saving: Use a temporary file to avoid saving directly to the filesystem.
2025-01-17 13:02:51 +05:30
ي
088975a70f Update opengraph_generator.py
Here are some improvements to the og_tag_generator function in opengraph_generator.py:

Refactor Code for Better Readability:

Group related operations together and add comments for better understanding.
Use helper functions to break down larger pieces of functionality into smaller, reusable code blocks.
Error Handling:

Improve error handling by providing more specific error messages and handling different types of errors separately.
User Experience Enhancements:

Add informative messages and examples to guide the user through the input process.
Provide feedback on the success or failure of the Open Graph tag generation.
2025-01-17 12:40:56 +05:30
ي
c9b22b3653 Update on_page_seo_analyzer.py
Additional Insights for Non-Technical Users
Content Quality Insights:

Readability Score: Use libraries like textstat to calculate a readability score (e.g., Flesch Reading Ease) for the webpage content.
Keywords Highlighting: Extract and highlight frequently used keywords in the content, helping users understand what topics are emphasized.
Duplicate Content Check: Flag if the meta description or titles are repeated multiple times in the page content.
SEO Health Checks:

Broken Links Detection: Identify broken internal or external links and recommend fixing them.
Image Optimization Tips:
Suggest reducing image sizes if the file sizes exceed a certain threshold.
Recommend modern formats like WebP for better performance.
Alt Text Suggestions: Provide actionable suggestions for missing or insufficient alt text, such as "Describe the image's purpose or key elements."
Social Media Enhancement:

Suggest best practices for Open Graph and Twitter tags, such as recommended tag content length or formats.
Generate suggested meta descriptions and Open Graph descriptions for improved click-through rates.
Accessibility Recommendations:

Heading Structure Audit: Check for skipped heading levels (e.g., h2 follows h4) and provide guidance on correcting them.
Contrast Ratio Check: Flag potential text-to-background contrast issues for visually impaired users (can use APIs like Lighthouse).
ARIA Tags: Check for the presence of ARIA (Accessible Rich Internet Applications) tags and recommend their addition if missing.
Performance Insights:

Lazy Loading Suggestions: Highlight images without loading="lazy" and recommend lazy loading to improve page load speed.
Critical CSS Suggestions: Advise inlining critical CSS for faster initial render.
Script Optimization: Highlight unminified or unused JavaScript and recommend optimization.
Custom Recommendations:

Call to Action (CTA) Suggestions: Analyze the text for actionable elements like buttons or links and recommend improving CTAs.
Internal Linking Suggestions: Suggest adding internal links for keywords or headings that lack links.
Schema Markup Expansion: Recommend additional schema types (e.g., FAQ, Product, Review) based on the page content.
Mobile Friendliness Enhancements:

Check for touch targets (buttons and links) being too small or too close together.
Flag pages without mobile-friendly navigation menus.
Enhancements to User Experience
Highlight Strengths and Weaknesses: Use color-coded sections to differentiate between well-optimized and underperforming areas.

Simplified Metrics:

Break down complex scores (like PageSpeed or SEO scores) into "Good," "Needs Improvement," and "Poor" categories.
Provide plain-English explanations for non-technical users.
Recommendations Section:

Provide step-by-step instructions or examples for fixing identified issues, such as "How to add a canonical tag" or "How to structure hreflang attributes."
Actionable Insights Dashboard: Summarize all findings in a visually appealing dashboard with prioritized to-do lists.

Export Reports: Allow users to export the analysis and recommendations in a PDF or CSV format for easier sharing and tracking.
2025-01-17 12:23:10 +05:30
ي
6bfc851a1c Update on_page_seo_analyzer.py
PEP 8 Compliance:

Ensure proper spacing around operators and after commas.
Group import statements by standard library, third-party, and local imports.
Error Handling:

Improve error messages to be more descriptive and helpful.
Code Structure:

Ensure consistent indentation and formatting.
Remove any unused imports or commented-out code.
Docstrings:

Ensure all functions have detailed docstrings explaining their purpose, arguments, and return values.
Optimization:

Reduce repeated calls to fetch_and_parse_html by reusing the soup object.
2025-01-17 11:16:51 +05:30
ي
b369e5f504 Update meta_desc_generator.py
Improve the readability, structure, and functionality of the code.
2025-01-17 10:49:36 +05:30
ي
d3eb02ef8e Update image_alt_text_generator.py
This version includes clear comments, detailed docstrings, and adheres to PEP 8 standards. It also uses environment variables for sensitive information and provides helpful tooltips for user inputs.
2025-01-17 10:44:34 +05:30
ي
9875cb8602 Optimize google_pagespeed_insights.py 2025-01-17 10:38:28 +05:30
ي
5722d852a4 Update content_title_generator.py 2025-01-17 10:04:40 +05:30
ي
b41320ef10 Fix code scanning alert no. 12: Full server-side request forgery
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-01-14 18:07:55 +05:30
ي
b10e1af1b5 Fix code scanning alert no. 4: Uncontrolled data used in path expression
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-01-13 16:36:19 +05:30
ajaysi
52753901f1 Fixing Errors - WIP - Making improvements, content workflows 2024-09-13 19:41:48 +05:30
ajaysi
ca8618a6a4 AI SEO tools - Readibility & Analysis, Agents content ideator 2024-09-04 21:51:52 +05:30
ajaysi
4d71cc1f3b New: AI SEO tools- On Page SEO Analyzer tool 2024-08-25 17:14:26 +05:30
ajaysi
c66a11b8a7 New: AI SEO tools- Get Google PageSpeed Insights 2024-08-23 19:59:56 +05:30
ajaysi
fe59ec07cc Backlinking tool & Img optimization, PIL & Tinify API 2024-08-15 09:47:12 +05:30
ajaysi
ac43dee24f New: AI SEO tools- OpenGraph Tags generation, blog from pdf 2024-08-14 14:21:57 +05:30
ajaysi
20bda6c964 New: AI SEO tools, OpenGraph Tags generator 2024-08-09 16:17:09 +05:30
ajaysi
4d887c87eb AI SEO alt text generator 2024-08-05 10:17:30 +05:30
ajaysi
f204219edb New: AI SEO tools, Rich snippet, AI product description 2024-07-21 16:09:59 +05:30
ajaysi
44d83e2b81 Features: AI Rich snippet from url, AI product description writer 2024-07-17 12:00:27 +05:30
ajaysi
e06c4ffae3 Feature: AI SEO - Generate rich snippet from url 2024-07-12 19:05:20 +05:30