{"id":13434812,"url":"https://github.com/antonheitz/standard-notes-arm","last_synced_at":"2025-03-18T01:32:10.080Z","repository":{"id":151284978,"uuid":"576196872","full_name":"antonheitz/standard-notes-arm","owner":"antonheitz","description":"Self-host your own Standard Notes server on ARM devices","archived":false,"fork":false,"pushed_at":"2023-01-22T14:37:29.000Z","size":13,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-10-27T17:24:13.460Z","etag":null,"topics":["arm","arm64","docker","raspberry-pi","self-hosted","server","standard-notes"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/antonheitz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-12-09T08:33:56.000Z","updated_at":"2024-05-03T19:20:29.000Z","dependencies_parsed_at":"2024-01-31T10:07:34.794Z","dependency_job_id":"2d403258-2735-4eed-961e-e036362dc0a1","html_url":"https://github.com/antonheitz/standard-notes-arm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonheitz%2Fstandard-notes-arm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonheitz%2Fstandard-notes-arm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonheitz%2Fstandard-notes-arm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonheitz%2Fstandard-notes-arm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antonheitz","download_url":"https://codeload.github.com/antonheitz/standard-notes-arm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244139350,"owners_count":20404500,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arm","arm64","docker","raspberry-pi","self-hosted","server","standard-notes"],"created_at":"2024-07-31T03:00:23.887Z","updated_at":"2025-03-18T01:32:09.796Z","avatar_url":"https://github.com/antonheitz.png","language":null,"readme":"# Self host Standard-Notes on ARM devices (like Raspberry Pi or Apple M1/M2)\nStandard Notes is a great Project that many people came to love and enhance. Since I am really paranoid on my notes (which probably don't interest any one else) self-deployment is the only way to keep all data in my own network. \n\nNeverless, if you can feel free to enhance the experience for everybody by contributing to the probject over at [How to Contribute to SN](https://docs.standardnotes.com/contribute/)!\n\nThere are some guides out there describing how to deploy it on ARM Devices like the Raspberry Pi, but I had to use different Guides and a lot of research to get it up and running. I hope this Guide will help you do this on the fly. \n\nIn case you notice this does not work anymore, hit me up on  Discord (Teeseus#9899) or via the issues.\n\n## Table of Contents\n\n1. [Base dependencies](#base-dependencies)\n\t1. [install Docker](#install-docker)\n\t2. [install Docker-Compose](#install-docker-compose)\n2. [install Standardnotes](#install-standardnotes)\n\t1. [Retag database Images](#retag-database-images)\n\t2. [Run the Standalone](#run-the-standalone)\n\t3. [Adding your subscription](#adding-your-subscription)\n\t4. [Configure the files server](#configure-the-files-server)\n\n## Base dependencies\n\nYou will need some dependencies on your system. Install them if they are not already installed.\n\n### install Docker\n\nIf you have not installed docker on your system yet, install it from the official script:\n\n```bash\ncurl -fsSL https://get.docker.com -o get-docker.sh\nsudo sh get-docker.sh\nsudo groupadd docker\nsudo usermod -aG docker $USER\nnewgrp docker\nsudo systemctl enable docker.service\nsudo systemctl enable containerd.service\n```\n\nCheck if you can access the docker service:\n\n```bash\ndocker run hello-world\n``` \n\n### install Docker-Compose\n\nIf you have not installed docker-compose on your system, install it:\n\n```bash\nsudo apt-get install docker-compose\n```\n\nCheck if docker-compose was installed correctly:\n\n```bash\ndocker compose version\n```\n\n## Install Standardnotes\n\nStandardnotes provides docker images for ARM-systems by now. Although some Modifications are needed. This Guide will go through it step by step, so you have the original and safe experience provided by Standardnotes!\n\n### Retag database Images\n\nPull the ARM-compatible database and retag it:\n\n```bash\ndocker pull mariadb\ndocker image tag mariadb:latest mysql:5.6\ndocker image tag mariadb:latest mysql:8\n```\n\nNow you have all images built locally.\n\n### Run the Standalone\n\nClone the [Self Hosting Repository](https://github.com/standardnotes/self-hosted):\n\n```bash\ncd ~\ngit clone https://github.com/standardnotes/self-hosted\ncd self-hosted\n```\n\nFrom here it goes closely to the [official Guide](https://docs.standardnotes.com/self-hosting/docker). Start of with setting up the environment and generate your own secrets:\n\n```bash\nbash ./server.sh setup\nbash ./server.sh generate-keys\n```\n\nStart up the server:\n\n```bash\nbash ./server.sh start\n```\n\n### Adding your subscription\n\nAfter you have registered an account to this server you will need to add a subscription to enable all features:\n\n```bash\ncd ~\ncd self-hosted\nbash ./server.sh create-subscription \u003cyour@email.here\u003e\n```\n\nThis will enable all features for your account.\n\n### Configure the files server\n\nEnter the `self-hosted` folder and edit your `.env` file.\n\n```bash\ncd ~/self-hosted\nnano .env\n```\n\nScroll down until you find the key `FILES_SERVER_URL`. Change the value to the ip or domain/url the server is accessible.\n\n```bash\nFILES_SERVER_URL=http://\u003caccessible_server_ip_or_domain\u003e:3125\n```\n\nIn case you configured your server to use HTTPS, don't forget to use the https protocoll here as well.\n\nIn my case I have the files server (standard port 3125) rerouted at the main server on the path /files:\n\n```bash\nFILES_SERVER_URL=https://\u003cyour_domain\u003e/files\n```\n\nSave the file and restart the docker containers:\n\n```bash\nbash ./server.sh stop\nbash ./server.sh start\n```\n\nNow you should be able to upload files to your SN instance.\n","funding_links":[],"categories":["Guides"],"sub_categories":["Contents"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantonheitz%2Fstandard-notes-arm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantonheitz%2Fstandard-notes-arm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantonheitz%2Fstandard-notes-arm/lists"}