[GH-ISSUE #981] Minimal server footprint #685

Closed
opened 2026-05-07 00:26:35 +02:00 by BreizhHardware · 3 comments

Originally created by @bam80 on GitHub (Dec 17, 2023).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/981

Question

Hi,
What is the minimal server footprint for ARMv7 (ROM and RAM-wise), without docs and webapp?

I'm pondering if I can fit it in OpenWrt router, considering Go packages are already exist there..

Originally created by @bam80 on GitHub (Dec 17, 2023). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/981 <!-- Before you submit, consider asking on Discord/Matrix instead. You'll usually get an answer sooner, and there are more people there to help! - Discord: https://discord.gg/cT7ECsZj9w - Matrix: https://matrix.to/#/#ntfy:matrix.org / https://matrix.to/#/#ntfy-space:matrix.org --> :question: **Question** <!-- Go ahead and ask your question here :) --> Hi, What is the minimal server footprint for ARMv7 (ROM and RAM-wise), without docs and webapp? I'm pondering if I can fit it in OpenWrt router, considering Go packages are already exist there..
BreizhHardware 2026-05-07 00:26:35 +02:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@bam80 commented on GitHub (Feb 2, 2026):

Sorry?

<!-- gh-comment-id:3833736318 --> @bam80 commented on GitHub (Feb 2, 2026): Sorry?
Author
Owner

@binwiederhier commented on GitHub (Feb 2, 2026):

Apparently I forgot to submit the comment. Here it goes:

It's about 39 MB:

130 pheckel@pleup ~/Code/ntfy(main) » make clean cli-linux-server 
rm -rf dist build server/docs server/site
mkdir -p server/docs server/site
touch server/docs/index.html server/site/app.html
# This is a target to build the CLI (including the server) manually.
# Use this for development, if you really don't want to install GoReleaser ...
mkdir -p dist/ntfy_linux_server server/docs
CGO_ENABLED=1 go build \
	-o dist/ntfy_linux_server/ntfy \
	-tags sqlite_omit_load_extension,osusergo,netgo \
	-ldflags \
	"-linkmode=external -extldflags=-static -s -w -X main.version=v2.16.0-39-ge01e9d64 -X main.commit=e01e9d64 -X main.date=1770043011"

pheckel@pleup ~/Code/ntfy(main) » ll -alh dist/ntfy_linux_server/ntfy
-rwxrwxr-x 1 pheckel pheckel 39M Feb  2 09:36 dist/ntfy_linux_server/ntfy
<!-- gh-comment-id:3835517259 --> @binwiederhier commented on GitHub (Feb 2, 2026): Apparently I forgot to submit the comment. Here it goes: It's about 39 MB: ``` 130 pheckel@pleup ~/Code/ntfy(main) » make clean cli-linux-server rm -rf dist build server/docs server/site mkdir -p server/docs server/site touch server/docs/index.html server/site/app.html # This is a target to build the CLI (including the server) manually. # Use this for development, if you really don't want to install GoReleaser ... mkdir -p dist/ntfy_linux_server server/docs CGO_ENABLED=1 go build \ -o dist/ntfy_linux_server/ntfy \ -tags sqlite_omit_load_extension,osusergo,netgo \ -ldflags \ "-linkmode=external -extldflags=-static -s -w -X main.version=v2.16.0-39-ge01e9d64 -X main.commit=e01e9d64 -X main.date=1770043011" pheckel@pleup ~/Code/ntfy(main) » ll -alh dist/ntfy_linux_server/ntfy -rwxrwxr-x 1 pheckel pheckel 39M Feb 2 09:36 dist/ntfy_linux_server/ntfy ```
Author
Owner

@bam80 commented on GitHub (Feb 2, 2026):

Thank you. Too much for my router, though :)
Maybe worth to mention in the Readme, for those who have more beefy devices..

<!-- gh-comment-id:3837399405 --> @bam80 commented on GitHub (Feb 2, 2026): Thank you. Too much for my router, though :) Maybe worth to mention in the Readme, for those who have more beefy devices..
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/ntfy#685
No description provided.