summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2018-01-28 11:32:40 -0600
committerOmar Roth <omarroth@hotmail.com>2018-01-28 11:32:40 -0600
commitd7d905447f5a61f682a41c6230d5c6347204b60a (patch)
tree90323ee3269d4c82b10a516c0d87328e4eaba8aa /src
parenta951f4a2f8a314e3138bfbc068c04ca39a0276ec (diff)
downloadinvidious-d7d905447f5a61f682a41c6230d5c6347204b60a.tar.gz
invidious-d7d905447f5a61f682a41c6230d5c6347204b60a.tar.bz2
invidious-d7d905447f5a61f682a41c6230d5c6347204b60a.zip
Change license
Diffstat (limited to 'src')
-rw-r--r--src/invidious.cr16
-rw-r--r--src/views/layout.ecr4
2 files changed, 20 insertions, 0 deletions
diff --git a/src/invidious.cr b/src/invidious.cr
index c09ee7e0..373d224a 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -1,3 +1,19 @@
+# "Invidious" (which indexes popular video sites)
+# Copyright (C) 2018 Omar Roth
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published
+# by the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
require "kemal"
require "pg"
require "xml"
diff --git a/src/views/layout.ecr b/src/views/layout.ecr
index e1e57c62..46fcbd59 100644
--- a/src/views/layout.ecr
+++ b/src/views/layout.ecr
@@ -27,6 +27,10 @@
</div>
</div>
<%= content %>
+ <center>
+ Released under AGPLv3 by <a href="https://github.com/omarroth">Omar Roth</a> -
+ source available <a href="https://github.com/omarroth/invidious">here</a>
+ </center>
</div>
<div class="pure-u-1 pure-u-md-1-5"></div>
</div>