From 3b02dfd381e05fbc13ad9abe006439abe852efbf Mon Sep 17 00:00:00 2001 From: Devansh Date: Tue, 9 Jul 2024 01:56:01 +0530 Subject: [PATCH 1/7] feat : Added subcategory chat bots in aitools and added chatgpt in it #2399 --- components/TopBar/CategoryDescriptions.ts | 6 +++--- database/ai_tools/chat-bot.json | 9 +++++++++ database/data.ts | 6 +++++- database/index.ts | 2 ++ 4 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 database/ai_tools/chat-bot.json diff --git a/components/TopBar/CategoryDescriptions.ts b/components/TopBar/CategoryDescriptions.ts index 59bc60782..ef582b266 100644 --- a/components/TopBar/CategoryDescriptions.ts +++ b/components/TopBar/CategoryDescriptions.ts @@ -130,12 +130,12 @@ const categoryDescriptions: CategoryDescriptions = { 'Natural Language Processing is a branch of artificial intelligence that focuses on the interaction between computers and human language. It involves the development of algorithms and models that enable machines to understand and generate human language, allowing them to perform tasks like language translation an more. ', // AI Tools - design: + 'design': 'Harness the power of AI-driven editing tools to refine your writing effortlessly. From grammar and style suggestions to readability enhancements, these editors ensure your content shines with clarity and precision', - chatbots: - "Experience seamless interactions and instant assistance with AI chatbots. Whether it's answering queries, providing support, or automating tasks, these intelligent bots deliver personalized responses to enhance user experiences.", 'blog-writing': 'Unlock your creativity and streamline your blog writing process with AI-powered tools. From generating ideas to optimizing SEO, these tools empower you to craft engaging content that captivates your audience.', + 'chat-bot': + "Experience seamless interactions and instant assistance with AI chatbots. Whether it's answering queries, providing support, or automating tasks, these intelligent bots deliver personalized responses to enhance user experiences.", // cyber-security 'offensive-security': diff --git a/database/ai_tools/chat-bot.json b/database/ai_tools/chat-bot.json new file mode 100644 index 000000000..d186dc357 --- /dev/null +++ b/database/ai_tools/chat-bot.json @@ -0,0 +1,9 @@ +[ + { + "name": "Chat GPT", + "description": "An AI chat assistance which provides conversational AI services, generating human-like text responses for various user queries and tasks.", + "url": "https://openai.com/chatgpt/", + "category": "ai-tools", + "subcategory": "chat-bot" + } +] \ No newline at end of file diff --git a/database/data.ts b/database/data.ts index 0d8bec77b..1e8b21ff2 100644 --- a/database/data.ts +++ b/database/data.ts @@ -4,7 +4,6 @@ import { v4 as uuidv4 } from 'uuid' export const database: IData[][] = Object.values(DB).map((item: IDBData[]) => item.map((subcat: IDBData) => ({ ...subcat, id: uuidv4() })) ) - export const sidebarData: ISidebar[] = [ { category: 'frontend', @@ -234,6 +233,11 @@ export const sidebarData: ISidebar[] = [ url: '/blog-writing', resources: DB.blog_writing, }, + { + name: 'chat bots', + url: '/chat-bot', + resources: DB.chat_bot, + }, ], }, { diff --git a/database/index.ts b/database/index.ts index 1fcc72bfc..547becbc2 100644 --- a/database/index.ts +++ b/database/index.ts @@ -78,6 +78,8 @@ export { default as nlp } from './artificial_intelligence/NLP.json' //ai tools export { default as design } from './ai_tools/design.json' export { default as blog_writing } from './ai_tools/blog-writing.json' +export { default as chat_bot } from './ai_tools/chat-bot.json' + // Open-source export { default as openSourceArticles } from './open_source/articles.json' export { default as openSourcePrograms } from './open_source/os-programs.json' From 1635c1f102fdb29016732be6fa9461ad0979bc48 Mon Sep 17 00:00:00 2001 From: Devansh Date: Wed, 17 Jul 2024 19:06:57 +0530 Subject: [PATCH 2/7] feat : Added Gemini and Microsoft Copilot --- database/ai_tools/chat-bot.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/database/ai_tools/chat-bot.json b/database/ai_tools/chat-bot.json index d186dc357..526f4cec8 100644 --- a/database/ai_tools/chat-bot.json +++ b/database/ai_tools/chat-bot.json @@ -5,5 +5,19 @@ "url": "https://openai.com/chatgpt/", "category": "ai-tools", "subcategory": "chat-bot" + }, + { + "name": "Gemini Chatbot", + "description": "An AI chat aGemini, formerly known as Bard, is a generative artificial intelligence chatbot developed by Google.Provides conversational AI service and human-like responses", + "url": "https://gemini.google.com/app", + "category": "ai-tools", + "subcategory": "chat-bot" + }, + { + "name": "Microsoft Copilot", + "description": "Microsoft Copilot leverages the power of AI to boost productivity, unlock creativity, and helps you understand information better with a simple chat bot.", + "url": "https://copilot.microsoft.com/", + "category": "ai-tools", + "subcategory": "chat-bot" } ] \ No newline at end of file From 1fd4d089f41e94cd3043a87d4665796f6914df29 Mon Sep 17 00:00:00 2001 From: Rupali Haldiya <78981177+rupali-codes@users.noreply.github.com> Date: Thu, 25 Jul 2024 13:43:54 +0530 Subject: [PATCH 3/7] Update index.ts --- database/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/index.ts b/database/index.ts index 7780e5c8b..d1810c764 100644 --- a/database/index.ts +++ b/database/index.ts @@ -77,7 +77,7 @@ export { default as deepLearning } from './artificial_intelligence/deep_learning export { default as nlp } from './artificial_intelligence/NLP.json' //ai tools export { default as design } from './ai_tools/design.json' -export { default as blog_writing } from './ai_tools/blog-writing.json' +export { default as blog_writing } from './ai_tools/blog_writing.json' export { default as chat_bot } from './ai_tools/chat-bot.json' // Open-source From 76bd435cc38af74c95fc2014ba5bcfb49ab0c141 Mon Sep 17 00:00:00 2001 From: Devansh Date: Fri, 26 Jul 2024 19:21:29 +0530 Subject: [PATCH 4/7] fix: changed filename --- database/ai_tools/{chat-bot.json => chat_bots.json} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename database/ai_tools/{chat-bot.json => chat_bots.json} (100%) diff --git a/database/ai_tools/chat-bot.json b/database/ai_tools/chat_bots.json similarity index 100% rename from database/ai_tools/chat-bot.json rename to database/ai_tools/chat_bots.json From 877ef378d41035e0e0828972cb44482266b4715a Mon Sep 17 00:00:00 2001 From: Juan Diaz Date: Fri, 5 Jul 2024 17:10:12 -0400 Subject: [PATCH 5/7] Broken links (#38) * Check links #2357 * chore: enable workflow_dispatch for check_links.yaml * test * broken links * json files * json files * path * False Positive URL * add False Positive URL * add False Positive URL --- .github/workflows/check_links.yml | 63 +++++++++++++++++++++++++++++++ .lycheeignore | 19 ++++++++++ 2 files changed, 82 insertions(+) create mode 100644 .github/workflows/check_links.yml create mode 100644 .lycheeignore diff --git a/.github/workflows/check_links.yml b/.github/workflows/check_links.yml new file mode 100644 index 000000000..eec212ebd --- /dev/null +++ b/.github/workflows/check_links.yml @@ -0,0 +1,63 @@ +name: Check links + +on: + pull_request: + branches: + - test + push: + branches: + - test + workflow_dispatch: + schedule: + - cron: '30 12 * * 1' # This will run every Monday at 12:30 UTC + +jobs: + LinkChecker: + runs-on: ubuntu-latest + permissions: + contents: read + issues: write + env: + issue-lookup-label: automated-link-issue + issue-content: ./lychee-out.md + steps: + - uses: actions/checkout@v4 + - name: Restore lychee cache + uses: actions/cache@v4 + with: + path: .lycheecache + key: cache-lychee-${{ github.sha }} + restore-keys: cache-lychee- + - name: Link Checker + id: lychee + uses: lycheeverse/lychee-action@v1.10.0 + with: + fail: true + args: --verbose --no-progress --exclude-file .lycheeignore '**/*.md' '**/*.json' + output: ${{ env.issue-content }} + + # Permissions (issues: read) + - name: 'Look for an existing issue' + if: ${{ failure() }} + id: last-issue + uses: micalevisk/last-issue-action@v2 + # Find the last updated open issue with a `automated-issue` label: + with: + state: open + labels: ${{ env.issue-lookup-label }} + + # Permissions (issues: write) + - name: 'Create a new issue, or update an existing one' + if: ${{ failure() }} + uses: peter-evans/create-issue-from-file@v4 + with: + title: 'docs: Broken links found' + content-filepath: ${{ env.issue-content }} + # Update an existing issue if one was found (issue_number), + # otherwise an empty value creates a new issue: + issue-number: ${{ steps['last-issue']['outputs']['issue-number'] }} + # Add a label(s) that `last-issue` can use to find this issue, + # and any other relevant labels for the issue itself: + labels: | + ${{ env.issue-lookup-label }} + broken-link, docs diff --git a/.lycheeignore b/.lycheeignore new file mode 100644 index 000000000..1cd3f302f --- /dev/null +++ b/.lycheeignore @@ -0,0 +1,19 @@ + + + +https://canva.com/ +https://leetcode.com/ +https://www.udemy.com/ +https://recharts.org/en-US/ +https://pexels.com/ +https://www.interviewbit.com/ +https://codepen.io/ +https://flaticon.com/ +https://in.indeed.com/ +https://pixabay.com/ +https://www.phind.com +https://www.trellix.com/ +https://www.brimble.io/ +https://www.000webhost.com/ +https://www.glassdoor.co.in/index.htm +https://www.gartner.com/reviews/market/security-information-event-management From a0e4fca42fadf71d7da5cf4960b707451bb88bfb Mon Sep 17 00:00:00 2001 From: Devansh Date: Sun, 28 Jul 2024 17:19:03 +0530 Subject: [PATCH 6/7] Fix: fixed imports --- components/TopBar/CategoryDescriptions.ts | 2 +- database/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/TopBar/CategoryDescriptions.ts b/components/TopBar/CategoryDescriptions.ts index 70cca17a1..21f1171ef 100644 --- a/components/TopBar/CategoryDescriptions.ts +++ b/components/TopBar/CategoryDescriptions.ts @@ -132,7 +132,7 @@ const categoryDescriptions: CategoryDescriptions = { // AI Tools 'design': 'Harness the power of AI-driven editing tools to refine your writing effortlessly. From grammar and style suggestions to readability enhancements, these editors ensure your content shines with clarity and precision', - chatbots: + "chat-bot": "Experience seamless interactions and instant assistance with AI chatbots. Whether it's answering queries, providing support, or automating tasks, these intelligent bots deliver personalized responses to enhance user experiences.", blog_writing: 'Unlock your creativity and streamline your blog writing process with AI-powered tools. From generating ideas to optimizing SEO, these tools empower you to craft engaging content that captivates your audience.', diff --git a/database/index.ts b/database/index.ts index d1810c764..3cd3e37a0 100644 --- a/database/index.ts +++ b/database/index.ts @@ -78,7 +78,7 @@ export { default as nlp } from './artificial_intelligence/NLP.json' //ai tools export { default as design } from './ai_tools/design.json' export { default as blog_writing } from './ai_tools/blog_writing.json' -export { default as chat_bot } from './ai_tools/chat-bot.json' +export { default as chat_bot } from './ai_tools/chat_bots.json' // Open-source export { default as openSourceArticles } from './open_source/articles.json' From 9360d9bfdba6f04a2e0f74d8cdda9f2594b1c6aa Mon Sep 17 00:00:00 2001 From: Devansh Date: Mon, 5 Aug 2024 16:58:49 +0530 Subject: [PATCH 7/7] Fix: fixed subcategory name --- components/TopBar/CategoryDescriptions.ts | 2 +- database/ai_tools/chat_bots.json | 6 +++--- database/data.ts | 4 ++-- database/index.ts | 2 +- pages/[category]/[...subcategory].tsx | 7 +++---- 5 files changed, 10 insertions(+), 11 deletions(-) diff --git a/components/TopBar/CategoryDescriptions.ts b/components/TopBar/CategoryDescriptions.ts index 21f1171ef..716a8f818 100644 --- a/components/TopBar/CategoryDescriptions.ts +++ b/components/TopBar/CategoryDescriptions.ts @@ -132,7 +132,7 @@ const categoryDescriptions: CategoryDescriptions = { // AI Tools 'design': 'Harness the power of AI-driven editing tools to refine your writing effortlessly. From grammar and style suggestions to readability enhancements, these editors ensure your content shines with clarity and precision', - "chat-bot": + chat_bots: "Experience seamless interactions and instant assistance with AI chatbots. Whether it's answering queries, providing support, or automating tasks, these intelligent bots deliver personalized responses to enhance user experiences.", blog_writing: 'Unlock your creativity and streamline your blog writing process with AI-powered tools. From generating ideas to optimizing SEO, these tools empower you to craft engaging content that captivates your audience.', diff --git a/database/ai_tools/chat_bots.json b/database/ai_tools/chat_bots.json index 526f4cec8..154644f09 100644 --- a/database/ai_tools/chat_bots.json +++ b/database/ai_tools/chat_bots.json @@ -4,20 +4,20 @@ "description": "An AI chat assistance which provides conversational AI services, generating human-like text responses for various user queries and tasks.", "url": "https://openai.com/chatgpt/", "category": "ai-tools", - "subcategory": "chat-bot" + "subcategory": "chat_bots" }, { "name": "Gemini Chatbot", "description": "An AI chat aGemini, formerly known as Bard, is a generative artificial intelligence chatbot developed by Google.Provides conversational AI service and human-like responses", "url": "https://gemini.google.com/app", "category": "ai-tools", - "subcategory": "chat-bot" + "subcategory": "chat_bots" }, { "name": "Microsoft Copilot", "description": "Microsoft Copilot leverages the power of AI to boost productivity, unlock creativity, and helps you understand information better with a simple chat bot.", "url": "https://copilot.microsoft.com/", "category": "ai-tools", - "subcategory": "chat-bot" + "subcategory": "chat_bots" } ] \ No newline at end of file diff --git a/database/data.ts b/database/data.ts index 1f9dfdeac..f2b3d80ec 100644 --- a/database/data.ts +++ b/database/data.ts @@ -235,8 +235,8 @@ export const sidebarData: ISidebar[] = [ }, { name: 'chat bots', - url: '/chat-bot', - resources: DB.chat_bot, + url: '/chat_bots', + resources: DB.chat_bots, }, ], }, diff --git a/database/index.ts b/database/index.ts index 3cd3e37a0..fa04775e9 100644 --- a/database/index.ts +++ b/database/index.ts @@ -78,7 +78,7 @@ export { default as nlp } from './artificial_intelligence/NLP.json' //ai tools export { default as design } from './ai_tools/design.json' export { default as blog_writing } from './ai_tools/blog_writing.json' -export { default as chat_bot } from './ai_tools/chat_bots.json' +export { default as chat_bots } from './ai_tools/chat_bots.json' // Open-source export { default as openSourceArticles } from './open_source/articles.json' diff --git a/pages/[category]/[...subcategory].tsx b/pages/[category]/[...subcategory].tsx index 7f00fc560..c567f59f5 100644 --- a/pages/[category]/[...subcategory].tsx +++ b/pages/[category]/[...subcategory].tsx @@ -16,13 +16,12 @@ interface PageProps { subcategory: string } -interface Params extends ParsedUrlQuery, PageProps {} +interface Params extends ParsedUrlQuery, PageProps { } const SubCategory: NextPage = ({ subcategory }) => { const { filterDB, pageCategory } = useFilterDB(subcategory[0]) - const title = `LinksHub - ${ - pageCategory[0].toUpperCase() + pageCategory.slice(1) - }` + const title = `LinksHub - ${pageCategory[0].toUpperCase() + pageCategory.slice(1) + }` const numberOfCards = filterDB[0].length const { totalPages, currentPage, startIndex, endIndex, handlePageChange } = usePagination(filterDB.length ? filterDB[0].length : 0)