https://github.com/a35hie/smolc
Write C and Arduino functions at the speed of very fast.
https://github.com/a35hie/smolc
arduino c cpp espanso espanso-package text-expansion
Last synced: 3 months ago
JSON representation
Write C and Arduino functions at the speed of very fast.
- Host: GitHub
- URL: https://github.com/a35hie/smolc
- Owner: a35hie
- License: apache-2.0
- Created: 2025-07-30T20:21:47.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2025-07-31T13:19:55.000Z (11 months ago)
- Last Synced: 2026-02-28T15:51:38.493Z (4 months ago)
- Topics: arduino, c, cpp, espanso, espanso-package, text-expansion
- Language: Shell
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# SmolC
Write C and Arduino functions at the speed of very fast.
**SmolC** is a ✨tiny but mighty✨ text expansion package for writing C and Arduino code **at the speed of light**.
It's designed for devs who want to skip the finger gymnastics and get straight to the slay 💅
Made for use with [Espanso](https://espanso.org) – the ultimate open-source text expander.
## ✨ Features
- Speed up your Arduino/C workflows with cute shorthand triggers
- Auto-inserts semicolons and cursor positions `` for smooth typing
- Clean, readable expansions that map 1:1 to common Arduino/C++ APIs
- Slayfully minimal — no bloat, just *fast fingers and fab code*
## 🧪 Example Triggers
| Trigger | Expands to |
|---------|-----------------------|
| `sP(` | `Serial.print();` |
| `sPL(` | `Serial.println();` |
| `aR(` | `analogRead();` |
| `dW(` | `digitalWrite();` |
| `pM(` | `pinMode();` |
| `mS` | `millis()` |
| `vS` | `void setup() {\n\n}` |
| `cxB` | `constexpr bool ;` |
| `rV(` | `return ;` |
| `brk;` | `break;` |
> ✨ More expansions are available — check out `package.yml` for the full glow-up.
## 🛠️ Installation/Updating
#### Automatic
If you're on Linux/macOS, simply run this command:
```bash
bash <(curl -s https://raw.githubusercontent.com/asboy2035/SmolC/refs/heads/master/install.sh)
```
It will check for installed versions and updates, and do the most appropriate actions.
#### Manual
1. Clone or download this repo
2. Move it to your Espanso packages folder using your file manager or the command line:
```bash
# Example path on Linux/macOS
~/.config/espanso/packages/smolc
```