[GH-ISSUE #5] Add a Windows build in the releases #3

Closed
opened 2026-02-25 23:33:13 +03:00 by kerem · 6 comments
Owner

Originally created by @x2764tech on GitHub (Mar 1, 2018).
Original GitHub issue: https://github.com/go-shiori/shiori/issues/5

This looks like a great project, but it would be really useful to run this on Windows (I can use a wrapper to either run it as a service or on login)

Would it be possible to add a Windows build in the releases?

Originally created by @x2764tech on GitHub (Mar 1, 2018). Original GitHub issue: https://github.com/go-shiori/shiori/issues/5 This looks like a great project, but it would be really useful to run this on Windows (I can use a wrapper to either run it as a service or on login) Would it be possible to add a Windows build in the releases?
kerem closed this issue 2026-02-25 23:33:13 +03:00
Author
Owner

@RadhiFadlillah commented on GitHub (Mar 1, 2018):

Yes, it's possible since Go make cross compile really easy. However, right now I don't have any access to Windows PC since I'm using Linux as main workstation, so I will do it later I guess.

<!-- gh-comment-id:369614096 --> @RadhiFadlillah commented on GitHub (Mar 1, 2018): Yes, it's possible since Go make cross compile really easy. However, right now I don't have any access to Windows PC since I'm using Linux as main workstation, so I will do it later I guess.
Author
Owner

@arendtio commented on GitHub (Mar 2, 2018):

Well, I stumbled upon this one and thought: "That should be a no brainer" and started

env GOOS=windows GOARCH=386 go get github.com/RadhiFadlillah/shiori

And in fact it resulted in a shiori.exe which I transfered to a windows machine and started it:

go-sqlite3 requires cgo to work

So it ain't that easy, because go-sqlite requires some C library which is not go code and therefore not that easy to cross compile. If someone wants to try it at a later point, I came across that reddit post

https://www.reddit.com/r/golang/comments/3tx2a5/how_do_i_build_a_cross_platform_go_program/

but as I don't want to install mingw32 right now that is something someone else should check out ;-)

<!-- gh-comment-id:369915717 --> @arendtio commented on GitHub (Mar 2, 2018): Well, I stumbled upon this one and thought: "That should be a no brainer" and started `env GOOS=windows GOARCH=386 go get github.com/RadhiFadlillah/shiori` And in fact it resulted in a shiori.exe which I transfered to a windows machine and started it: `go-sqlite3 requires cgo to work` So it ain't that easy, because go-sqlite requires some C library which is not go code and therefore not that easy to cross compile. If someone wants to try it at a later point, I came across that reddit post https://www.reddit.com/r/golang/comments/3tx2a5/how_do_i_build_a_cross_platform_go_program/ but as I don't want to install `mingw32` right now that is something someone else should check out ;-)
Author
Owner

@intabulas commented on GitHub (Mar 5, 2018):

I would suggest something like goreleaser (https://github.com/goreleaser/goreleaser) which will cross compile, upload to github releases and generate homebrew tap for those on OSX

<!-- gh-comment-id:370464393 --> @intabulas commented on GitHub (Mar 5, 2018): I would suggest something like goreleaser (https://github.com/goreleaser/goreleaser) which will cross compile, upload to github releases and generate homebrew tap for those on OSX
Author
Owner

@DWSR commented on GitHub (Mar 9, 2018):

@arendtio @RadhiFadlillah I was able to successfully build this for Windows under WSL. I have added the instructions to the README via #68 in the hopes that it can help provide some guidance.

<!-- gh-comment-id:371829392 --> @DWSR commented on GitHub (Mar 9, 2018): @arendtio @RadhiFadlillah I was able to successfully build this for Windows under WSL. I have added the instructions to the README via #68 in the hopes that it can help provide some guidance.
Author
Owner

@Shadesss commented on GitHub (May 21, 2018):

Would love shiori for windows!

<!-- gh-comment-id:390770218 --> @Shadesss commented on GitHub (May 21, 2018): Would love shiori for windows!
Author
Owner

@RadhiFadlillah commented on GitHub (Jul 31, 2018):

Since the Windows binary has been available in v1.0, I will close this issue for now.

<!-- gh-comment-id:409209266 --> @RadhiFadlillah commented on GitHub (Jul 31, 2018): Since the Windows binary has been available in [v1.0](https://github.com/RadhiFadlillah/shiori/releases/tag/v1.0), I will close this issue for now.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shiori#3
No description provided.