Skip to content

Commit 75fcbaa

Browse files
Some messages
1 parent 1b9b6aa commit 75fcbaa

File tree

18 files changed

+551
-4507
lines changed

18 files changed

+551
-4507
lines changed

.gitignore

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# System files
2+
.DS_Store
3+
Thumbs.db
4+
desktop.ini
5+
6+
# Editor directories and files
7+
.idea/
8+
.vscode/
9+
*.suo
10+
*.ntvs*
11+
*.njsproj
12+
*.sln
13+
*.sw?
14+
15+
# Temporary files
16+
*.log
17+
*.tmp
18+
temp-*
19+
20+
# Node.js dependencies
21+
node_modules/
22+
npm-debug.log*
23+
yarn-debug.log*
24+
yarn-error.log*
25+
package-lock.json
26+
yarn.lock
27+
28+
# Environment variables
29+
.env
30+
.env.local
31+
.env.development
32+
.env.test
33+
.env.production

.nojekyll

Whitespace-only changes.

CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
kiitians.example.com

LICENSE

Lines changed: 0 additions & 21 deletions
This file was deleted.

README.md

Lines changed: 60 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,68 @@
1-
# Kiitian Finder 😋
2-
(v1) Find a kiit student `Name`, `Email` and `Student Number` using his/her roll number only.
3-
(v2) Now you can find staff `Email`, `Social Profiles` and `Institution Mail`.
1+
# KIIT Site Shutdown Notice
42

5-
This can be helpful if you need to find some staff or student in case of emergencies OR you are creating a database that includes staff and student details.
3+
A simple static webpage displaying a shutdown notice for the KIIT website as per administration request.
64

7-
# How to run? 🤨
5+
## Description
86

9-
Make sure you have <a href="https://nodejs.org/en">nodeJS</a> installed. And this requires an active internet connection.
7+
This project consists of a static webpage that informs visitors about the shutdown of the KIIT website due to administrative requests. It includes a notice, contact information (Instagram), and a teaser for upcoming projects.
108

11-
Paste this into your favourite terminal.
12-
```bash
13-
git clone https://github.com/erucix/kiitian-finder
14-
cd kiitian-finder
15-
node kiit.js 220XXXXX # <--this is your kiit roll number
16-
```
9+
## Features
10+
11+
- Responsive design for all device sizes
12+
- Animated message display with typing effect
13+
- Social media contact links (Instagram and GitHub)
14+
- Modern UI with gradient background
1715

18-
# How to find faculties now? 🤨
16+
## Files Structure
1917

20-
For getting faculties you need to install some extra modules. Paste this code intor your Commmand Prompt or Terminal to do all in once.
21-
```bash
22-
git clone https://github.com/erucix/kiitian-finder
23-
cd kiitian-finder
24-
npm install jsdom got
25-
node faculty.js # <---- Saves output in faculty.json file.
2618
```
27-
**Note**: Running faculty search will cost you some time since we are fetching every staff details from the site.
19+
kiitians_backend/
20+
├── index.html # Main HTML document
21+
├── styles.css # CSS stylesheet
22+
├── script.js # JavaScript for animations and interactions
23+
├── README.md # Documentation
24+
├── CNAME # Custom domain configuration for GitHub Pages
25+
└── .nojekyll # Disables Jekyll processing on GitHub Pages
26+
```
27+
28+
## Deployment Instructions
29+
30+
### Local Deployment
31+
32+
1. Clone the repository or download the files
33+
2. Open `index.html` in any modern web browser
34+
35+
### GitHub Pages Deployment
36+
37+
1. Create a new GitHub repository
38+
2. Push all files to the repository
39+
3. Go to Settings > Pages
40+
4. Select the branch to deploy (usually `main`)
41+
5. The site will be published at `https://<username>.github.io/<repository-name>/`
42+
43+
### Custom Domain Deployment
44+
45+
1. Update the `CNAME` file with your domain
46+
2. Configure your domain's DNS settings:
47+
- Add an A record pointing to GitHub Pages IP addresses
48+
- OR add a CNAME record pointing to `<username>.github.io`
49+
50+
### Netlify Deployment
51+
52+
1. Sign up for Netlify
53+
2. Connect your GitHub repository or drag and drop the project folder
54+
3. Configure build settings (not required for static sites)
55+
4. Deploy
56+
57+
## Customization
58+
59+
- Update the Instagram username in `script.js`
60+
- Update the GitHub username in `script.js`
61+
- Modify colors and styling in `styles.css`
62+
- Edit messages in `index.html`
63+
64+
## Contact
2865

