summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosias <me@josias.dev>2021-10-24 14:15:32 -0700
committerJosias <me@josias.dev>2021-10-24 14:15:32 -0700
commit68ca4e2cc673885f3e46b6eadc5f27beeaae315a (patch)
treea2b4926466908699aafbcda247b740ae31157349
parent5525a9c8d9a98e6dfb2b8f8ebcd455cd87b1ca2b (diff)
Add license and use gemtext for README
-rw-r--r--LICENSE7
-rw-r--r--README (renamed from README.md)12
-rwxr-xr-xgmi2rss4
3 files changed, 22 insertions, 1 deletions
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..a0994b4
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,7 @@
+Copyright (c) 2021 Josias
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/README.md b/README
index ce7077f..8e46602 100644
--- a/README.md
+++ b/README
@@ -1,6 +1,8 @@
# gmi2rss
-A simple tool to convert [Gemini feeds](gemini://gemini.circumlunar.space/docs/companion/subscription.gmi) to Atom.
+A simple tool to convert Gemini feeds to Atom.
+
+=> gemini://circumlunar.space/docs/companion/subscription.gmi Gemini feeds companion specification
Not because it didn't exist before, but just because I couldn't find it.
@@ -18,3 +20,11 @@ To use, provide the script with the Gemini document to parse, as well as the URL
```
$ ./gmi2rss test.gmi gemini://example.com
```
+
+=> gmi2rss See source code
+
+## License
+
+You may use this software under the terms of the MIT license.
+
+=> LICENSE
diff --git a/gmi2rss b/gmi2rss
index 93eb028..8a1ac09 100755
--- a/gmi2rss
+++ b/gmi2rss
@@ -1,4 +1,8 @@
#!/bin/env python3
+"""
+Copyright (c) 2021 Josias
+You may use this software under the terms of the MIT license (see LICENSE for more information).
+"""
from datetime import datetime
import dateutil
import os