Skip to content

πŸŽ‡ Application for messaging using only animated GIFs. The app was developed for DragonHack2021

Notifications You must be signed in to change notification settings

Yxmaxy/DragonHack2021

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

DragonHack2021

A repository of our project, GIF Messenger, submitted at DragonHack 2021. It is available on this website: http://gifmessenger.online.

A brief summary of folder and file structure

.
β”œβ”€β”€ 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.

Code

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.

About

πŸŽ‡ Application for messaging using only animated GIFs. The app was developed for DragonHack2021

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published