29-
⚠️ **Desclaimer**: This is only for recreational and educational purpose and I am in no way responsible for the misconduct done with the use of this program.
66+
For any questions, contact on:
67+
- Instagram: [@riteshchauhan_15](https://instagram.com/riteshchauhan_15)
68+
- GitHub: [ritesh-chauhan0x1](https://github.com/ritesh-chauhan0x1)

deploy.ps1

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# Deployment script for the KIIT Shutdown Notice site
2+
# This script helps deploy the site to GitHub Pages or Netlify
3+
4+
# Exit on error
5+
$ErrorActionPreference = "Stop"
6+
7+
# Function to display help
8+
function Show-Help {
9+
Write-Host "Deployment Script for KIIT Shutdown Notice"
10+
Write-Host "Usage:"
11+
Write-Host " .\deploy.ps1 [option]"
12+
Write-Host "Options:"
13+
Write-Host " -h, --help Show this help message"
14+
Write-Host " -g, --github Deploy to GitHub Pages"
15+
Write-Host " -n, --netlify Deploy to Netlify"
16+
Write-Host " -v, --vercel Deploy to Vercel"
17+
}
18+
19+
# Check if no arguments provided
20+
if ($args.Count -eq 0) {
21+
Show-Help
22+
exit
23+
}
24+
25+
# Process command line arguments
26+
$option = $args[0]
27+
28+
switch ($option) {
29+
{ $_ -in "-h", "--help" } {
30+
Show-Help
31+
exit
32+
}
33+
{ $_ -in "-g", "--github" } {
34+
Write-Host "Deploying to GitHub Pages..."
35+
Write-Host "1. Ensure you have Git installed and configured"
36+
Write-Host "2. Create a new repository on GitHub if you haven't already"
37+
Write-Host "3. Run these commands to deploy to GitHub Pages:"
38+
Write-Host " git init"
39+
Write-Host " git add ."
40+
Write-Host " git commit -m 'Initial commit'"
41+
Write-Host " git branch -M main"
42+
Write-Host " git remote add origin https://github.com/your-username/repository-name.git"
43+
Write-Host " git push -u origin main"
44+
Write-Host "4. Go to repository settings on GitHub and enable GitHub Pages"
45+
}
46+
{ $_ -in "-n", "--netlify" } {
47+
Write-Host "Deploying to Netlify..."
48+
Write-Host "1. Ensure you have the Netlify CLI installed"
49+
Write-Host " npm install netlify-cli -g"
50+
Write-Host "2. Run these commands to deploy to Netlify:"
51+
Write-Host " netlify login"
52+
Write-Host " netlify deploy"
53+
Write-Host "3. When ready for production, deploy with:"
54+
Write-Host " netlify deploy --prod"
55+
}
56+
{ $_ -in "-v", "--vercel" } {
57+
Write-Host "Deploying to Vercel..."
58+
Write-Host "1. Ensure you have the Vercel CLI installed"
59+
Write-Host " npm install -g vercel"
60+
Write-Host "2. Run these commands to deploy to Vercel:"
61+
Write-Host " vercel login"
62+
Write-Host " vercel"
63+
Write-Host "3. When ready for production, deploy with:"
64+
Write-Host " vercel --prod"
65+
}
66+
default {
67+
Write-Host "Invalid option: $option"
68+
Show-Help
69+
exit 1
70+
}
71+
}
72+
73+
Write-Host "Deployment instructions displayed. Follow the steps above to complete your deployment."

0 commit comments

Comments
 (0)