A repository of our project, GIF Messenger, submitted at DragonHack 2021. It is available on this website: http://gifmessenger.online.
.
βββ PHP Code that was used for backend.
β βββ api.php Returns a value if a username is already taken.
β βββ mysql.sql MySQL tables.
β βββ index.php Empty file.
β βββ redirect.php Main page for communicating with Google API.
βββ Posnetek.mp3 Recording for presentation.
βββ Text.docx Text for presentation.
βββ backend Backend code for WebSocket and Tenor API.
β βββ GifMessengerAPI.py Main server file.
β βββ GifMessengerAPI_original.py Some backup file.
β βββ client.html Website for testing WebSocket connection.
β βββ input.mp4 File for testing mp4 to gif.
β βββ tenor.gif Output gif.
β βββ tenorAPI.py Program, that contacts Tenor API and returns GIFs.
β βββ videoToGif.py Program for translating mp4 to gif.
βββ frontend The main folder of our project.
βββ alert.mp3 Sound file for new messages.
βββ chat.php Page for chatting with other people.
βββ database Folder containing database and Google login functions.
β βββ allUsers.php Returns all logged-in users.
β βββ db.php MySQL database connection.
β βββ exists.php Checks, if the username exists.
β βββ logout.php Webpage for logging out.
β βββ redirect.php Main login with Google file.
β βββ src GoogleClient files.
β βββ vendor GoogleClient files.
βββ index.php Landing page for new users.
βββ ownGifHandler.js JS file for creating own GIF.
βββ setUsername.php Webpage for setting username.
βββ style CSS styles.
βββ AppleTea-jELql.otf Chosen font.
βββ chat.css CSS for chat file.
βββ landing.css CSS for the landing page.
βββ main.css Main CSS.
βββ ownGif.css CSS for creating own GIF.
βββ setUsername.css CSS for setting username.
We used three languages for our project:
- Python for backend β Web sockets and GIF API,
- JavaScript and HTML for frontend β Webpage design and functionality,
- PHP for website backend β This was used for communicating with database and Google login API.