diff --git a/README.md b/README.md index d418163..5584941 100644 --- a/README.md +++ b/README.md @@ -1,43 +1,3 @@ -# Welcome to Revel - -A high-productivity web framework for the [Go language](http://www.golang.org/). - - -### Start the web server: - - revel run myapp - -### Go to http://localhost:9000/ and you'll see: - - "It works" - -## Code Layout - -The directory structure of a generated Revel application: - - conf/ Configuration directory - app.conf Main app configuration file - routes Routes definition file - - app/ App sources - init.go Interceptor registration - controllers/ App controllers go here - views/ Templates directory - - messages/ Message files - - public/ Public static assets - css/ CSS files - js/ Javascript files - images/ Image files - - tests/ Test suites - - -## Help - -* The [Getting Started with Revel](http://revel.github.io/tutorial/gettingstarted.html). -* The [Revel guides](http://revel.github.io/manual/index.html). -* The [Revel sample apps](http://revel.github.io/examples/index.html). -* The [API documentation](https://godoc.org/github.com/revel/revel). +# Hermes +Hermes is an open source E-Mail tracking solution that is written in Go. It tracks emails using a tracking pixel and when it detects that the e-mail was read, it sends a notification using ![Gotify](https://github.com/gotify/server). This is not meant to be high-quality or easily readible. I made it three hours after learning go to practice, so don't judge me! For more info on how this works, just read the code, it is not that long anyways. diff --git a/app/controllers/app.go b/app/controllers/app.go index db7af43..698d2b8 100644 --- a/app/controllers/app.go +++ b/app/controllers/app.go @@ -58,6 +58,7 @@ func (h Hermes) Read(title, recipient, user, provided_hash string) revel.Result return Pixel("No dice") } identity := title + recipient + user + key + fmt.Printf(identity) hash_string := fmt.Sprintf("%x", sha256.Sum256([]byte(identity))) if hash_string != provided_hash { fmt.Printf("Hashes don't match!\n") diff --git a/none b/none index b7a8e39..92e0026 100644 --- a/none +++ b/none @@ -37,3 +37,6 @@ INFO 2020/11/18 17:29:33 revel revel.go:124: Paths INFO 2020/11/18 17:32:59 revel revel.go:124: Paths revel=/home/yigit/go/pkg/mod/github.com/revel/revel@v1.0.0 base=/home/yigit/Projects/Hermes app=/home/yigit/Projects/Hermes/app views=/home/yigit/Projects/Hermes/app/views INFO 2020/11/18 17:33:27 revel revel.go:124: Paths revel=/home/yigit/go/pkg/mod/github.com/revel/revel@v1.0.0 base=/home/yigit/Projects/Hermes app=/home/yigit/Projects/Hermes/app views=/home/yigit/Projects/Hermes/app/views INFO 2020/11/18 17:58:27 revel revel.go:124: Paths revel=/home/yigit/go/pkg/mod/github.com/revel/revel@v1.0.0 base=/home/yigit/Projects/Hermes app=/home/yigit/Projects/Hermes/app views=/home/yigit/Projects/Hermes/app/views +INFO 2020/11/19 12:26:16 revel revel.go:124: Paths revel=/home/yigit/go/pkg/mod/github.com/revel/revel@v1.0.0 base=/home/yigit/Projects/Hermes app=/home/yigit/Projects/Hermes/app views=/home/yigit/Projects/Hermes/app/views +INFO 2020/11/19 12:26:50 revel revel.go:124: Paths revel=/home/yigit/go/pkg/mod/github.com/revel/revel@v1.0.0 base=/home/yigit/Projects/Hermes app=/home/yigit/Projects/Hermes/app views=/home/yigit/Projects/Hermes/app/views +INFO 2020/11/19 12:27:23 revel revel.go:124: Paths revel=/home/yigit/go/pkg/mod/github.com/revel/revel@v1.0.0 base=/home/yigit/Projects/Hermes app=/home/yigit/Projects/Hermes/app views=/home/yigit/Projects/Hermes/app/views diff --git a/target/app/Hermes/Hermes b/target/app/Hermes/Hermes index 62f1c08..79ec037 100755 Binary files a/target/app/Hermes/Hermes and b/target/app/Hermes/Hermes differ