summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Adam <yuval@y3xz.com>2016-04-23 18:01:18 +0300
committerYuval Adam <yuval@y3xz.com>2016-04-23 18:01:18 +0300
commit313467142882a48405e764b3beee9ba8653e012f (patch)
tree9ad24a3354dcff1bc4572f9519dce6356f90896d
Initial app skeleton
-rw-r--r--README.md12
-rw-r--r--requirements.txt6
-rw-r--r--yaas.py9
3 files changed, 27 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..caaf8f6
--- /dev/null
+++ b/README.md
@@ -0,0 +1,12 @@
+# Youtube-dl-as-a-Service
+
+POC for youtube-dl-as-a-Service
+
+## Usage
+
+Probably want to run this in a virtualenv:
+
+```bash
+$ pip install -r requirements.txt
+$ python yaas.py
+```
diff --git a/requirements.txt b/requirements.txt
new file mode 100644
index 0000000..149e150
--- /dev/null
+++ b/requirements.txt
@@ -0,0 +1,6 @@
+Flask==0.10.1
+itsdangerous==0.24
+Jinja2==2.8
+MarkupSafe==0.23
+Werkzeug==0.11.8
+youtube-dl==2016.4.19
diff --git a/yaas.py b/yaas.py
new file mode 100644
index 0000000..7fad1a7
--- /dev/null
+++ b/yaas.py
@@ -0,0 +1,9 @@
+from flask import Flask
+app = Flask(__name__)
+
+@app.route('/')
+def hello():
+ return 'Hello World!'
+
+if __name__ == '__main__':
+ app.run()