Repository: Candida18/College-Enquiry-Chatbot
Branch: main
Commit: 50eaa5cbd4ad
Files: 12
Total size: 69.9 KB
Directory structure:
gitextract_ewz6ojfg/
├── CRCE Bot/
│ ├── app.py
│ ├── chatbot.py
│ ├── static/
│ │ ├── Dataset.txt
│ │ ├── assets/
│ │ │ ├── css/
│ │ │ │ └── Login-Form-Dark.css
│ │ │ └── js/
│ │ │ └── bs-init.js
│ │ └── styles/
│ │ └── style.css
│ └── templates/
│ ├── forgot.html
│ ├── index.html
│ ├── login.html
│ └── register.html
├── LICENSE
└── README.md
================================================
FILE CONTENTS
================================================
================================================
FILE: CRCE Bot/app.py
================================================
from chatbot import chatbot
from flask import Flask, render_template, request,session,logging,url_for,redirect,flash
from flask_recaptcha import ReCaptcha
import mysql.connector
import os
app = Flask(__name__)
recaptcha = ReCaptcha(app=app)
app.secret_key=os.urandom(24)
app.static_folder = 'static'
app.config.update(dict(
RECAPTCHA_ENABLED = True,
RECAPTCHA_SITE_KEY = "6LdbAx0aAAAAAANl04WHtDbraFMufACHccHbn09L",
RECAPTCHA_SECRET_KEY = "6LdbAx0aAAAAAMmkgBKJ2Z9xsQjMD5YutoXC6Wee"
))
recaptcha=ReCaptcha()
recaptcha.init_app(app)
app.config['SECRET_KEY'] = 'cairocoders-ednalan'
#database connectivity
conn=mysql.connector.connect(host='localhost',port='3306',user='root',password='candida1',database='register')
cur=conn.cursor()
# Google recaptcha - site key : 6LdbAx0aAAAAAANl04WHtDbraFMufACHccHbn09L
# Google recaptcha - secret key : 6LdbAx0aAAAAAMmkgBKJ2Z9xsQjMD5YutoXC6Wee
@app.route("/index")
def home():
if 'id' in session:
return render_template('index.html')
else:
return redirect('/')
@app.route('/')
def login():
return render_template("login.html")
@app.route('/register')
def about():
return render_template('register.html')
@app.route('/forgot')
def forgot():
return render_template('forgot.html')
@app.route('/login_validation',methods=['POST'])
def login_validation():
email=request.form.get('email')
password=request.form.get('password')
cur.execute("""SELECT * FROM `users` WHERE `email` LIKE '{}' AND `password` LIKE '{}'""".format(email,password))
users = cur.fetchall()
if len(users)>0:
session['id']=users[0][0]
flash('You were successfully logged in')
return redirect('/index')
else:
flash('Invalid credentials !!!')
return redirect('/')
# return "The Email is {} and the Password is {}".format(email,password)
# return render_template('register.html')
@app.route('/add_user',methods=['POST'])
def add_user():
name=request.form.get('name')
email=request.form.get('uemail')
password=request.form.get('upassword')
#cur.execute("UPDATE users SET password='{}'WHERE name = '{}'".format(password, name))
cur.execute("""INSERT INTO users(name,email,password) VALUES('{}','{}','{}')""".format(name,email,password))
conn.commit()
cur.execute("""SELECT * FROM `users` WHERE `email` LIKE '{}'""".format(email))
myuser=cur.fetchall()
flash('You have successfully registered!')
session['id']=myuser[0][0]
return redirect('/index')
@app.route('/suggestion',methods=['POST'])
def suggestion():
email=request.form.get('uemail')
suggesMess=request.form.get('message')
cur.execute("""INSERT INTO suggestion(email,message) VALUES('{}','{}')""".format(email,suggesMess))
conn.commit()
flash('You suggestion is succesfully sent!')
return redirect('/index')
@app.route('/add_user',methods=['POST'])
def register():
if recaptcha.verify():
flash('New User Added Successfully')
return redirect('/register')
else:
flash('Error Recaptcha')
return redirect('/register')
@app.route('/logout')
def logout():
session.pop('id')
return redirect('/')
@app.route("/get")
def get_bot_response():
userText = request.args.get('msg')
return str(chatbot.get_response(userText))
if __name__ == "__main__":
# app.secret_key=""
app.run()
================================================
FILE: CRCE Bot/chatbot.py
================================================
from chatterbot import ChatBot
from chatterbot.trainers import ListTrainer
import spacy
spacy.load('en_core_web_sm')
# from spacy.lang.en import English
from chatterbot.trainers import ChatterBotCorpusTrainer
# Creating ChatBot Instance
chatbot = ChatBot('<b>CRCE BOT</b>')
# nlp = spacy.load("en_core_web_sm")
chatbot = ChatBot(
'ChatBot for College Enquiry',
storage_adapter='chatterbot.storage.SQLStorageAdapter',
logic_adapters=[
{
'import_path': 'chatterbot.logic.BestMatch',
'default_response': "Hi there, Welcome to Fr. CRCE! 👋 If you need any assistance, I'm always here.Go ahead and write the number of any query. 😃✨<b><br><br> Which of the following user groups do you belong to? <br><br>1. Student's Section Enquiry.</br>2. Faculty Section Enquiry. </br>3. Parent's Section Enquiry.</br>4. Visitor's Section Enquiry.</br><br>",
'maximum_similarity_threshold': 0.90
}
],
database_uri='sqlite:///database.sqlite3'
)
trainer = ListTrainer(chatbot)
# python app.py
# Training with Personal Ques & Ans
conversation = [
"Hi",
"Helloo!",
"Hey",
"How are you?",
"I'm good.</br> <br>Go ahead and write the number of any query. 😃✨ <br> 1. Student's Section Enquiry.</br>2. Faculty Section Enquiry. </br>3. Parent's Section Enquiry.</br>4. Visitor's Section Enquiry.</br>",
"Great",
"Go ahead and write the number of any query. 😃✨ <br> 1. Student's Section Enquiry.</br>2. Faculty Section Enquiry. </br>3. Parent's Section Enquiry.</br>4. Visitor's Section Enquiry.</br>",
"good",
"Go ahead and write the number of any query. 😃✨ <br> 2. Faculty Section Enquiry. </br>3. Parent's Section Enquiry.</br>4. Visitor's Section Enquiry.</br>",
"fine",
"Go ahead and write the number of any query. 😃✨ <br> 2. Faculty Section Enquiry. </br>3. Parent's Section Enquiry.</br>4. Visitor's Section Enquiry.</br>",
"Thank You",
"Your Welcome 😄",
"Thanks",
"Your Welcome 😄",
"Bye",
"Thank You for visiting!..",
"What do you do?",
"I am made to give Information about Fr. CRCE college.",
"What else can you do?",
"I can help you know more about Fr. CRCE",
"1",
"<b>STUDENT <br>The following are frequently searched terms related to student . Please select one from the options below : <br> <br> 1.1 Curriculars <br>1.2 Extra-Curriculars<br>1.3 Administrative<br>1.4 Examination <br>1.5 Placements </b>",
"1.1",
"<b> CURRICULAR <br> These are the top results: <br> <br> 1.1.1 Moodle <br> 1.1.2 Academic Calendar <br> 1.1.3 Syllabus </b>",
"1.1.1",
"<b> 1.1.1 Moodle <br>The link to Moodle 👉 <a href=" 'http://gyan.fragnel.edu.in:2222/moodle/' ">Click Here</a> </b>",
"1.1.2",
"<b > 1.1.2 Academic Calender<br>The link to Academic Calender👉<a href=" 'http://www.frcrce.ac.in/index.php/academics/academic-calendar' ">Click Here</a> </b>",
"1.1.3",
"<b> 1.1.3 Syllabus<br>The link to Syllabus 👉 <a href=" 'http://www.frcrce.ac.in/index.php/academics/tlp/syllabus' ">Click Here</a> </b>",
"1.2",
"<b>EXTRA-CURRICULAR<br>These are the top results: <br> <br> 1.2.1 Events<br> 1.2.2 Student Chapters <br> 1.2.3 Student's Council</b>",
"1.2.1",
"<b > 1.2.1 Events<br>The link to Events👉 <a href=" 'http://www.frcrce.ac.in/index.php/students/events-new' ">Click Here</a></b>",
"1.2.2",
"<b > 1.2.2 Student Chapters<br>The link to Student Chapters👉<a href=" 'http://www.frcrce.ac.in/index.php/students/forums' ">Click Here</a> </b>",
"1.2.3",
"<b > 1.2.3 Student's Council <br>The link to Student's Council👉 <a href=" 'http://www.frcrce.ac.in/index.php/students/students-council' ">Click Here</a> </b>",
"1.3",
"<b>1.3 ADMINISTRATIVE<br>These are the top results: <br> <br> 1.3.1 Students Portal<br> 1.3.2 Notices </b>",
"1.3.1",
"<b> 1.3.1 Students Portal<br>The link to Students Portal👉 <a href=" 'http://granth.fragnel.edu.in:5186/pinfo/index.php' ">Click Here</a> </b>",
"1.3.2",
"<b> 1.3.2 Notices<br>The link to Notices👉 <a href=" 'http://www.frcrce.ac.in/index.php/students/crce-notices/109-office-administration' ">Click Here</a> </b>",
"1.4",
"<b > EXAMINATION <br>These are the top results:<br> 1.4.1 Notices<br> 1.4.2 Examination Process <br> 1.4.3 Question Paper Archive </b>",
"1.4.1",
"<b > 1.4.1 Notices<br>The link to Notices👉 <a href=" 'http://www.frcrce.ac.in/index.php/students/crce-notices/110-examsection' ">Click Here</a> </b>",
"1.4.2",
"<b > 1.4.2 Examination Process<br>The link to Examination Process👉<a href=" 'http://www.frcrce.ac.in/index.php/academics/examination/exam-process' ">Click Here</a> </b>",
"1.4.3",
"<b > 1.4.3 Question Paper Archive<br>The link to Archives👉 <a href=" 'http://www.frcrce.ac.in/questionpaper/ArchUE.php' ">Click Here</a> </b>",
"1.5",
"<b > PLACEMENTS These are the top results:<br> 1.5.1 Placements<br> 1.5.2 Our Recruiters <br> 1.5.3 Placement Statistics </b>",
"1.5.1",
"<b> 1.5.1 Placements<br>The link to Placements👉 <a href=" 'http://www.frcrce.ac.in/index.php/students/placements/campus-placement-overview' ">Click Here</a> </b>",
"1.5.2",
"<b> 1.5.2 Our Recruiters<br>The link to Recruiters👉<a href=" 'http://www.frcrce.ac.in/index.php/students/placements/our-recruiters' ">Click Here</a> </b>",
"1.5.3",
"<b > 1.5.3 Placement Statistics<br>The link to Placement Statistics👉 <a href=" 'http://www.frcrce.ac.in/index.php/students/placements/placement-statistics' ">Click Here</a> </b>",
"2",
"<b >FACULTY<br>The following are frequently searched terms related to faculty. Please select one from the options below :</br></br>2.1 Portals & Administration<br>2.2 Change Personal Details<br>2.3 Examination </b>",
"2.1",
"<b > PORTALS & ADMINISTRATION These are the top results:<br> 2.1.1 Biometric Attendance System <br>2.1.2 Moodle </b>",
"2.1.1",
"<b> 2.1.1 Biometric Attendance<br>The link to Biometric Attendance👉<a href=" 'http://samay.fragnel.edu.in:1234/timeo/' ">Click Here</a> </b>",
"2.1.2",
"<b> 2.1.2 Moodle<br>The link to Moodle👉<a href=" 'http://gyan.fragnel.edu.in:2222/moodle' ">Click Here</a> </b>",
"2.2",
"<b > CHANGE PERSONAL DETAILS These are the top results:<br> <br> 2.2.1 Site Login <br> </b>",
"2.2.1",
"<b> 2.2.1 Site Login<br>The link to Site Login👉<a href=" 'http://www.frcrce.ac.in/index.php/component/users/?view=login&Itemid=437' ">Click Here</a> </b>",
"2.3",
"<b > EXAMINATION <br>These are the top results:<br> <br> 2.3.1 Notices<br> 2.3.2 Question Paper Archive </b>",
"2.3.1",
"<b> 2.3.1 Notices <br>The link to Notices 👉 <a href=" 'http://www.frcrce.ac.in/index.php/students/crce-notices/110-examsection' ">Click Here</a> </b>",
"2.3.2",
"<b> 2.3.2 Question Paper Archive <br>The link to Archive👉<a href=" 'http://www.frcrce.ac.in/questionpaper/ArchUE.php' ">Click Here</a> </b>",
"3",
"<b> PARENTS <br>The following are frequently searched terms related to Parents. Please select one from the options below : <br> <br> 3.1 About Us <br>3.2 Notices <br>3.3 Fee Payment <br>3.4 Placements </b> " ,
"3.1",
"<b > ABOUT US<br>These are the top results:<br> <br> 3.1.1 About CRCE<br> 3.1.2 Director's Address <br> 3.1.3 Principal's Address </b>",
"3.1.1",
"<b > 3.1.1 About CRCE<br>The link to About CRCE👉 <a href=" 'http://www.frcrce.ac.in/index.php/about-us/about-crce' ">Click Here</a> </b>",
"3.1.2",
"<b > 3.1.2 Director's Address <br>The link to Director's Address👉<a href=" 'http://www.frcrce.ac.in/index.php/about-us/director' ">Click Here</a> </b>",
"3.1.3",
"<b > 3.1.3 Principal's Address <br>The link to Principal's Address👉 <a href=" 'http://www.frcrce.ac.in/index.php/about-us/principal-frcrce' ">Click Here</a> </b>",
"3.2",
"<b > NOTICES<br>These are the top results:<br> <br> 3.2.1 All Notices </b>",
"3.2.1",
"<b > 3.2.1 All Notices <br>The link to All Notices👉 <a href=" 'http://www.frcrce.ac.in/index.php/students/crce-notices' ">Click Here</a> </b>",
"3.3",
"<b > ABOUT US<br>These are the top results:<br> <br>3.3.1 Payment Details <br> 3.3.2 Online Payment Portal </b>",
"3.3.1",
"<b > 3.3.1 Payment Details<br>The link to Payment Details 👉 <a href=" 'http://frcrce.ac.in/attachments/article/248/NEFTForm.pdf' ">Click Here</a> </b>",
"3.3.2",
"<b > 3.3.2 Payment Portal <br>The link to Payment Portal👉<a href=" 'https://pay.fragnel.edu.in/CRCE/initPay.php' ">Click Here</a> </b>",
"3.4",
"<b > PLACEMENTS These are the top results:<br> <br>3.4.1 Placements<br> 3.4.2 Our Recruiters <br> 3.4.3 Placement Statistics </b>",
"3.4.1",
"<b> 3.4.1 Placements<br>The link to Placements👉 <a href=" 'http://www.frcrce.ac.in/index.php/students/placements/campus-placement-overview' ">Click Here</a> </b>",
"3.4.2",
"<b> 3.4.2 Our Recruiters<br>The link to Recruiters👉<a href=" 'http://www.frcrce.ac.in/index.php/students/placements/our-recruiters' ">Click Here</a> </b>",
"3.4.3",
"<b > 3.4.3 Placement Statistics<br>The link to Placement Statistics👉 <a href=" 'http://www.frcrce.ac.in/index.php/students/placements/placement-statistics' ">Click Here</a> </b>",
"4",
"<b VISITORS <br>The following are frequently searched terms related to visitors. Please select one from the options below : <br> <br> 4.1 About Us<br>4.2 Programs We Offer <br>4.3 Student Bodies <br>4.4 Extra-Curricular </b>",
"4.1",
"<b > ABOUT US<br>These are the top results:<br> <br>4.1.1 About CRCE<br> 4.1.2 Director's Address <br> 4.1.3 Principal's Address </b>",
"4.1.1",
"<b > 4.1.1 About CRCE<br>The link to About CRCE👉 <a href=" 'http://www.frcrce.ac.in/index.php/about-us/about-crce' ">Click Here</a> </b>",
"4.1.2",
"<b > 4.1.2 Director's Address <br>The link to Director's Address👉<a href=" 'http://www.frcrce.ac.in/index.php/about-us/director' ">Click Here</a> </b>",
"4.1.3",
"<b > 4.1.3 Principal's Address <br>The link to Principal's Address👉 <a href=" 'http://www.frcrce.ac.in/index.php/about-us/principal-frcrce' ">Click Here</a> </b>",
"4.2",
"<b > PROGRAMS WE OFFER <br>These are the top results:<br> <br>4.2.1 Under-Graduate <br> 4.2.2 Post-Graduate<br> 4.2.3 Ph.D </b>",
"4.2.1",
"<b > 4.2.1 Under-Graduate<br>The link to Under-Graduate👉 <a href=" 'http://www.frcrce.ac.in/index.php/admission/under-graduate' ">Click Here</a> </b>",
"4.2.2",
"<b > 4.2.2 Post-Graduate <br>The link to Post-Graduate👉<a href=" 'http://www.frcrce.ac.in/index.php/admission/post-graduate' ">Click Here</a> </b>",
"4.2.3",
"<b > 4.2.3 Ph.D <br>The link to Ph.D👉 <a href=" 'http://www.frcrce.ac.in/index.php/admission/phd' ">Click Here</a> </b>",
"4.3",
"<b > STUDENT BODIES <br>These are the top results:<br> <br>4.3.1 Students Council <br> 4.3.2 Students Chapter <br> 4.3.3 Students Project Groups </b>",
"4.3.1",
"<b > 4.3.1 Students Council <br>The link to Students Council 👉 <a href=" 'http://www.frcrce.ac.in/index.php/students/students-council' ">Click Here</a> </b>",
"4.3.2",
"<b > 4.3.2 Students Chapter <br>The link to Students Chapter 👉<a href=" 'http://www.frcrce.ac.in/index.php/students/forums' ">Click Here</a> </b>",
"4.3.3",
"<b > 4.3.3 Students Project Groups <br>The link to Students Project Groups👉 <a href=" 'http://www.frcrce.ac.in/' ">Click Here</a> </b>",
"4.4",
"<b > EXTRA-CURRICULAR <br>These are the top results:<br> <br>4.4.1 Events <br> 4.4.2 Institute Innovation Cell </b>",
"4.4.1",
"<b > 4.4.1 Events <br>The link to Events 👉 <a href=" 'http://www.frcrce.ac.in/index.php/students/events-new' ">Click Here</a> </b>",
"4.4.2",
"<b > 4.4.2 Institute Innovation Cell <br>The link to Institute Innovation Cell 👉<a href=" 'https://crceiic.github.io/' ">Click Here</a> </b>",
]
trainer.train(conversation)
================================================
FILE: CRCE Bot/static/Dataset.txt
================================================
"Hello",
"Hi Human",
"How are you doing ?",
"I'm doing great.",
"That is good to hear",
"Thank you.",
"You're welcome.",
"what is your name ?" ,
"I'm CRCE Bot",
"who made you ?",
"I created by Candia , Lizel, Gini",
"<b style='colour:red'>Hi there, Welcome to Fr. CRCE! 👋 If you need any assistance, I'm always here.<br>Which of the following user groups do you belong to?</b>",
"1",
"<b >STUDENT <br>The following are frequently searched terms related to student . Please select one from the options below :<pre>1.1 Curriculars <br>1.2 Extra-Curriculars<br>1.3 Administrative<br>1.4 Examination <br>1.5 Placements </b>",
"1.1",
"<b> CURRICULAR <br> These are the top results: <br> 1.1.1 Moodle <br> 1.1.2 Academic Calendar <br> 1.1.3 Syllabus </b>",
"1.1.1",
"<b> 1.1.1 Moodle <br>The link to Moodle 👉 <a href=" 'http://gyan.fragnel.edu.in:2222/moodle/' ">Click Here</a> </b>",
"1.1.2",
"<b > 1.1.2 Academic Calender<br>The link to Academic Calender👉<a href=" 'http://www.frcrce.ac.in/index.php/academics/academic-calendar' ">Click Here</a> </b>",
"1.1.3",
"<b> 1.1.3 Syllabus<br>The link to Syllabus 👉 <a href=" 'http://www.frcrce.ac.in/index.php/academics/tlp/syllabus' ">Click Here</a> </b>",
"1.2",
"<b>EXTRA-CURRICULARS<br>These are the top results: <br> 1.2.1 Events<br> 1.2.2 Student Chapters <br> 1.2.3 Student's Council</b>",
"1.2.1",
"<b > 1.2.1 Events<br>The link to Events👉 <a href=" 'http://www.frcrce.ac.in/index.php/students/events-new' ">Click Here</a></b>",
"1.2.2",
"<b > 1.2.2 Student Chapters<br>The link to Student Chapters👉<a href=" 'http://www.frcrce.ac.in/index.php/students/forums' ">Click Here</a> </b>",
"1.2.3",
"<b > 1.2.3 Student's Council <br>The link to Student's Council👉 <a href=" 'http://www.frcrce.ac.in/index.php/students/students-council' ">Click Here</a> </b>",
"1.3",
"<b>1.3 ADMINISTRATIVE<br>These are the top results: <br> 1.3.1 Students Portal<br> 1.3.2 Notices </b>",
"1.3.1",
"<b> 1.3.1 Students Portal<br>The link to Students Portal👉 <a href=" 'http://granth.fragnel.edu.in:5186/pinfo/index.php' ">Click Here</a> </b>",
"1.3.2",
"<b> 1.3.2 Notices<br>The link to Notices👉 <a href=" 'http://www.frcrce.ac.in/index.php/students/crce-notices/109-office-administration' ">Click Here</a> </b>",
"1.4",
"<b > EXAMINATION <br>These are the top results:<br> 1.4.1 Notices<br> 1.4.2 Examination Process <br> 1.4.3 Question Paper Archive </b>",
"1.4.1",
"<b > 1.4.1 Notices<br>The link to Notices👉 <a href=" 'http://www.frcrce.ac.in/index.php/students/crce-notices/110-examsection' ">Click Here</a> </b>",
"1.4.2",
"<b > 1.4.2 Examination Process<br>The link to Examination Process👉<a href=" 'http://www.frcrce.ac.in/index.php/academics/examination/exam-process' ">Click Here</a> </b>",
"1.4.3",
"<b > 1.4.3 Question Paper Archive<br>The link to Archives👉 <a href=" 'http://www.frcrce.ac.in/questionpaper/ArchUE.php' ">Click Here</a> </b>",
"1.5",
"<b > PLACEMENTS These are the top results:<br> 1.5.1 Placements<br> 1.5.2 Our Recruiters <br> 1.5.3 Placement Statistics </b>",
"1.5.1",
"<b> 1.5.1 Placements<br>The link to Placements👉 <a href=" 'http://www.frcrce.ac.in/index.php/students/placements/campus-placement-overviewn' ">Click Here</a> </b>",
"1.5.2",
"<b> 1.5.2 Our Recruiters<br>The link to Recruiters👉<a href=" 'http://www.frcrce.ac.in/index.php/students/placements/our-recruiters' ">Click Here</a> </b>",
"1.5.3",
"<b > 1.5.3 Placement Statistics<br>The link to Placement Statistics👉 <a href=" 'http://www.frcrce.ac.in/index.php/students/placements/placement-statistics' ">Click Here</a> </b>",
"2",
"<b >FACULTY<br>The following are frequently searched terms related to faculty. Please select one from the options below :<pre>2.1 Portals & Administration<br>2.2 Change Personal Details<br>2.3 Examination </b>",
"2.1",
"<b > PORTALS & ADMINISTRATION These are the top results:<br> 2.1.1 Biometric Attendance System <br>2.1.2 Moodle </b>",
"2.1.1",
"<b> 2.1.1 Biometric Attendance<br>The link to Biometric Attendance👉<a href=" 'http://samay.fragnel.edu.in:1234/timeo/' ">Click Here</a> </b>",
"2.1.2",
"<b> 2.1.2 Moodle<br>The link to Recruiters👉<a href=" 'http://gyan.fragnel.edu.in:2222/moodle' ">Click Here</a> </b>",
"2.2",
"<b > CHANGE PERSONAL DETAILS These are the top results:<br> 2.2.1 Site Login <br> </b>",
"2.2.1",
"<b> 2.2.1 Site Login<br>The link to Site Login👉<a href=" 'http://www.frcrce.ac.in/index.php/component/users/?view=login&Itemid=437' ">Click Here</a> </b>",
"2.3",
"<b > EXAMINATION These are the top results:<br> 2.3.1 Notices<br> 2.3.2 Question Paper Archive </b>",
"2.3.1",
"<b> 2.3.1 Notices <br>The link to Notices 👉 <a href=" 'http://www.frcrce.ac.in/index.php/students/crce-notices/110-examsection' ">Click Here</a> </b>",
"2.3.2",
"<b> 2.3.2 Question Paper Archive <br>The link to Archive👉<a href=" 'http://www.frcrce.ac.in/questionpaper/ArchUE.php' ">Click Here</a> </b>",
"3",
"<b> PARENTS <br>The following are frequently searched terms related to Parents. Please select one from the options below :<pre>3.1 About Us <br>3.2 Notices <br> 3.3 Fee Payment </br> 3.4 Placements </b> " ,
"3.1",
"<b > ABOUT US<br>These are the top results:<br> 3.1.1 About CRCE<br> 3.1.2 Director's Address <br> 3.1.3 Principal's Address </b>",
"3.1.1",
"<b > .3.1.1 About CRCE<br>The link to About CRCE👉 <a href=" 'http://www.frcrce.ac.in/index.php/about-us/about-crce' ">Click Here</a> </b>",
"3.1.2",
"<b > 3.1.2 Director's Address <br>The link to Director's Address👉<a href=" 'http://www.frcrce.ac.in/index.php/about-us/director' ">Click Here</a> </b>",
"3.1.3",
"<b > 3.1.3 Principal's Address <br>The link to Principal's Address👉 <a href=" 'http://www.frcrce.ac.in/index.php/about-us/principal-frcrce' ">Click Here</a> </b>",
"3.2",
"<b > NOTICES<br>These are the top results:<br> 3.1.1 All Notices </b>",
"3.2.1",
"<b > .3.2.1 All Notices <br>The link to All Notices👉 <a href=" 'http://www.frcrce.ac.in/index.php/students/crce-notices' ">Click Here</a> </b>",
"3.3",
"<b > ABOUT US<br>These are the top results:<br> 3.3.1 Payment Details <br> 3.3.2 Online Payment Portal </b>",
"3.1.1",
"<b > .3.1.1 Payment Details<br>The link to Payment Details 👉 <a href=" 'http://frcrce.ac.in/attachments/article/248/NEFTForm.pdf' ">Click Here</a> </b>",
"3.1.2",
"<b > 3.1.2 Payment Portal <br>The link to Payment Portal👉<a href=" 'https://pay.fragnel.edu.in/CRCE/initPay.php' ">Click Here</a> </b>",
"3.4",
"<b > PLACEMENTS These are the top results:<br> 3.4.1 Placements<br> 3.4.2 Our Recruiters <br> 3.4.3 Placement Statistics </b>",
"3.4.1",
"<b> 3.4.1 Placements<br>The link to Placements👉 <a href=" 'http://www.frcrce.ac.in/index.php/students/placements/campus-placement-overviewn' ">Click Here</a> </b>",
"3.4.2",
"<b> 3.4.2 Our Recruiters<br>The link to Recruiters👉<a href=" 'http://www.frcrce.ac.in/index.php/students/placements/our-recruiters' ">Click Here</a> </b>",
"3.4.3",
"<b > 3.4.3 Placement Statistics<br>The link to Placement Statistics👉 <a href=" 'http://www.frcrce.ac.in/index.php/students/placements/placement-statistics' ">Click Here</a> </b>",
"4",
"<b VISITORS <br>The following are frequently searched terms related to faculty. Please select one from the options below :<pre>4.1About Us<br>4.2 Programs We Offer <br>4.3 Student Bodies <br> 4.4 Extra-Curriculars </b>",
"4.1",
"<b > ABOUT US<br>These are the top results:<br> 4.1.1 About CRCE<br> 4.1.2 Director's Address <br> 4.1.3 Principal's Address </b>",
"4.1.1",
"<b > .4.1.1 About CRCE<br>The link to About CRCE👉 <a href=" 'http://www.frcrce.ac.in/index.php/about-us/about-crce' ">Click Here</a> </b>",
"4.1.2",
"<b > 4.1.2 Director's Address <br>The link to Director's Address👉<a href=" 'http://www.frcrce.ac.in/index.php/about-us/director' ">Click Here</a> </b>",
"4.1.3",
"<b > 4.1.3 Principal's Address <br>The link to Principal's Address👉 <a href=" 'http://www.frcrce.ac.in/index.php/about-us/principal-frcrce' ">Click Here</a> </b>",
"4.2",
"<b > PROGRAMS WE OFFER <br>These are the top results:<br> 4.2.1 Under-Graduate <br> 4.1.2 Post-Graduate<br> 4.2.3 Ph.D </b>",
"4.2.1",
"<b > .4.2.1 Under-Graduate<br>The link to Under-Graduate👉 <a href=" 'http://www.frcrce.ac.in/index.php/admission/under-graduate' ">Click Here</a> </b>",
"4.2.2",
"<b > 4.2.2 Post-Graduate <br>The link to Post-Graduate👉<a href=" 'http://www.frcrce.ac.in/index.php/admission/post-graduate' ">Click Here</a> </b>",
"4.2.3",
"<b > 4.2.3 Ph.D <br>The link to Ph.D👉 <a href=" 'http://www.frcrce.ac.in/index.php/admission/phd' ">Click Here</a> </b>",
"4.3",
"<b > STUDENT BODIES <br>These are the top results:<br> 4.3.1 Students Council <br> 4.3.2 Students Chapter <br> 4.3.3 Students Project Groups </b>",
"4.3.1",
"<b > .4.3.1 Students Council <br>The link to Students Council 👉 <a href=" 'http://www.frcrce.ac.in/index.php/students/students-council' ">Click Here</a> </b>",
"4.3.2",
"<b > 4.3.2 Students Chapter <br>The link to Students Chapter 👉<a href=" 'http://www.frcrce.ac.in/index.php/students/forums' ">Click Here</a> </b>",
"4.3.3",
"<b > 4.3.3 Students Project Groups <br>The link to Students Project Groups👉 <a href=" 'http://www.frcrce.ac.in/' ">Click Here</a> </b>",
"4.4",
"<b > EXTRA-CURRICULARS <br>These are the top results:<br> 4.4.1 Events <br> 4.4.2 Institute Innovation Cell </b>",
"4.3.1",
"<b > .4.3.1 Events <br>The link to Events 👉 <a href=" 'http://www.frcrce.ac.in/index.php/students/events-new' ">Click Here</a> </b>",
"4.3.2",
"<b > 4.3.2 Institute Innovation Cell <br>The link to Institute Innovation Cell 👉<a href=" 'https://crceiic.github.io/' ">Click Here</a> </b>",
================================================
FILE: CRCE Bot/static/assets/css/Login-Form-Dark.css
================================================
.login-dark {
height: 1000px;
background: aliceblue;
/*background-size: cover;*/
background-size:contain;
position: relative;
}
.login-dark form {
max-width: 30%;
width: 90%;
background-color: #1e2833;
padding: 40px;
border-radius: 4px;
transform: translate(-50%, -50%);
position: absolute;
top: 40%;
left: 50%;
color: #fff;
box-shadow: 3px 3px 4px rgba(0,0,0,0.2);
}
.login-dark .illustration {
text-align: center;
padding: 15px 0 20px;
font-size: 100px;
color: #2980ef;
}
.login-dark form .form-control {
background: none;
border: none;
border-bottom: 1px solid #434a52;
border-radius: 0;
box-shadow: none;
outline: none;
color: inherit;
}
.login-dark form .btn-primary {
background: #214a80;
border: none;
border-radius: 4px;
padding: 11px;
box-shadow: none;
margin-top: 26px;
text-shadow: none;
outline: none;
}
.login-dark form .btn-primary:hover, .login-dark form .btn-primary:active {
background: #214a80;
outline: none;
}
.login-dark form .forgot {
display: block;
text-align: center;
font-size: 14px;
color: white;
opacity: 0.9;
text-decoration: none;
}
.login-dark form .forgot:hover, .login-dark form .forgot:active {
opacity: 1;
text-decoration: none;
text-decoration: white;
}
.login-dark form .btn-primary:active {
transform: translateY(1px);
}
================================================
FILE: CRCE Bot/static/assets/js/bs-init.js
================================================
$(document).ready(function(){
$('[data-bss-hover-animate]')
.mouseenter( function(){ var elem = $(this); elem.addClass('animated ' + elem.attr('data-bss-hover-animate')) })
.mouseleave( function(){ var elem = $(this); elem.removeClass('animated ' + elem.attr('data-bss-hover-animate')) });
});
================================================
FILE: CRCE Bot/static/styles/style.css
================================================
:root {
/*--body-bg: linear-gradient(135deg, #f5f7fa 0%, rgb(221, 237, 250) 100%);*/
--body-bg: aliceblue;
--msger-bg: #fff;
--border: 2px solid #ddd;
--left-msg-bg: linear-gradient(to right, #764ba2, #667eea);
--right-msg-bg: linear-gradient(to right, #753a88, #cc2b5e);
/*--right-msg-bg: #579ffb;*/
}
html {
box-sizing: border-box;
}
*,
*:before,
*:after {
margin: 0;
padding: 0;
box-sizing: inherit;
}
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-image: var(--body-bg);
/*font-family: Helvetica, sans-serif;*/
font-family: Georgia, "Times New Roman", Times, serif;
}
.navbar {
width: 100%;
max-width: 867px;
}
.msger {
display: flex;
flex-flow: column wrap;
justify-content: space-between;
width: 100%;
max-width: 867px;
margin: 25px 10px;
height: calc(100% - 50px);
border: var(--border);
border-radius: 5px;
background: var(--msger-bg);
box-shadow: 0 15px 15px -5px rgba(0, 0, 0, 0.2);
}
.msger-header {
/* display: flex; */
font-size: medium;
justify-content: space-between;
padding: 10px;
text-align: center;
border-bottom: var(--border);
background: #eee;
color: rgb(0, 0, 0);
}
.msger-chat {
flex: 1;
overflow-y: auto;
padding: 10px;
}
.msger-chat::-webkit-scrollbar {
width: 6px;
}
.msger-chat::-webkit-scrollbar-track {
background: #ddd;
}
.msger-chat::-webkit-scrollbar-thumb {
background: #bdbdbd;
}
.msg {
display: flex;
align-items: flex-end;
margin-bottom: 10px;
}
.msg-img {
width: 50px;
height: 50px;
margin-right: 10px;
background: #ddd;
background-repeat: no-repeat;
background-position: center;
background-size: cover;
border-radius: 50%;
}
.msg-bubble {
max-width: 450px;
padding: 15px;
border-radius: 15px;
background: var(--left-msg-bg);
}
.msg-info {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
}
.msg-info-name {
margin-right: 10px;
font-weight: bold;
}
.msg-info-time {
font-size: 0.85em;
}
.left-msg .msg-bubble {
border-bottom-left-radius: 0;
}
.right-msg {
flex-direction: row-reverse;
}
.right-msg .msg-bubble {
background: var(--right-msg-bg);
color: #fff;
border-bottom-right-radius: 0;
}
.right-msg .msg-img {
margin: 0 0 0 10px;
}
.msger-inputarea {
display: flex;
padding: 10px;
border-radius: 5px;
border-top: var(--border);
background: #eee;
}
.msger-inputarea * {
padding: 10px;
border: none;
border-radius: 3px;
font-size: 1em;
}
.msger-input {
flex: 1;
background: #ddd;
}
.msger-send-btn {
margin-left: 10px;
/*background: rgb(0, 196, 65);*/
background-image: linear-gradient(to right, #4568dc, #b06ab3);
color: black;
font-weight: bold;
cursor: pointer;
transition: background 0.23s;
}
.msger-send-btn:hover {
background-image: linear-gradient(to right, #b06ab3, #4568dc);
/* background: rgb(0, 180, 50);*/
}
.msger-chat {
background-color: black;
}
================================================
FILE: CRCE Bot/templates/forgot.html
================================================
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>Login</title>
<link rel="icon" href="{{ url_for('static', filename='images/icon.png') }}" type="image" sizes="16x16">
<link rel="stylesheet" href="{{ url_for('static', filename='assets/bootstrap/css/bootstrap.min.css') }}">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Catamaran:100,200,300,400,500,600,700,800,900">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:100,100i,300,300i,400,400i,700,700i,900,900i">
<link rel="stylesheet" href="{{ url_for('static', filename='assets/fonts/ionicons.min.css') }}">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">
<link rel="stylesheet" href="{{ url_for('static', filename='assets/css/Login-Form-Dark.css') }}">
</head>
<body>
<nav class="navbar navbar-dark navbar-expand-lg fixed-top bg-dark navbar-custom">
<div class="container">
<a class="navbar-brand" href="#" style="font-size: large;">CRCE Bot</a><button data-toggle="collapse" class="navbar-toggler" data-target="#navbarResponsive"><span class="navbar-toggler-icon"></span></button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ml-auto">
<li class="nav-item"><a class="nav-link" href="/">Log In</a></li>
<li class="nav-item"><a class="nav-link" href="/register">Register</a></li>
</ul>
</div>
</div>
</nav>
<section class="login-dark">
<form action='/add_user' method='POST'>
<centre>
<h4 style="text-align: center;">FORGOT PASSWORD</h4>
</centre>
<br>
<div class="form-signup">
<div class="form-group">
<input class="form-control" type="text" name="name" placeholder="Name" required>
</div>
<div class="form-group">
<input class="form-control" type="email" name="uemail" placeholder="Email" required>
</div>
<div class="form-group">
<input class="form-control" type="password" name="upassword" placeholder="Password" pattern=".{8,}" required title="8 characters minimum">
</div>
<br>
{{recaptcha}}
</br>
<div class="form-group">
<button class="btn btn-block" data-bss-hover-animate="pulse" type="submit" style="background-color: #2980ef; color: white">Submit</button>
</div>
</div>
</form>
</section>
<script src="{{ url_for('static', filename='assets/js/jquery.min.js') }}"></script>
<script src="{{ url_for('static', filename='assets/bootstrap/js/bootstrap.min.js') }}"></script>
<script src="{{ url_for('static', filename='assets/js/bs-init.js') }}"></script>
</body>
</html>
================================================
FILE: CRCE Bot/templates/index.html
================================================
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>CRCE Bot</title>
<link rel="icon" href="{{ url_for('static', filename='images/icon.png') }}" type="image" sizes="16x16">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<link rel="stylesheet" href="{{ url_for('static', filename='styles/style.css') }}">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/js/bootstrap.bundle.min.js"></script>
<link rel="stylesheet" href="{{ url_for('static', filename='assets/bootstrap/css/bootstrap.min.css') }}">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Catamaran:100,200,300,400,500,600,700,800,900">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:100,100i,300,300i,400,400i,700,700i,900,900i">
<link rel="stylesheet" href="{{ url_for('static', filename='assets/fonts/ionicons.min.css') }}">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">
<link rel="stylesheet" href="{{ url_for('static', filename='assets/css/Login-Form-Dark.css') }}">
</head>
<body>
<section class="msger">
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<!--a class="navbar-brand" href="#">CRCE Bot</a-->
<a class="navbar-brand" href="#" style="color: white;">
 <i class="fas fa-graduation-cap"></i> <b> CRCE BOT   </b></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ml-auto">
<li class="nav-item active"><a class="nav-link" href="/index">Home</a></li>
<li class="nav-item">
<a class="nav-link" data-toggle="modal" data-target="#exampleModalScrollable" href="#"> About Us </a>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="modal" data-target="#exampleModal" href="#">Suggestion box</a>
</li>
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Suggestion box</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form action='/suggestion' method='POST'>
<div class="form-group">
<input type="email" name='uemail' class='form-control' placeholder="Email" required>
<br>
<textarea class="form-control" id="message-text" placeholder="Enter your suggestion..." name="message" required></textarea>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="Submit" class="btn btn-primary" data-target="#alert">Submit</button>
</div>
</form>
</div>
</div>
</div>
</div>
<div class="modal fade" id="exampleModalScrollable" tabindex="-1" role="dialog"
aria-labelledby="exampleModalScrollableTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-scrollable" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalScrollableTitle">Fr CRCE BOT </h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<h3>About Us</h3>
<div><img src="http://www.frcrce.ac.in/images/crce/about/college-with-clouds.jpg" height="auto" width="100%" style="border: 3px solid black;"></div>
<br> <br>
<p style="text-align: justify;">Located in a picturesque environment in the heart of the Mumbai city, Fr.Conceicao Rodrigues College of Engineering (Fr.CRCE) is one of the renowned, premier and sought-after private Engineering colleges. The Institute is dedicated to making a difference in Engineering education, with its exclusive approach towards the ongoing momentum of trends in technology and holistic development.
<p style="text-align: justify;">Beginning with an orphanage (BalBhavan) and a trade school in carpentry, the Agnel Ashram (set up in 1957 at Bandra, Mumbai) has today grown into a full-fledged Technical Complex. The Institute today proudly bears the founder's name as a fitting tribute to his impassioned faith in highly-qualified and fully-trained engineers and technicians in the service of the nation.</p>
<p style="text-align: justify;">The Institute started with only one programme in Production Engineering in 1984 with an intake capacity of 60 students. In 1987, the programme in Electronics Engineering was started with an intake capacity of 60 students followed by Computer Engineering in 1991 with an intake capacity of 60 students. In 2001, the programme in Information Technology was started with an intake capacity of 30 students which was later increased to 60 in 2010. The College started offering Master’s Degree in Electronics Engineering and Mechanical Engineering in the year 2005, each having an intake capacity of 18. Doctoral programs in Electronics Engineering and Mechanical Engineering commenced in 2014 and 2015 respectively. From the year 2019, a new Undergraduate degree programme in Mechanical Engineering has been started with an intake capacity of 60. Also, the BE undergraduate programme in Electronics Engineering has been changed to Electronics and Computer Science. The Undergraduate programme in Information Technology has been merged with Computer Engineering. From the year 2020, college is offering new undergraduate programme in the emerging area of ‘AI & Data Science’.</p>
<p style="text-align: justify;">Based on the Outcome-based Education (OBE) parameters and criteria, three programmes of the Institute have been accredited by National Board of Accreditation (NBA-India) for a period of three years valid until June 2022.</p>
<p style="text-align: justify;">The Institute has been consistently ranked highly in major surveys like the NIRF, TOI, INDIA TODAY to name a few. The college is ranked among the top 300 Engineering institutes of the country by NIRF 2020, conducted by MHRD. Based on the Outcome-Based Education (OBE) parameters and criteria, three programmes of the institute have been accredited by the National Board of Accreditation (NBA-India) form 2017. The current accreditation is valid until June 2023. The college is also a NAAC accredited. In addition, the Institute has been consistently ranked highly by reputed surveys like TOI, India Today, The Week, Education World to name a few.</p>
<h3>Contact Us</h3>
<ul>
<li style = "margin-left:15px">Email: group3cgl@gmail.com</li>
<li style = "margin-left:15px">By Candida, Gini & Lizel 😊 </li>
</ul>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<li class="nav-item"><a class="nav-link" href="/logout">Log Out</a></li>
</ul>
</div>
</nav>
<!--header class="msger-header">
<div class="msger-header-title">
<h5><i class="fas fa-graduation-cap"></i> <b>   CRCE BOT   </b><i class="fas fa-graduation-cap"></i></h5>
</div>
</header-->
{% with messages = get_flashed_messages() %}
{% if messages %}
{% for message in messages %}
<div class="alert alert-success alert-dismissible" id="alert" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<strong>{{ message }}</strong>
</div>
{% endfor %}
{% endif %}
{% endwith %}
<main class="msger-chat" style="color: white;">
</br>
<div class="msg left-msg">
<div class="msg-img" style = "background-image: url(https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSByXho41yToOFz5UcHHwct3X-OWwkft_akfA&usqp=CAU)">
</div>
<div class="msg-bubble">
<div class="msg-info">
<div class="msg-info-name"><b>CRCE BOT</b> </div>
</div>
<div class="msg-text" style="color: white;">
<b >Hi there, Welcome to Fr. CRCE! 👋 If you need any assistance, I'm always here.
</div>
</div>
</div>
<div class="msg left-msg">
<div class="msg-img" style = "background-image: url(https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSByXho41yToOFz5UcHHwct3X-OWwkft_akfA&usqp=CAU)">
</div>
<div class="msg-bubble">
<div class="msg-info">
<div class="msg-info-name"> <b>CRCE BOT</b></div>
</div>
<div class="msg-text" style="color: white;">
Which of the following user groups do you belong to?
<br><br>1. Student's Section Enquiry.</br>2. Faculty Section Enquiry. </br>3. Parent's Section Enquiry.</br>4. Visitor's Section Enquiry.</br>
</div>
</div>
</div>
</main>
<form class="msger-inputarea">
<input type="text" class="msger-input" id="textInput" placeholder="Enter your enquiry number...">
<button type="submit" class="msger-send-btn">Send</button>
</form>
</section>
<!-- partial -->
<script src='https://use.fontawesome.com/releases/v5.0.13/js/all.js'></script>
<script>
$("#alert").delay(3000).slideUp(200, function() {
$(this).alert('close');
});
$('#myModal').on('shown.bs.modal', function () {
$('#myInput').trigger('focus')
})
const msgerForm = get(".msger-inputarea");
const msgerInput = get(".msger-input");
const msgerChat = get(".msger-chat");
// Icons made by Freepik from www.flaticon.com
const BOT_IMG = "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSByXho41yToOFz5UcHHwct3X-OWwkft_akfA&usqp=CAU";
const PERSON_IMG = "https://image.flaticon.com/icons/svg/145/145867.svg";
const BOT_NAME = "CRCE Bot";
const PERSON_NAME = "You";
msgerForm.addEventListener("submit", event => {
event.preventDefault();
const msgText = msgerInput.value;
if (!msgText) return;
appendMessage(PERSON_NAME, PERSON_IMG, "right", msgText);
msgerInput.value = "";
botResponse(msgText);
});
function appendMessage(name, img, side, text) {
// Simple solution for small apps
const msgHTML = `
<div class="msg ${side}-msg">
<div class="msg-img" style="background-image: url(${img})"></div>
<div class="msg-bubble">
<div class="msg-info">
<div class="msg-info-name">${name}</div>
<div class="msg-info-time">${formatDate(new Date())}</div>
</div>
<div class="msg-text">${text}</div>
</div>
</div>
`;
msgerChat.insertAdjacentHTML("beforeend", msgHTML);
msgerChat.scrollTop += 500;
}
function botResponse(rawText) {
// Bot Response
$.get("/get", { msg: rawText }).done(function (data) {
console.log(rawText);
console.log(data);
const msgText = data;
appendMessage(BOT_NAME, BOT_IMG, "left", msgText);
});
}
// Utils
function get(selector, root = document) {
return root.querySelector(selector);
}
function formatDate(date) {
const h = "0" + date.getHours();
const m = "0" + date.getMinutes();
return `${h.slice(-2)}:${m.slice(-2)}`;
}
</script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-b5kHyXgcpbZJO/tY9Ul7kGkf1S0CWuKcCD38l8YkeH8z8QjE0GmW1gYU5S9FOnJ0"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
crossorigin="anonymous"></script>
</body>
</html>
================================================
FILE: CRCE Bot/templates/login.html
================================================
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>Login</title>
<link rel="icon" href="{{ url_for('static', filename='images/icon.png') }}" type="image" sizes="16x16">
<link rel="stylesheet" href="{{ url_for('static', filename='assets/bootstrap/css/bootstrap.min.css') }}">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Catamaran:100,200,300,400,500,600,700,800,900">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:100,100i,300,300i,400,400i,700,700i,900,900i">
<link rel="stylesheet" href="{{ url_for('static', filename='assets/fonts/ionicons.min.css') }}">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">
<link rel="stylesheet" href="{{ url_for('static', filename='assets/css/Login-Form-Dark.css') }}">
</head>
<body>
<nav class="navbar navbar-dark navbar-expand-lg fixed-top bg-dark navbar-custom">
<div class="container">
<a class="navbar-brand" href="#" style="font-size: large;">CRCE Bot</a><button data-toggle="collapse" class="navbar-toggler" data-target="#navbarResponsive"><span class="navbar-toggler-icon"></span></button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ml-auto">
<li class="nav-item"><a class="nav-link" href="/">Log In</a></li>
<li class="nav-item"><a class="nav-link" href="/register">Register</a></li>
</ul>
</div>
</div>
</nav>
<section class="login-dark">
<form action='/login_validation' method='POST'>
<div>
{% with messages = get_flashed_messages() %}
{% if messages %}
{% for message in messages %}
<div class="alert alert-danger alert-dismissible fade show" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<strong>{{ message }}</strong> <br><small> Try again or forgot the password!</small>
</div>
{% endfor %}
{% endif %}
{% endwith %}
</div>
<div class="illustration"><i class="icon ion-ios-locked-outline"></i></div>
<div class="form-group">
<input class="form-control" type="email" name="email" placeholder="Email" required/>
</div>
<div class="form-group">
<input class="form-control" type="password" name="password" placeholder="Password" pattern=".{8,}" required title="8 characters minimum">
</div>
</br>
<div class="form-group">
<button class="btn btn-block" data-bss-hover-animate="pulse" type="submit" style="background-color: #2980ef; color:white;">
Log In
</button>
</div>
<a class="forgot" href="/register"> Create an Account </a>
<a class="forgot" href="/forgot">Forgot your email or password?</a>
</form>
</section>
<script src="{{ url_for('static', filename='assets/js/jquery.min.js') }}"></script>
<script src="{{ url_for('static', filename='assets/bootstrap/js/bootstrap.min.js') }}"></script>
<script src="{{ url_for('static', filename='assets/js/bs-init.js') }}"></script>
</body>
</html>
================================================
FILE: CRCE Bot/templates/register.html
================================================
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>Register</title>
<link rel="icon" href="{{ url_for('static', filename='images/icon.png') }}" type="image" sizes="16x16">
<link rel="stylesheet" href="{{ url_for('static', filename='assets/bootstrap/css/bootstrap.min.css') }}">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Catamaran:100,200,300,400,500,600,700,800,900">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:100,100i,300,300i,400,400i,700,700i,900,900i">
<link rel="stylesheet" href="{{ url_for('static', filename='assets/fonts/ionicons.min.css') }}">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">
<link rel="stylesheet" href="{{ url_for('static', filename='assets/css/Login-Form-Dark.css') }}">
</head>
<body>
<nav class="navbar navbar-dark navbar-expand-lg fixed-top bg-dark navbar-custom">
<div class="container">
<a class="navbar-brand" href="#" style="font-size: large;">CRCE Bot</a><button data-toggle="collapse" class="navbar-toggler" data-target="#navbarResponsive"><span class="navbar-toggler-icon"></span></button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ml-auto">
<li class="nav-item"><a class="nav-link" href="/">Log In</a></li>
<li class="nav-item"><a class="nav-link" href="/register">Register</a></li>
</ul>
</div>
</div>
</nav>
<section class="login-dark">
<form action='/add_user' method='POST'>
<div class="form-signup">
<centre>
<h4 style="text-align: center;">REGISTER</h4>
</centre>
<br>
<div class="form-group">
<input class="form-control" type="text" name="name" placeholder="Name" required>
</div>
<div class="form-group">
<input class="form-control" type="email" name="uemail" placeholder="Email" required>
</div>
<div class="form-group">
<input class="form-control" type="password" name="upassword" placeholder="Password" pattern=".{8,}" required title="8 characters minimum">
</div>
<br>
{{recaptcha}}
</br>
<div class="form-group">
<button class="btn btn-block" data-bss-hover-animate="pulse" type="submit" style="background-color: #2980ef; color: white">Register</button>
</div>
<br>
<p class="forgot" >Already a member ? <a href='/'>Login</a></p>
</div>
</form>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/js/bootstrap.bundle.min.js" integrity="sha384-b5kHyXgcpbZJO/tY9Ul7kGkf1S0CWuKcCD38l8YkeH8z8QjE0GmW1gYU5S9FOnJ0" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
</body>
</html>
================================================
FILE: LICENSE
================================================
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
================================================
FILE: README.md
================================================
# College Enquiry Chatbot #
<br>
    
    
    
    
<br>
## ABSTRACT
<p align="justify">This project aims to develop a college enquiry Chabot that answers any queries post by students like college details, course-related questions, location of the college, fee structure etc. The College Enquiry Chatbot project is built using machine learning algorithms that analyse user’s queries and understand the user's message. This System is a web application that provides answers to the query. Any individual just has to query through the bot. The answers are appropriate to what the user queries. The User can query any college-related activities through the system. The user does not have to personally go to the college for enquiry. The System analyses the question and then answers to the user. The user can also give their suggestions through the suggestion box. The system replies using an effective Graphical User Interface which implies that as if a real person is talking to the user. </p>
<br>
## SOFTWARE REQUIREMENTS
<ul type="square">
<li> <b> Operating System : </b> Any version of Windows NT family (4.0 &above) </li>
 
<li> <b> Frontend : </b>
<p align="left">
<a href="https://www.w3.org/html/" target="_blank" >
<img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/html5/html5-original-wordmark.svg" alt="html5" width="40" height="40"/>
</a>
 
<a href="https://www.w3schools.com/css/" target="_blank">
<img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/css3/css3-original-wordmark.svg" alt="css3" width="40" height="40"/>
</a>
 
<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript" target="_blank">
<img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/javascript/javascript-original.svg" alt="javascript" width="40" height="40"/>
</a>
 
<a href="https://getbootstrap.com" target="_blank">
<img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/bootstrap/bootstrap-plain-wordmark.svg" alt="bootstrap" width="40" height="40"/>
</a>
</p>
</li>
<li> <b> Backend : </b>
<p align = "left">
<a href="https://www.python.org" target="_blank">
<img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/python/python-original.svg" alt="python" width="40" height="40"/>
</a>
</p>
</li>
<li> <b> Framework : </b>
<p align="left">
<a href="https://flask.palletsprojects.com/" target="_blank">
<img src="https://www.vectorlogo.zone/logos/pocoo_flask/pocoo_flask-icon.svg" alt="flask" width="40" height="40"/>
</a>
</p>
</li>
<li> <b> Database : </b>
<p align="left">
<a href="https://www.mysql.com/" target="_blank">
<img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/mysql/mysql-original-wordmark.svg" alt="mysql" width="40" height="40"/>
</a>
</p>
</li>
</ul>
<br>
## RUN USING
`python app.py runserver`
<br>
## RESULTS :
<ol>
<h3> <li> <b> Register Page : </b></h3>
<p align="left">
<kbd><img src="https://github.com/Candida18/College-Enquiry-Chatbot/blob/main/CRCE%20Bot/Images_ss/register.png" alt="register" /> </kbd>
</p>
</li>
<h3> <li> <b> Login Page : </b></h3>
<p align="left">
<kbd><img src="https://github.com/Candida18/College-Enquiry-Chatbot/blob/main/CRCE%20Bot/Images_ss/login.png" alt="login" /> </kbd>
</p>
</li>
<h3> <li> <b> Forgot Password Page : </b></h3>
<p align="left">
<kbd><img src="https://github.com/Candida18/College-Enquiry-Chatbot/blob/main/CRCE%20Bot/Images_ss/forgot_password.png" alt="forgot_password" /> </kbd>
</p>
</li>
<h3> <li> <b> Chatbot - Default Screen : </b></h3>
<p align="left">
<kbd><img src="https://github.com/Candida18/College-Enquiry-Chatbot/blob/main/CRCE%20Bot/Images_ss/default_screen_chatbot.png" alt="default_screen_chatbot" /> </kbd>
</p>
</li>
<h3> <li> <b> Chatbot - Query : </b></h3>
<p align="left">
<kbd><img src="https://github.com/Candida18/College-Enquiry-Chatbot/blob/main/CRCE%20Bot/Images_ss/chatbot_query_2.png" alt="chatbot_query_2" /> </kbd>
</p>
</li>
<h3> <li> <b> Chatbot - About Us : </b></h3>
<p align="left">
<kbd><img src="https://github.com/Candida18/College-Enquiry-Chatbot/blob/main/CRCE%20Bot/Images_ss/about_us.png" alt="about_us" /> </kbd>
</p>
</li>
<h3> <li> <b> Chatbot - Suggestion Box : </b></h3>
<p align="left">
<kbd><img src="https://github.com/Candida18/College-Enquiry-Chatbot/blob/main/CRCE%20Bot/Images_ss/suggestion_box.png" alt="suggestion_box" /> </kbd>
</p>
</li>
</ol>
gitextract_ewz6ojfg/ ├── CRCE Bot/ │ ├── app.py │ ├── chatbot.py │ ├── static/ │ │ ├── Dataset.txt │ │ ├── assets/ │ │ │ ├── css/ │ │ │ │ └── Login-Form-Dark.css │ │ │ └── js/ │ │ │ └── bs-init.js │ │ └── styles/ │ │ └── style.css │ └── templates/ │ ├── forgot.html │ ├── index.html │ ├── login.html │ └── register.html ├── LICENSE └── README.md
SYMBOL INDEX (10 symbols across 1 files) FILE: CRCE Bot/app.py function home (line 32) | def home(): function login (line 40) | def login(): function about (line 44) | def about(): function forgot (line 48) | def forgot(): function login_validation (line 52) | def login_validation(): function add_user (line 69) | def add_user(): function suggestion (line 84) | def suggestion(): function register (line 94) | def register(): function logout (line 104) | def logout(): function get_bot_response (line 109) | def get_bot_response():
Condensed preview — 12 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (76K chars).
[
{
"path": "CRCE Bot/app.py",
"chars": 3402,
"preview": "from chatbot import chatbot\nfrom flask import Flask, render_template, request,session,logging,url_for,redirect,flash\nfro"
},
{
"path": "CRCE Bot/chatbot.py",
"chars": 11993,
"preview": "from chatterbot import ChatBot\nfrom chatterbot.trainers import ListTrainer\nimport spacy\nspacy.load('en_core_web_sm')\n# f"
},
{
"path": "CRCE Bot/static/Dataset.txt",
"chars": 10252,
"preview": "\"Hello\",\r\n \"Hi Human\",\r\n \"How are you doing ?\",\r\n \"I'm doing great.\",\r\n \"That is good to hear\",\r\n \"Thank "
},
{
"path": "CRCE Bot/static/assets/css/Login-Form-Dark.css",
"chars": 1363,
"preview": ".login-dark {\n height: 1000px;\n background: aliceblue;\n /*background-size: cover;*/\n background-size:contain;\n posi"
},
{
"path": "CRCE Bot/static/assets/js/bs-init.js",
"chars": 298,
"preview": "$(document).ready(function(){\n\t$('[data-bss-hover-animate]')\n\t\t.mouseenter( function(){ var elem = $(this); elem.addClas"
},
{
"path": "CRCE Bot/static/styles/style.css",
"chars": 2986,
"preview": ":root {\n /*--body-bg: linear-gradient(135deg, #f5f7fa 0%, rgb(221, 237, 250) 100%);*/\n --body-bg: aliceblue;\n --msger"
},
{
"path": "CRCE Bot/templates/forgot.html",
"chars": 3020,
"preview": "<!DOCTYPE html>\r\n<html>\r\n\r\n<head>\r\n <meta charset=\"utf-8\">\r\n <meta name=\"viewport\" content=\"width=device-width, in"
},
{
"path": "CRCE Bot/templates/index.html",
"chars": 13992,
"preview": "<!DOCTYPE html>\n<html lang=\"en\">\n\n<head>\n <meta charset=\"UTF-8\">\n <title>CRCE Bot</title>\n <link rel=\"icon\" href=\"{{ "
},
{
"path": "CRCE Bot/templates/login.html",
"chars": 3713,
"preview": "\n<!DOCTYPE html>\n<html>\n\n<head>\n <meta charset=\"utf-8\">\n <meta name=\"viewport\" content=\"width=device-width, initia"
},
{
"path": "CRCE Bot/templates/register.html",
"chars": 3802,
"preview": "<!DOCTYPE html>\n<html>\n\n<head>\n <meta charset=\"utf-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial"
},
{
"path": "LICENSE",
"chars": 11357,
"preview": " Apache License\n Version 2.0, January 2004\n "
},
{
"path": "README.md",
"chars": 5372,
"preview": "# College Enquiry Chatbot #\n\n<br>\n\n. The extraction includes 12 files (69.9 KB), approximately 20.4k tokens, and a symbol index with 10 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.