From 506707b862bbebf224486ed44e1d331b2d375454 Mon Sep 17 00:00:00 2001 From: ed Date: Tue, 14 Nov 2023 23:08:08 +0100 Subject: [PATCH] initial commit --- .gitignore | 1 + README.md | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ app.go | 7 ++++++ index.html | 11 ++++++++++ 4 files changed, 82 insertions(+) create mode 100644 .gitignore create mode 100644 README.md create mode 100644 app.go create mode 100644 index.html diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3648830 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +**/._* \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..3da8862 --- /dev/null +++ b/README.md @@ -0,0 +1,63 @@ +# gorltom + +golang url to mark-down API + +gorltom is a simple to use API that takes in a full url + +https://gorltom.corbia.net/api/url + +And returns a markdown file with the following format: + +```html + + + + + Title of the example webpage + + +
+
+ +
+ +
+
+
+
+

Title of the article

+
+

Text of the first paragraph of the article


+

Text of the second paragraph of the article


+

Text of the third paragraph of the article but this time it contains a link inside of the text


+
+
+
+
+ + +``` + +```md +# Title of the example webpage + +# *assumed_menu* +- [ABOUT](https://notexample.com/about) +- + +``` \ No newline at end of file diff --git a/app.go b/app.go new file mode 100644 index 0000000..99fd805 --- /dev/null +++ b/app.go @@ -0,0 +1,7 @@ +package main + +import "fmt" + +func main() { + fmt.Println("Hello") +} diff --git a/index.html b/index.html new file mode 100644 index 0000000..d01f779 --- /dev/null +++ b/index.html @@ -0,0 +1,11 @@ + + + + + + Document + + + + + \ No newline at end of file