<spanclass=toggle-dark><svgxmlns="http://www.w3.org/2000/svg"width="20"height="20"viewBox="0 0 24 24"fill="none"stroke="currentcolor"stroke-width="2"stroke-linecap="round"stroke-linejoin="round"class="feather feather-moon"><pathd="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"/></svg></span><spanclass=toggle-light><svgxmlns="http://www.w3.org/2000/svg"width="20"height="20"viewBox="0 0 24 24"fill="none"stroke="currentcolor"stroke-width="2"stroke-linecap="round"stroke-linejoin="round"class="feather feather-sun"><circlecx="12"cy="12"r="5"/><linex1="12"y1="1"x2="12"y2="3"/><linex1="12"y1="21"x2="12"y2="23"/><linex1="4.22"y1="4.22"x2="5.64"y2="5.64"/><linex1="18.36"y1="18.36"x2="19.78"y2="19.78"/><linex1="1"y1="12"x2="3"y2="12"/><linex1="21"y1="12"x2="23"y2="12"/><linex1="4.22"y1="19.78"x2="5.64"y2="18.36"/><linex1="18.36"y1="5.64"x2="19.78"y2="4.22"/></svg></span></button><ulclass="navbar-nav social-nav order-3 order-md-5"><liclass=nav-item><aclass=nav-linkhref=https://gitea.arsenm.dev/Arsen6331><spanclass=iconifydata-icon=cib:giteadata-inline=false></span><spanclass="ml-2 sr-only">Gitea</span></a></li><liclass=nav-item><aclass=nav-linkhref=https://gitlab.com/moussaelianarsen><spanclass=iconifydata-icon=fa-brands:gitlabdata-inline=false></span><spanclass="ml-2 sr-only">GitLab</span></a></li></ul><divclass="collapse navbar-collapse order-4 order-md-1"><ulclass="navbar-nav main-nav mr-auto order-5 order-md-2"><liclass=nav-item><aclass=nav-linkhref=/>Home</a></li><liclass="nav-item active"><aclass=nav-linkhref=/docs/>Docs</a></li></ul><divclass="break order-6 d-md-none"></div><formclass="navbar-form flex-grow-1 order-7 order-md-3"><inputid=userinputclass="form-control is-search"type=searchplaceholder="Search docs..."aria-label="Search docs..."autocomplete=off><divid=suggestionsclass="shadow bg-white rounded"></div></form></div></div></header><divclass="wrap container"role=document><divclass=content><divclass="row flex-xl-nowrap"><divclass="col-lg-5 col-xl-4 docs-sidebar"><navclass=docs-linksaria-label="Main navigation"><h3>Docs</h3><ulclass=list-unstyled><li><aclass=docs-linkhref=/docs/advmake/>AdvMake Docs</a></li><li><aclass=docs-linkhref=/docs/kbdemu/>KbdEmu Docs</a></li><li><aclass=docs-linkhref=/docs/opensend/>OpenSend Docs</a></li><li><aclass=docs-linkhref=/docs/pak/>Pak Docs</a></li><li><aclass=docs-linkhref=/docs/simpledash/>Simpledash Docs</a></li></ul></nav></div><navclass="docs-toc d-none d-xl-block col-xl-3"aria-label="Secondary navigation"><divclass=page-links><h3>On this page</h3><navid=TableOfContents><ul><li><ahref=#building-from-source>Building from source</a><ul><li><ahref=#prerequisites>Prerequisites</a></li><li><ahref=#building>Building</a></li><li><ahref=#building-with-advmake>Building with Advmake</a></li></ul></li></ul></nav></div></nav><mainclass="docs-content col-lg-11 col-xl-9 mx-xl-auto"><ahref=..>⇐ Simpledash Docs</a><h1style=margin-top:.2rem>Building</h1><pclass=lead></p><h2id=building-from-source>Building from source<ahref=#building-from-sourceclass=anchoraria-hidden=true>#</a></h2><h3id=prerequisites>Prerequisites<ahref=#prerequisitesclass=anchoraria-hidden=true>#</a></h3><p>Simpledash utilizes an SQLite database for session storage. That means that sqlite3 must be installed along with its development files to build simpledash. It also means cross-compilation is not as simple as setting some environment variables.</p><p>On Debian, the required packages are: <code>sqlite3</code> and <code>sqlite3-dev</code>.</p><p>On Arch, the required package is <code>sqlite</code>.</p><hr><h3id=building>Building<ahref=#buildingclass=anchoraria-hidden=true>#</a></h3><p>To build simpledash, first, clone the git repository of simpledash. Then, use a terminal to enter the cloned directory and run:</p><divclass=highlight><preclass=chroma><codeclass=language-shelldata-lang=shell>go build
</code></pre></div><hr><h3id=building-with-advmake>Building with Advmake<ahref=#building-with-advmakeclass=anchoraria-hidden=true>#</a></h3><p>Simpledash can be built with another of my projects, <code>advmake</code>. Using this also builds the CSS framework used in this project, Bulma.</p><p>To build simpledash using advmake, simply run:</p><divclass=highlight><preclass=chroma><codeclass=language-shelldata-lang=shell>advmake
</code></pre></div><p>To run via advmake, run:</p><divclass=highlight><preclass=chroma><codeclass=language-shelldata-lang=shell>advmake run