Skip to content

Commit 4d05383

Browse files
committed
homepage
1 parent 9874894 commit 4d05383

File tree

7 files changed

+14414
-96
lines changed

7 files changed

+14414
-96
lines changed

README.md

Lines changed: 7 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -6,61 +6,25 @@ The repository [**CodehubX**](https://github.com/SIDDHU123M/CodehubX) is a curat
66
Explore various categories, each containing carefully selected websites with detailed descriptions, ensuring you can easily find what you need.
77

88
### AI Resources
9-
10-
Unlock the potential of AI with tools and libraries in these categories:
11-
- **AI Libraries**: Explore the best AI libraries for machine learning, data science, and more.
12-
- **Free AI Tools**: Access a range of free AI-powered tools for your projects.
13-
- **Paid/Enterprise AI Tools**: Discover premium AI tools designed for professional use.
14-
- **Open-Source AI Libraries**: Find open-source libraries to build and innovate in AI.
9+
Unlock the potential of AI with tools and libraries.
1510

1611
### Entertainment
17-
18-
Get access to the best platforms for your entertainment needs, including:
19-
- **Movie & Series**: Stream the latest movies and TV shows from various platforms.
20-
- **Light Novels & Manga**: Dive into a world of light novels and manga.
21-
- **Anime & NSFW**: Watch anime and access NSFW content.
22-
- **Youtube Clients & Music**: Enhance your YouTube experience with specialized apps.
23-
- **Apps for Streaming**: Explore apps that provide various streaming services.
12+
Get access to the best platforms for your entertainment needs.
2413

2514
### Piracy Resources
26-
27-
Access tools and websites for piracy-related content:
28-
- **Torrents**: Find the best torrent sites for your downloads.
29-
- **Modded Apps and Games**: Discover modded versions of popular apps and games.
30-
- **Pirated PC Games**: Access pirated games for PC.
31-
- **Cracked Softwares**: Get cracked versions of software.
15+
Access tools and websites for piracy-related content.
3216

3317
### Free Resources
34-
35-
Explore educational and professional resources for growth and development:
36-
- **Programming Language**: Learn new programming languages with free resources.
37-
- **Cybersecurity Skills**: Enhance your cybersecurity knowledge with free tools and tutorials.
38-
- **Professional Skills**: Gain skills that boost your career, including cheat sheets and discounted courses.
39-
- **Machine Learning, Deep Learning, and Networking**: Free resources to learn machine learning, deep learning, and networking.
40-
- **Ethical Hacking, Algorithms, and Data Structures**: Strengthen your skills in these critical areas.
41-
- **Online Learning Platforms**: Discover free platforms for online learning and self-improvement.
18+
Explore educational and professional resources for growth and development.
4219

4320
### GitHub Repositories
44-
45-
Browse valuable repositories for developers and cybersecurity enthusiasts:
46-
- **Data Scraping, Penetration Testing, and Cryptography**: Tools for data scraping, penetration testing, and cryptography.
47-
- **Malware Research, Bug Hunting, and OSINT**: Dive into resources for malware research, bug hunting, and open-source intelligence.
48-
- **Web Security & Ethical Hacking Tools**: Explore tools for web application security and ethical hacking.
49-
- **Blockchain & Smart Contract Security**: Discover tools related to blockchain and smart contract security.
21+
Browse valuable repositories for developers and cybersecurity enthusiasts.
5022

5123
### Tools
52-
53-
Access a comprehensive collection of development and design tools:
54-
- **Code Snippet & Web Development Tools**: Tools for improving your code and web development projects.
55-
- **Design & UI Tools**: Enhance your designs and user interfaces with these powerful tools.
56-
- **Project Management & Collaboration**: Collaborate more efficiently with tools for project management.
57-
- **Cloud Services & Automation**: Explore cloud services and automation tools to streamline development.
24+
Access a comprehensive collection of development and design tools.
5825

5926
### Fake Identity Tools
60-
61-
Create and manage temporary identities with ease:
62-
- **Temporary Phone Numbers & Email Addresses**: Use disposable phone numbers and emails for anonymity.
63-
- **Fake Identity Generators**: Generate fake identities for online use.
27+
Create and manage temporary identities with ease.
6428

6529
### Important Note
6630
If any URL is not working or you think something needs an update, please report it to [[email protected]](mailto:[email protected]).

data/README.md

Lines changed: 7 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -6,61 +6,25 @@ The repository [**CodehubX**](https://github.com/SIDDHU123M/CodehubX) is a curat
66
Explore various categories, each containing carefully selected websites with detailed descriptions, ensuring you can easily find what you need.
77

88
### AI Resources
9-
10-
Unlock the potential of AI with tools and libraries in these categories:
11-
- **AI Libraries**: Explore the best AI libraries for machine learning, data science, and more.
12-
- **Free AI Tools**: Access a range of free AI-powered tools for your projects.
13-
- **Paid/Enterprise AI Tools**: Discover premium AI tools designed for professional use.
14-
- **Open-Source AI Libraries**: Find open-source libraries to build and innovate in AI.
9+
Unlock the potential of AI with tools and libraries.
1510

1611
### Entertainment
17-
18-
Get access to the best platforms for your entertainment needs, including:
19-
- **Movie & Series**: Stream the latest movies and TV shows from various platforms.
20-
- **Light Novels & Manga**: Dive into a world of light novels and manga.
21-
- **Anime & NSFW**: Watch anime and access NSFW content.
22-
- **Youtube Clients & Music**: Enhance your YouTube experience with specialized apps.
23-
- **Apps for Streaming**: Explore apps that provide various streaming services.
12+
Get access to the best platforms for your entertainment needs.
2413

2514
### Piracy Resources
26-
27-
Access tools and websites for piracy-related content:
28-
- **Torrents**: Find the best torrent sites for your downloads.
29-
- **Modded Apps and Games**: Discover modded versions of popular apps and games.
30-
- **Pirated PC Games**: Access pirated games for PC.
31-
- **Cracked Softwares**: Get cracked versions of software.
15+
Access tools and websites for piracy-related content.
3216

3317
### Free Resources
34-
35-
Explore educational and professional resources for growth and development:
36-
- **Programming Language**: Learn new programming languages with free resources.
37-
- **Cybersecurity Skills**: Enhance your cybersecurity knowledge with free tools and tutorials.
38-
- **Professional Skills**: Gain skills that boost your career, including cheat sheets and discounted courses.
39-
- **Machine Learning, Deep Learning, and Networking**: Free resources to learn machine learning, deep learning, and networking.
40-
- **Ethical Hacking, Algorithms, and Data Structures**: Strengthen your skills in these critical areas.
41-
- **Online Learning Platforms**: Discover free platforms for online learning and self-improvement.
18+
Explore educational and professional resources for growth and development.
4219

4320
### GitHub Repositories
44-
45-
Browse valuable repositories for developers and cybersecurity enthusiasts:
46-
- **Data Scraping, Penetration Testing, and Cryptography**: Tools for data scraping, penetration testing, and cryptography.
47-
- **Malware Research, Bug Hunting, and OSINT**: Dive into resources for malware research, bug hunting, and open-source intelligence.
48-
- **Web Security & Ethical Hacking Tools**: Explore tools for web application security and ethical hacking.
49-
- **Blockchain & Smart Contract Security**: Discover tools related to blockchain and smart contract security.
21+
Browse valuable repositories for developers and cybersecurity enthusiasts.
5022

5123
### Tools
52-
53-
Access a comprehensive collection of development and design tools:
54-
- **Code Snippet & Web Development Tools**: Tools for improving your code and web development projects.
55-
- **Design & UI Tools**: Enhance your designs and user interfaces with these powerful tools.
56-
- **Project Management & Collaboration**: Collaborate more efficiently with tools for project management.
57-
- **Cloud Services & Automation**: Explore cloud services and automation tools to streamline development.
24+
Access a comprehensive collection of development and design tools.
5825

5926
### Fake Identity Tools
60-
61-
Create and manage temporary identities with ease:
62-
- **Temporary Phone Numbers & Email Addresses**: Use disposable phone numbers and emails for anonymity.
63-
- **Fake Identity Generators**: Generate fake identities for online use.
27+
Create and manage temporary identities with ease.
6428

6529
### Important Note
6630
If any URL is not working or you think something needs an update, please report it to [[email protected]](mailto:[email protected]).

data/github-repos.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
---
44

5-
### Data Scraping Tools (Best and Limited)
5+
### Data Scraping Tools
66
* [Scrapy](https://github.com/scrapy/scrapy) - A robust, open-source framework for web scraping in Python, widely adopted for its scalability.
77
* [BeautifulSoup](https://github.com/wention/BeautifulSoup4) - A Python library for extracting information from HTML and XML documents efficiently.
88
* [Playwright](https://github.com/microsoft/playwright) - A modern automation library supporting multiple languages and ideal for scraping dynamic websites.

index.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,15 @@
2020
<meta http-equiv="Content-Security-Policy"
2121
content="default-src 'none'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; script-src 'self' 'unsafe-inline' https://cdn.jsdelivr.net; img-src data:; connect-src 'self'; font-src 'self' https://fonts.gstatic.com;">
2222
<title>CodeHubx</title>
23+
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css" rel="stylesheet">
2324
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined" rel="stylesheet">
2425
<link href="https://fonts.googleapis.com/css2?family=Titillium+Web:wght@600&display=swap" rel="stylesheet">
2526
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:[email protected]&display=swap" rel="stylesheet">
2627
<link href="https://fonts.googleapis.com/css2?family=Nabla&display=swap" rel="stylesheet">
27-
<link href="https://fonts.googleapis.com/css2?family=Audiowide&display=swap" rel="stylesheet">
28+
<link href="https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap"
29+
rel="stylesheet">
2830
<link rel="stylesheet" href="styles/style.css">
31+
<script src="scripts/tailwind.js"></script>
2932
</head>
3033

3134
<body>

scripts/main.js

Lines changed: 58 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,63 @@ function renderSidebar(files) {
7676

7777
async function loadPage(file) {
7878
try {
79-
const response = await fetch(file);
80-
if (!response.ok) {
81-
throw new Error(`Failed to load ${file}: ${response.statusText}`);
79+
let htmlContent;
80+
if (file === "data/README.md") {
81+
htmlContent = `
82+
<h2>Overview</h2>
83+
<p class="boldS mb-4 text-lg font-normal text-gray-500 dark:text-gray-400">The repository <a href="https://github.com/SIDDHU123M/CodehubX">CodehubX</a> is a curated collection of diverse resources for developers, students, and tech enthusiasts. It features an extensive range of websites and tools, categorized into multiple sections for easy navigation. Whether you're interested in AI, entertainment, cybersecurity, or even creating a fake identity, CodehubX offers valuable tools and resources to enhance your journey.</p>
84+
<p class="boldS mb-4 text-lg font-normal text-gray-500 dark:text-gray-400">Explore various categories, each containing carefully selected websites with detailed descriptions, ensuring you can easily find what you need.</p>
85+
86+
<h2>Content</h2>
87+
<ol class="relative border-s border-gray-200 dark:border-gray-700">
88+
<li class="mb-4 ms-4">
89+
<div class="absolute w-2 h-2 bg-gray-200 rounded-full mt-1.5 -start-1.5 border border-white dark:border-gray-900 dark:bg-gray-700"></div>
90+
<h1 class="text-lg font-semibold text-gray-900 dark:text-white">AI Resources</h1>
91+
<p class="boldS mb-4 text-lg font-normal text-gray-500 dark:text-gray-400">Unlock the potential of AI with tools and libraries.</p>
92+
</li>
93+
<li class="mb-4 ms-4">
94+
<div class="absolute w-2 h-2 bg-gray-200 rounded-full mt-1.5 -start-1.5 border border-white dark:border-gray-900 dark:bg-gray-700"></div>
95+
<h1 class="text-lg font-semibold text-gray-900 dark:text-white">Entertainment</h1>
96+
<p class="boldS mb-4 text-lg font-normal text-gray-500 dark:text-gray-400">Get access to the best platforms for your entertainment needs.</p>
97+
</li>
98+
<li class="mb-4 ms-4">
99+
<div class="absolute w-2 h-2 bg-gray-200 rounded-full mt-1.5 -start-1.5 border border-white dark:border-gray-900 dark:bg-gray-700"></div>
100+
<h1 class="text-lg font-semibold text-gray-900 dark:text-white">Piracy Resources</h1>
101+
<p class="boldS mb-4 text-lg font-normal text-gray-500 dark:text-gray-400">Access tools and websites for piracy-related content.</p>
102+
</li>
103+
<li class="mb-4 ms-4">
104+
<div class="absolute w-2 h-2 bg-gray-200 rounded-full mt-1.5 -start-1.5 border border-white dark:border-gray-900 dark:bg-gray-700"></div>
105+
<h1 class="text-lg font-semibold text-gray-900 dark:text-white">Free Resources</h1>
106+
<p class="boldS mb-4 text-lg font-normal text-gray-500 dark:text-gray-400">Explore educational and professional resources for growth and development.</p>
107+
</li>
108+
<li class="mb-4 ms-4">
109+
<div class="absolute w-2 h-2 bg-gray-200 rounded-full mt-1.5 -start-1.5 border border-white dark:border-gray-900 dark:bg-gray-700"></div>
110+
<h1 class="text-lg font-semibold text-gray-900 dark:text-white">GitHub Repositories</h1>
111+
<p class="boldS mb-4 text-lg font-normal text-gray-500 dark:text-gray-400">Browse valuable repositories for developers and cybersecurity enthusiasts.</p>
112+
</li>
113+
<li class="mb-4 ms-4">
114+
<div class="absolute w-2 h-2 bg-gray-200 rounded-full mt-1.5 -start-1.5 border border-white dark:border-gray-900 dark:bg-gray-700"></div>
115+
<h1 class="text-lg font-semibold text-gray-900 dark:text-white">Tools</h1>
116+
<p class="boldS mb-4 text-lg font-normal text-gray-500 dark:text-gray-400">Access a comprehensive collection of development and design tools.</p>
117+
</li>
118+
<li class="mb-4 ms-4">
119+
<div class="absolute w-2 h-2 bg-gray-200 rounded-full mt-1.5 -start-1.5 border border-white dark:border-gray-900 dark:bg-gray-700"></div>
120+
<h1 class="text-lg font-semibold text-gray-900 dark:text-white">Fake Identity Tools</h1>
121+
<p class="boldS mb-4 text-lg font-normal text-gray-500 dark:text-gray-400">Create and manage temporary identities with ease.</p>
122+
</li>
123+
</ol>
124+
125+
<h2>Important Note</h2>
126+
<p class="boldS mb-4 text-lg font-normal text-gray-500 dark:text-gray-400">If any URL is not working or you think something needs an update, please report it to <a href="mailto:[email protected]" class="text-blue-500">[email protected]</a>.</p>
127+
`;
128+
} else {
129+
const response = await fetch(file);
130+
if (!response.ok) {
131+
throw new Error(`Failed to load ${file}: ${response.statusText}`);
132+
}
133+
const markdown = await response.text();
134+
htmlContent = converter.makeHtml(markdown);
82135
}
83-
const markdown = await response.text();
84-
let htmlContent = converter.makeHtml(markdown);
85136
document.getElementById("content").innerHTML = htmlContent;
86137
if (file !== "data/README.md") {
87138
createRightNav();
@@ -95,7 +146,7 @@ async function loadPage(file) {
95146

96147
function createRightNav() {
97148
const content = document.getElementById("content");
98-
const headings = content.querySelectorAll("h3");
149+
const headings = content.querySelectorAll("h1");
99150
const firstH2 = content.querySelector("h2");
100151
const navHeading = firstH2 ? firstH2.textContent : "Navigation";
101152
const rightNavContent = Array.from(headings)
@@ -169,7 +220,7 @@ function setActiveLink(activeLink) {
169220
}
170221

171222
window.addEventListener("scroll", () => {
172-
const headings = Array.from(document.querySelectorAll("#content h3"));
223+
const headings = Array.from(document.querySelectorAll("#content h1"));
173224
const scrollPosition = window.scrollY + 200;
174225
headings.forEach((heading, i) => {
175226
const nextHeading = headings[i + 1];

0 commit comments

Comments
 (0)