Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
zonque committed Mar 17, 2024
0 parents commit 1aaef3f
Show file tree
Hide file tree
Showing 133 changed files with 11,227 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "themes/hugo-scroll"]
path = themes/hugo-scroll
url = https://github.com/zjedi/hugo-scroll.git
Empty file added .hugo_build.lock
Empty file.
6 changes: 6 additions & 0 deletions archetypes/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

49 changes: 49 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
baseURL = 'https://spokespice.github.io/'
languageCode = 'en-us'
title = 'SpokeSpice - spoke lights for bicycles'
theme = 'hugo-scroll'

[params]
# The path to your "favicon". This should be a square (at least 32px x 32px) png-file.
favicon = "images/favicon.png"

# These "images" are used for the structured data templates. This will show up, when
# services like Twitter or Slack want to generate a preview of a link to your site.
# See https://gohugo.io/templates/internal#twitter-cards and https://gohugo.io/templates/internal#open-graph.
# NOT the actual header background image, go to _index.md instead
images = ["images/cover-image.jpg"]

# When set true, it creates a visual guard (partially transparent rounded box), preventing non-ideal background images from interfering with title/description headings
# Ideal images are homogenous around the centre and contrasting to the text.
# see CSS classes: .title-and-description-guard, .blog-title, .blog-description
# see _index.md header_headline and header_subheadline
title_guard = false

# Another "title" :-). This one is used as the site_name on the Hugo's internal
# opengraph structured data template.
# See https://ogp.me/ and https://gohugo.io/templates/internal#open-graph.
title = 'SpokeSpice'

# The "description" of your website. This is used in the meta data of your generated html.
description = "Spoke lights for bicycles"

# A "copyright"-line to be added at the bottom of the page.
# Hint: Plain HTML is supported in here as well. So you may e.g. add a link to your legal imprint-page.
copyright = "© Daniel Mack"

# This theme will, by default, inject a design-by-line at the bottom of the page.
# You can turn it off, but we would really appreciate if you don’t :-)
hidedesignbyline = false

# The sections of the home page alternate styling. Mark invert as true to swap the styling of the sections
invertSectionColors = false

[params.footer]
# Show contact icons for email/phone (if specified) in the footer of the page
showContactIcons = false

# Show links indicated with footer_menu and footer_menu_title in the footer of the page
showFooterLinks = false

[params.meta]
keywords = "esp32, bicycle, light, animated"
20 changes: 20 additions & 0 deletions content/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
# Striking header background image, Ideal images are homogenous around the centre and contrasting to the text. Non-ideal images can use `title_guard`
header_image: "images/cover-image.jpg"
#
# When set true, uses video from custom_header_video.html partial, instead of header_image
header_use_video: false
#
# Optional header logo. CSS: `#blog-logo`, with max-height defined, optimize to prevent scaling
header_logo: "images/logo.png"
#
# Headers are safeHTML, you can use HTML tags such as b,i,u,br
header_headline: "SpokeSpice"
header_subheadline: "Spoke Lights for you and your bicycle"

# Add a 'Go back to top' item to the navigation menu
# Title: name of navigation menu entry
# Weight (i. e. position in menu): none = no menu entry, first = add as first entry, last = ad as last entry
nav_to_top_title: "Return To Top"
nav_to_top_weight: last
---
8 changes: 8 additions & 0 deletions content/homepage/about.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: "About"
weight: 1
header_menu: true
---

SpokeSpice is an open hardware project that is comprised of a controller board and a number of arms.
It can display patterns and animations on the spokes of a bicycle wheel.
22 changes: 22 additions & 0 deletions content/homepage/hardware.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
title: "Hardware"
weight: 2
header_menu: true
---

##### Controller board

![Controller](images/controller-a-perspective.png)

The controller board is based on the ESP32 microcontroller and features a USB-C connector for programming.
It features a battery holder for an 18650 Li-Ion cell, a 3.3V LDO regulator, an SD card slot and 4 connectors for the arms.

##### Arms

![Arm](images/arm-a-perspective.png)

Arms are made to be attached to the spokes of a 28-inch bicycle wheel.

Each arm PCB features 32 WS2812B RGB LEDs and is connected to the controller board via a 4-pin cable.
A second 4-pin cable can be used to daisy-chain a second arm on the other side of the wheel, which
will then display the same content.
3 changes: 3 additions & 0 deletions content/homepage/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
headless: true
---
5 changes: 5 additions & 0 deletions content/homepage/software.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: "Software"
weight: 2
header_menu: true
---
103 changes: 103 additions & 0 deletions public/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
<!DOCTYPE html>
<html lang="en"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />

<title>404 Page not found</title>


<link rel="shortcut icon" href="https://spokespice.github.io/images/favicon.png" type="image/png"
/>


<meta name="description" content="Spoke lights for bicycles"
/>

<meta name="keywords" content="esp32, bicycle, light, animated"
/>
<meta name="referrer" content="no-referrer-when-downgrade" />

<meta name="HandheldFriendly" content="True" />
<meta name="MobileOptimized" content="320" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />









<link rel="stylesheet" href="https://spokespice.github.io/css/style.min.4814d2c1857f40274b8aad1d14182dfcc587123b16d6939aa11b4569d05d83f7.css" type="text/css" integrity="sha256-SBTSwYV/QCdLiq0dFBgt/MWHEjsW1pOaoRtFadBdg/c=" />

<meta property="og:title" content="404 Page not found" />
<meta property="og:description" content="Spoke lights for bicycles" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://spokespice.github.io/404.html" /><meta property="og:image" content="https://spokespice.github.io/images/cover-image.jpg"/><meta property="og:site_name" content="SpokeSpice" />

<meta name="twitter:card" content="summary_large_image"/>
<meta name="twitter:image" content="https://spokespice.github.io/images/cover-image.jpg"/>

<meta name="twitter:title" content="404 Page not found"/>
<meta name="twitter:description" content="Spoke lights for bicycles"/>

<meta itemprop="name" content="404 Page not found">
<meta itemprop="description" content="Spoke lights for bicycles">


<body>
<main class="content page-template 404" role="main">
<article class="post page">
<header class="post-header">
<a id="blog-logo" href="/">
SpokeSpice - spoke lights for bicycles
</a>
</header>
<h1 class="post-title">404 - Page Not Found</h1>
<section class="post-content">
Give it another try:
<a href="/" alt="Homepage">Back to the homepage</a>.
</section>
</article>
</main>




<footer class="site-footer">
<div class="inner">





<section class="copyright">© Daniel Mack</section>



<section>
<a href="https://themes.gohugo.io/hugo-scroll/" target="_blank" rel="noopener">Hugo Scroll</a> template
</section>



</div>
</footer>










<script src="https://spokespice.github.io/js/script.min.5e6c5e01e85fe2790c20d8151c482cec0c2b90a367f884ebd45ec7ff8b5b0f82.js" integrity="sha256-XmxeAehf4nkMINgVHEgs7AwrkKNn&#43;ITr1F7H/4tbD4I=" ></script>


<script>cssVars();</script>


</body>
</html>
10 changes: 10 additions & 0 deletions public/categories/index.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Categories on SpokeSpice - spoke lights for bicycles</title>
<link>https://spokespice.github.io/categories/</link>
<description>Recent content in Categories on SpokeSpice - spoke lights for bicycles</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language><atom:link href="https://spokespice.github.io/categories/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

Large diffs are not rendered by default.

Binary file added public/fonts/forkawesome-webfont.eot
Binary file not shown.
Loading

0 comments on commit 1aaef3f

Please sign in to comment.