diff --git a/gesture/.env b/gesture/.env deleted file mode 100644 index a516326..0000000 --- a/gesture/.env +++ /dev/null @@ -1,2 +0,0 @@ -GESTURE_APPLICATION_ROOT=/breadcube/gesture -GESTURE_PORTNUMBER=5002 diff --git a/gesture/Makefile b/gesture/Makefile deleted file mode 100644 index eb2ac03..0000000 --- a/gesture/Makefile +++ /dev/null @@ -1,10 +0,0 @@ -include .env -export - -default: local - -local: - @flask run --debug - -breadcube: - @SCRIPT_NAME=${GESTURE_APPLICATION_ROOT} gunicorn -b localhost:${GESTURE_PORTNUMBER} --reload app:app diff --git a/gesture/__pycache__/app.cpython-310.pyc b/gesture/__pycache__/app.cpython-310.pyc deleted file mode 100644 index d914c6a..0000000 Binary files a/gesture/__pycache__/app.cpython-310.pyc and /dev/null differ diff --git a/gesture/app.py b/gesture/app.py deleted file mode 100644 index 862e28e..0000000 --- a/gesture/app.py +++ /dev/null @@ -1,74 +0,0 @@ -from flask import Flask, request, redirect, render_template -import os - -app = Flask(__name__) -app.config.from_pyfile('settings.py') - -UPLOAD_FOLDER = os.path.join("static", "media") -media = { - "beer.gif": ["beer"], - "bell.gif": ["beer", "cafe de bel", "bell"], - "birds.gif": ["birds", "lasercut", "book making"], - "book-end.gif": ["book", "finished book"], - "book-reading.gif": ["book", "reading", "unfinished book"], - "box.gif": ["box"], - "bridge.gif": ["bridge", "book making"], - "cafe-de-bel.gif": ["coffee", "bell", "beer", "cafe de bel"], - "cards.gif": ["cards"], - "cloud-storm.gif": ["cloud", "storm"], - "cloud.gif": ["cloud"], - "coffee.gif": ["coffee", "cafe de bel"], - "coffee-reading.gif": ["coffee reading", "reading", "coffee"], - "collective.gif": ["collective", "studio", "xpub", "community", "bubble"], - "elevator.gif": ["elevator", "collective", "xpub"], - "er-beer.gif": ["emergency beer"], - "femcare.gif": ["care", "feminism", "woman", "collective", "community"], - "gilotine.gif": ["gilotine", "book making", "book"], - "glue-machine.gif": ["book making", "glue binding machine", "machine", "book binding", "book"], - "gyozleme.gif": ["gozleme", "food", "xpub"], - "hands.gif": ["joking", "okay", "sure"], - "hurry.gif": ["time", "hurry", "pebbles"], - "iloveu.gif": ["i love you", "i see you", "i feel you", "i miss you"], - "invisible.gif": ["invisible", "worker", "operator"], - "lasercut.gif": ["lasercutter", "book making", "book"], - "oper-strike.gif": ["operator", "worker", "woman", "strike"], - "operator.gif": ["operator", "worker", "woman"], - "paper.gif": ["paper", "book", "reading", "printer"], - "pdf-impose.gif": ["pdf impose", "makarena"], - "pebbles.gif": ["time", "clockwise"], - "printer.gif": ["printer", "book", "paper", "book making"], - "reverse-pebbles.gif": ["time", "anticlockwise"], - "sea.gif": ["sea", "printer"], - "stairs.gif": ["stairs", "studio"], - "strike.gif": ["strike", "worker", "woman", "operator"], - "studio.gif": ["studio", "xpub", "community", "collective"], - "teletype.gif": ["teletype", "printer", "book", "xpub", "operator", "collective", "worker", "paper", "cloud"], - "visible.gif": ["visible", "i see you", "worker", "strike", "operator", "woman"], - "whosfirst.gif": ["who is first", "collective", "xpub", "community"], - "whosnext.gif": ["who is next", "collective", "xpub", "community", "time"] - -} - -@app.route("/") -def home(): - text = [] - for x in media: - for y in media[x]: - print(y) - if y not in text: - text.append(y) - # print("added") - # print(text) - else: - print("already there") - return render_template("template-index.html", text=text) - -@app.route("/") -def word(word): - wordmedia = [] - for item in media: - if word in media[item]: - wordmedia.append(item) - print("wordmedia: ") - print(wordmedia) - return render_template("template-word.html", word=word, wordmedia=wordmedia, media=media, path=UPLOAD_FOLDER) diff --git a/gesture/settings.py b/gesture/settings.py deleted file mode 100644 index 695ea4e..0000000 --- a/gesture/settings.py +++ /dev/null @@ -1,10 +0,0 @@ -import os -from dotenv import main - -# Load environment variables from the .env file -main.load_dotenv() - -# Bind them to Python variables -APPLICATION_ROOT = os.environ.get('GESTURE_APPLICATION_ROOT', '/') -PORTNUMBER = int(os.environ.get('GESTURE_PORTNUMBER', 5001)) - diff --git a/gesture/static/img1.png b/gesture/static/img1.png deleted file mode 100644 index fee4b45..0000000 Binary files a/gesture/static/img1.png and /dev/null differ diff --git a/gesture/static/img2.png b/gesture/static/img2.png deleted file mode 100644 index 59929fd..0000000 Binary files a/gesture/static/img2.png and /dev/null differ diff --git a/gesture/static/img3.png b/gesture/static/img3.png deleted file mode 100644 index 292a5fc..0000000 Binary files a/gesture/static/img3.png and /dev/null differ diff --git a/gesture/static/media/beer.gif b/gesture/static/media/beer.gif deleted file mode 100644 index ba47fea..0000000 Binary files a/gesture/static/media/beer.gif and /dev/null differ diff --git a/gesture/static/media/bell.gif b/gesture/static/media/bell.gif deleted file mode 100644 index 84a9b02..0000000 Binary files a/gesture/static/media/bell.gif and /dev/null differ diff --git a/gesture/static/media/birds.gif b/gesture/static/media/birds.gif deleted file mode 100644 index f8cc833..0000000 Binary files a/gesture/static/media/birds.gif and /dev/null differ diff --git a/gesture/static/media/book-end.gif b/gesture/static/media/book-end.gif deleted file mode 100644 index 91697f5..0000000 Binary files a/gesture/static/media/book-end.gif and /dev/null differ diff --git a/gesture/static/media/book-reading.gif b/gesture/static/media/book-reading.gif deleted file mode 100644 index f772979..0000000 Binary files a/gesture/static/media/book-reading.gif and /dev/null differ diff --git a/gesture/static/media/box.gif b/gesture/static/media/box.gif deleted file mode 100644 index 491173b..0000000 Binary files a/gesture/static/media/box.gif and /dev/null differ diff --git a/gesture/static/media/bridge.gif b/gesture/static/media/bridge.gif deleted file mode 100644 index 9639eb4..0000000 Binary files a/gesture/static/media/bridge.gif and /dev/null differ diff --git a/gesture/static/media/cafe-de-bel.gif b/gesture/static/media/cafe-de-bel.gif deleted file mode 100644 index 6273103..0000000 Binary files a/gesture/static/media/cafe-de-bel.gif and /dev/null differ diff --git a/gesture/static/media/cards.gif b/gesture/static/media/cards.gif deleted file mode 100644 index 283c511..0000000 Binary files a/gesture/static/media/cards.gif and /dev/null differ diff --git a/gesture/static/media/cloud-storm.gif b/gesture/static/media/cloud-storm.gif deleted file mode 100644 index 2da1f53..0000000 Binary files a/gesture/static/media/cloud-storm.gif and /dev/null differ diff --git a/gesture/static/media/cloud.gif b/gesture/static/media/cloud.gif deleted file mode 100644 index 44060fe..0000000 Binary files a/gesture/static/media/cloud.gif and /dev/null differ diff --git a/gesture/static/media/coffee-reading.gif b/gesture/static/media/coffee-reading.gif deleted file mode 100644 index d2a3239..0000000 Binary files a/gesture/static/media/coffee-reading.gif and /dev/null differ diff --git a/gesture/static/media/coffee.gif b/gesture/static/media/coffee.gif deleted file mode 100644 index f0845b6..0000000 Binary files a/gesture/static/media/coffee.gif and /dev/null differ diff --git a/gesture/static/media/collective.gif b/gesture/static/media/collective.gif deleted file mode 100644 index 5f4043b..0000000 Binary files a/gesture/static/media/collective.gif and /dev/null differ diff --git a/gesture/static/media/elevator.gif b/gesture/static/media/elevator.gif deleted file mode 100644 index e01d7cd..0000000 Binary files a/gesture/static/media/elevator.gif and /dev/null differ diff --git a/gesture/static/media/er-beer.gif b/gesture/static/media/er-beer.gif deleted file mode 100644 index 3c7d712..0000000 Binary files a/gesture/static/media/er-beer.gif and /dev/null differ diff --git a/gesture/static/media/femcare.gif b/gesture/static/media/femcare.gif deleted file mode 100644 index b5f7dbf..0000000 Binary files a/gesture/static/media/femcare.gif and /dev/null differ diff --git a/gesture/static/media/gilotine.gif b/gesture/static/media/gilotine.gif deleted file mode 100644 index e6d111c..0000000 Binary files a/gesture/static/media/gilotine.gif and /dev/null differ diff --git a/gesture/static/media/glue-machine.gif b/gesture/static/media/glue-machine.gif deleted file mode 100644 index a432e77..0000000 Binary files a/gesture/static/media/glue-machine.gif and /dev/null differ diff --git a/gesture/static/media/gyozleme.gif b/gesture/static/media/gyozleme.gif deleted file mode 100644 index 9578535..0000000 Binary files a/gesture/static/media/gyozleme.gif and /dev/null differ diff --git a/gesture/static/media/hands.gif b/gesture/static/media/hands.gif deleted file mode 100644 index 33c2118..0000000 Binary files a/gesture/static/media/hands.gif and /dev/null differ diff --git a/gesture/static/media/hurry.gif b/gesture/static/media/hurry.gif deleted file mode 100644 index 03a815c..0000000 Binary files a/gesture/static/media/hurry.gif and /dev/null differ diff --git a/gesture/static/media/iloveu.gif b/gesture/static/media/iloveu.gif deleted file mode 100644 index 41a6401..0000000 Binary files a/gesture/static/media/iloveu.gif and /dev/null differ diff --git a/gesture/static/media/invisible.gif b/gesture/static/media/invisible.gif deleted file mode 100644 index ee11b62..0000000 Binary files a/gesture/static/media/invisible.gif and /dev/null differ diff --git a/gesture/static/media/lasercut.gif b/gesture/static/media/lasercut.gif deleted file mode 100644 index 1dc7af9..0000000 Binary files a/gesture/static/media/lasercut.gif and /dev/null differ diff --git a/gesture/static/media/oper-strike.gif b/gesture/static/media/oper-strike.gif deleted file mode 100644 index 22f8199..0000000 Binary files a/gesture/static/media/oper-strike.gif and /dev/null differ diff --git a/gesture/static/media/operator.gif b/gesture/static/media/operator.gif deleted file mode 100644 index 919b5d6..0000000 Binary files a/gesture/static/media/operator.gif and /dev/null differ diff --git a/gesture/static/media/paper.gif b/gesture/static/media/paper.gif deleted file mode 100644 index 73f395c..0000000 Binary files a/gesture/static/media/paper.gif and /dev/null differ diff --git a/gesture/static/media/pdf-impose.gif b/gesture/static/media/pdf-impose.gif deleted file mode 100644 index 4a12789..0000000 Binary files a/gesture/static/media/pdf-impose.gif and /dev/null differ diff --git a/gesture/static/media/pebbles.gif b/gesture/static/media/pebbles.gif deleted file mode 100644 index e711fda..0000000 Binary files a/gesture/static/media/pebbles.gif and /dev/null differ diff --git a/gesture/static/media/printer.gif b/gesture/static/media/printer.gif deleted file mode 100644 index 3cfb619..0000000 Binary files a/gesture/static/media/printer.gif and /dev/null differ diff --git a/gesture/static/media/reverse-pebbles.gif b/gesture/static/media/reverse-pebbles.gif deleted file mode 100644 index 44dbf5f..0000000 Binary files a/gesture/static/media/reverse-pebbles.gif and /dev/null differ diff --git a/gesture/static/media/sea.gif b/gesture/static/media/sea.gif deleted file mode 100644 index 9add314..0000000 Binary files a/gesture/static/media/sea.gif and /dev/null differ diff --git a/gesture/static/media/stairs.gif b/gesture/static/media/stairs.gif deleted file mode 100644 index e78b545..0000000 Binary files a/gesture/static/media/stairs.gif and /dev/null differ diff --git a/gesture/static/media/strike.gif b/gesture/static/media/strike.gif deleted file mode 100644 index 10bd509..0000000 Binary files a/gesture/static/media/strike.gif and /dev/null differ diff --git a/gesture/static/media/studio.gif b/gesture/static/media/studio.gif deleted file mode 100644 index 2821e40..0000000 Binary files a/gesture/static/media/studio.gif and /dev/null differ diff --git a/gesture/static/media/teletype.gif b/gesture/static/media/teletype.gif deleted file mode 100644 index 5122d0a..0000000 Binary files a/gesture/static/media/teletype.gif and /dev/null differ diff --git a/gesture/static/media/visible.gif b/gesture/static/media/visible.gif deleted file mode 100644 index 619332d..0000000 Binary files a/gesture/static/media/visible.gif and /dev/null differ diff --git a/gesture/static/media/whosfirst.gif b/gesture/static/media/whosfirst.gif deleted file mode 100644 index a3a6889..0000000 Binary files a/gesture/static/media/whosfirst.gif and /dev/null differ diff --git a/gesture/static/media/whosnext.gif b/gesture/static/media/whosnext.gif deleted file mode 100644 index 55a20d1..0000000 Binary files a/gesture/static/media/whosnext.gif and /dev/null differ diff --git a/gesture/static/style.css b/gesture/static/style.css deleted file mode 100644 index 722a2d3..0000000 --- a/gesture/static/style.css +++ /dev/null @@ -1,75 +0,0 @@ -:root{ - --color1: #418; - --color2: #ff0; -} - -a{text-decoration: none;} - -body{ - font-family: monospace; - background-color: var(--color1); - color: var(--color2); - margin: 2rem auto; - max-width: 60rem; - padding: 1rem; -} -.button{ - font-family: monospace; - padding: 0.5em 1em; - border-radius: 2em; - background: var(--color2); - color: var(--color1); - border: none; - margin: 0 0.25rem 0.25rem 0; -} -button:after{ - content: " →"; - break-before: avoid; -} -h1.button{font-size: 1.4rem;} -.button:hover{opacity: 0.7; cursor: pointer;} -.close{float: right; text-decoration: none;} -.close:hover{opacity: 0.7} -img{width: 100%; margin-bottom: 1rem;} -input{ - margin: 0 0 0.5rem; -} -input[type="submit"]{ - background-color: var(--color2); - color:var(--color1); - font-size: 1.5rem; - padding: 0.5rem; - font-family: monospace; - font-weight: 600; - width: 100%; -} -#floating-form{ - position: fixed; - z-index: 2; - background-color: var(--color2); - color:var(--color1); - width: 20rem; - padding: 2rem; - display: none; -} - -h4{margin: 0;} -textarea{ - width: 100%; - min-height: 20rem; - margin: 0 0 0.5rem; -} - -.two-col{ - float: left; - padding-right: 2rem; - margin: 1rem 0; -} -@media screen and (min-width: 768px){ - .two-col{max-width: calc(50% - 4rem);} - p{font-size: 1rem;} - body{font-size: 1.5rem;} - -@media screen and (max-width: 767px){ - body{font-size: 3rem;} -} diff --git a/gesture/templates/template-index.html b/gesture/templates/template-index.html deleted file mode 100644 index a99051c..0000000 --- a/gesture/templates/template-index.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - -

gesture glossary ✌️

-
-

This is the gesture glossary. Click a word to see the gestures related to it.

-

The aim is to see if a gesture glossary works and how it will work best. Also to see what kind of different interpretations there will be on gestures of our memory. To test the gesture glossary idea, and see what different meanings appear or already exist in the current vocabulary. Putting next to each other different agreements on linguistic and body units, testing what makes sense. Investigating and playing with communicational channels in between us, how a body language is documented, how it expands, how it is capable of creating or enhancing identities. To be an xpub means to speak/perform the xpub language?

-
-
- {% for word in text - %}{% - endfor %} -
- - diff --git a/gesture/templates/template-word.html b/gesture/templates/template-word.html deleted file mode 100644 index 372d752..0000000 --- a/gesture/templates/template-word.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - -

{{word}} x

- {% for file in wordmedia %} -
- - - - {% for tag in media[file] - %}{% - endfor %} -
- {% endfor %} - -