Feat: work on metadata and packaging
This commit is contained in:
11
CHANGELOG.md
Normal file
11
CHANGELOG.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# Changelog
|
||||||
|
|
||||||
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [0.0.2] - 2026-02-01
|
||||||
|
- CI testing and codebase cleanup
|
||||||
|
|
||||||
|
## [0.0.1] - Initial Release
|
||||||
|
- CI testing
|
||||||
23
Cargo.toml
23
Cargo.toml
@@ -1,10 +1,24 @@
|
|||||||
[workspace]
|
[workspace]
|
||||||
members = ["crates/forth", "crates/markdown", "crates/project", "crates/ratatui"]
|
members = ["crates/forth", "crates/markdown", "crates/project", "crates/ratatui"]
|
||||||
|
|
||||||
|
[workspace.package]
|
||||||
|
version = "0.0.2"
|
||||||
|
edition = "2021"
|
||||||
|
authors = ["Raphaël Forment <raphael.forment@gmail.com>"]
|
||||||
|
license = "AGPL-3.0"
|
||||||
|
repository = "https://github.com/Bubobubobubobubo/cagire"
|
||||||
|
homepage = "https://cagire.raphaelforment.fr"
|
||||||
|
description = "Forth-based live coding music sequencer"
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "cagire"
|
name = "cagire"
|
||||||
version = "0.1.0"
|
version.workspace = true
|
||||||
edition = "2021"
|
edition.workspace = true
|
||||||
|
authors.workspace = true
|
||||||
|
license.workspace = true
|
||||||
|
repository.workspace = true
|
||||||
|
homepage.workspace = true
|
||||||
|
description.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "cagire"
|
name = "cagire"
|
||||||
@@ -73,7 +87,6 @@ strip = true
|
|||||||
name = "Cagire"
|
name = "Cagire"
|
||||||
identifier = "com.sova.cagire"
|
identifier = "com.sova.cagire"
|
||||||
icon = ["assets/Cagire.icns", "assets/Cagire.ico"]
|
icon = ["assets/Cagire.icns", "assets/Cagire.ico"]
|
||||||
version = "0.1.0"
|
copyright = "Copyright (c) 2025 Raphaël Forment"
|
||||||
copyright = "Copyright (c) 2025 Cagire Contributors"
|
|
||||||
category = "Music"
|
category = "Music"
|
||||||
short_description = "Forth-based music sequencer with Ableton Link"
|
short_description = "Forth-based music sequencer"
|
||||||
|
|||||||
@@ -1,7 +1,11 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "cagire-forth"
|
name = "cagire-forth"
|
||||||
version = "0.1.0"
|
version.workspace = true
|
||||||
edition = "2021"
|
edition.workspace = true
|
||||||
|
authors.workspace = true
|
||||||
|
license.workspace = true
|
||||||
|
repository.workspace = true
|
||||||
|
description = "Forth virtual machine for cagire sequencer"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
|
|||||||
@@ -1,7 +1,11 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "cagire-markdown"
|
name = "cagire-markdown"
|
||||||
version = "0.1.0"
|
version.workspace = true
|
||||||
edition = "2021"
|
edition.workspace = true
|
||||||
|
authors.workspace = true
|
||||||
|
license.workspace = true
|
||||||
|
repository.workspace = true
|
||||||
|
description = "Markdown rendering for cagire sequencer"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
minimad = "0.13"
|
minimad = "0.13"
|
||||||
|
|||||||
@@ -1,7 +1,11 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "cagire-project"
|
name = "cagire-project"
|
||||||
version = "0.1.0"
|
version.workspace = true
|
||||||
edition = "2021"
|
edition.workspace = true
|
||||||
|
authors.workspace = true
|
||||||
|
license.workspace = true
|
||||||
|
repository.workspace = true
|
||||||
|
description = "Project data structures for cagire sequencer"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
|
|||||||
@@ -1,7 +1,11 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "cagire-ratatui"
|
name = "cagire-ratatui"
|
||||||
version = "0.1.0"
|
version.workspace = true
|
||||||
edition = "2021"
|
edition.workspace = true
|
||||||
|
authors.workspace = true
|
||||||
|
license.workspace = true
|
||||||
|
repository.workspace = true
|
||||||
|
description = "TUI components for cagire sequencer"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
rand = "0.8"
|
rand = "0.8"
|
||||||
|
|||||||
7
release.toml
Normal file
7
release.toml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
[workspace]
|
||||||
|
allow-branch = ["main"]
|
||||||
|
sign-commit = false
|
||||||
|
sign-tag = false
|
||||||
|
push = true
|
||||||
|
publish = false
|
||||||
|
tag-name = "v{{version}}"
|
||||||
@@ -38,7 +38,7 @@ use settings::Settings;
|
|||||||
use state::audio::RefreshRate;
|
use state::audio::RefreshRate;
|
||||||
|
|
||||||
#[derive(Parser)]
|
#[derive(Parser)]
|
||||||
#[command(name = "cagire", about = "A step sequencer with Ableton Link support")]
|
#[command(name = "cagire", version, about = "Forth-based live coding sequencer")]
|
||||||
struct Args {
|
struct Args {
|
||||||
/// Directory containing audio samples to load (can be specified multiple times)
|
/// Directory containing audio samples to load (can be specified multiple times)
|
||||||
#[arg(short, long)]
|
#[arg(short, long)]
|
||||||
|
|||||||
@@ -23,12 +23,18 @@ pub fn render(frame: &mut Frame, area: Rect, ui: &UiState) {
|
|||||||
.centered()
|
.centered()
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
|
let version_style = Style::new().fg(theme.title.subtitle);
|
||||||
|
|
||||||
let subtitle_lines = vec![
|
let subtitle_lines = vec![
|
||||||
Line::from(""),
|
Line::from(""),
|
||||||
Line::from(Span::styled(
|
Line::from(Span::styled(
|
||||||
"A Forth Music Sequencer",
|
"A Forth Music Sequencer",
|
||||||
Style::new().fg(theme.title.subtitle),
|
Style::new().fg(theme.title.subtitle),
|
||||||
)),
|
)),
|
||||||
|
Line::from(Span::styled(
|
||||||
|
format!("v{}", env!("CARGO_PKG_VERSION")),
|
||||||
|
version_style,
|
||||||
|
)),
|
||||||
Line::from(""),
|
Line::from(""),
|
||||||
Line::from(Span::styled("by BuboBubo", author_style)),
|
Line::from(Span::styled("by BuboBubo", author_style)),
|
||||||
Line::from(""),
|
Line::from(""),
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 152 KiB |
@@ -6,17 +6,44 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Cagire</title>
|
<title>Cagire - Forth-based live coding sequencer</title>
|
||||||
|
<meta name="description" content="Forth-based live coding music sequencer">
|
||||||
|
<meta name="author" content="Raphaël Forment">
|
||||||
|
<meta name="keywords" content="live coding, forth, sequencer, music, audio, ableton link, synthesizer">
|
||||||
|
<link rel="canonical" href="https://cagire.raphaelforment.fr">
|
||||||
|
<meta property="og:title" content="Cagire - Forth-based live coding sequencer">
|
||||||
|
<meta property="og:description" content="Forth-based live coding music sequencer">
|
||||||
|
<meta property="og:type" content="website">
|
||||||
|
<meta property="og:url" content="https://cagire.raphaelforment.fr">
|
||||||
|
<meta name="twitter:card" content="summary">
|
||||||
|
<meta name="twitter:title" content="Cagire - Forth-based live coding sequencer">
|
||||||
|
<meta name="twitter:description" content="Forth-based live coding music sequencer">
|
||||||
<style>
|
<style>
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'CozetteVector';
|
font-family: 'CozetteVector';
|
||||||
src: url('/CozetteVector.ttf') format('truetype');
|
src: url('/CozetteVector.ttf') format('truetype');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--bg: #000;
|
||||||
|
--surface: #121212;
|
||||||
|
--text: #fff;
|
||||||
|
--text-dim: #b4b4b4;
|
||||||
|
--text-muted: #787878;
|
||||||
|
}
|
||||||
|
|
||||||
|
:root.light {
|
||||||
|
--bg: #fff;
|
||||||
|
--surface: #f0f0f0;
|
||||||
|
--text: #000;
|
||||||
|
--text-dim: #505050;
|
||||||
|
--text-muted: #8c8c8c;
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: 'CozetteVector', monospace;
|
font-family: 'CozetteVector', monospace;
|
||||||
background: #0a0a0a;
|
background: var(--bg);
|
||||||
color: #e0e0e0;
|
color: var(--text);
|
||||||
max-width: 800px;
|
max-width: 800px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
@@ -24,13 +51,20 @@
|
|||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
.header {
|
||||||
color: #64a0b4;
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
margin-bottom: 0.25rem;
|
margin-bottom: 0.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
color: var(--text);
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
color: #64a0b4;
|
color: var(--text);
|
||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
margin-bottom: 0.25rem;
|
margin-bottom: 0.25rem;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
@@ -38,12 +72,13 @@
|
|||||||
|
|
||||||
p { margin: 0.25rem 0; }
|
p { margin: 0.25rem 0; }
|
||||||
|
|
||||||
img {
|
video {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
margin: 0.5rem 0;
|
margin: 0.5rem 0;
|
||||||
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
a { color: #cccc44; }
|
a { color: var(--text-dim); }
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
padding-left: 1.5rem;
|
padding-left: 1.5rem;
|
||||||
@@ -53,7 +88,7 @@
|
|||||||
li { margin: 0.1rem 0; }
|
li { margin: 0.1rem 0; }
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
background: #1a1a1a;
|
background: var(--surface);
|
||||||
padding: 0.5rem;
|
padding: 0.5rem;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
margin: 0.25rem 0;
|
margin: 0.25rem 0;
|
||||||
@@ -72,30 +107,48 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.downloads-table th {
|
.downloads-table th {
|
||||||
color: #64a0b4;
|
color: var(--text);
|
||||||
}
|
}
|
||||||
|
|
||||||
.downloads-table td:first-child {
|
.downloads-table td:first-child {
|
||||||
color: #888;
|
color: var(--text-muted);
|
||||||
}
|
}
|
||||||
|
|
||||||
.downloads-table tr:nth-child(even) {
|
.downloads-table tr:nth-child(even) {
|
||||||
background: #151515;
|
background: var(--surface);
|
||||||
}
|
}
|
||||||
|
|
||||||
.note {
|
.note {
|
||||||
color: #555;
|
color: var(--text-muted);
|
||||||
font-size: 0.8rem;
|
font-size: 0.8rem;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
.note a {
|
.note a {
|
||||||
color: #777;
|
color: var(--text-muted);
|
||||||
|
}
|
||||||
|
|
||||||
|
#theme-toggle {
|
||||||
|
font-family: 'CozetteVector', monospace;
|
||||||
|
background: var(--surface);
|
||||||
|
color: var(--text);
|
||||||
|
border: 1px solid var(--text-muted);
|
||||||
|
padding: 0.25rem 0.5rem;
|
||||||
|
cursor: pointer;
|
||||||
|
font-size: 0.8rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
#theme-toggle:hover {
|
||||||
|
background: var(--text-muted);
|
||||||
|
color: var(--bg);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>CAGIRE: LIVE CODING IN FORTH</h1>
|
<div class="header">
|
||||||
|
<h1>CAGIRE: LIVE CODING IN FORTH</h1>
|
||||||
|
<button id="theme-toggle" aria-label="Toggle theme">LIGHT</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
<table class="downloads-table">
|
<table class="downloads-table">
|
||||||
<tr>
|
<tr>
|
||||||
@@ -126,7 +179,7 @@
|
|||||||
</table>
|
</table>
|
||||||
<p class="note">All releases on <a href="https://github.com/Bubobubobubobubo/cagire/releases/latest">GitHub</a>. You can also compile the software yourself or get it from Cargo!</p>
|
<p class="note">All releases on <a href="https://github.com/Bubobubobubobubo/cagire/releases/latest">GitHub</a>. You can also compile the software yourself or get it from Cargo!</p>
|
||||||
|
|
||||||
<img src="/cagire.png" alt="Cagire screenshot">
|
<video src="/mono_cagire.mp4" autoplay muted loop playsinline></video>
|
||||||
|
|
||||||
<h2>About</h2>
|
<h2>About</h2>
|
||||||
<p>Cagire is a step sequencer where each step contains a Forth script instead of typical note data. When the sequencer reaches a step, it runs the script. Scripts can produce sound, trigger samples, apply effects, or do nothing at all. You are free to define what your scripts will do. Cagire includes a built-in audio engine called <a href="https://doux.livecoding.fr">Doux</a>. No external software is needed to make sound. It comes with oscillators, sample players, filters, reverb, delay, distortion, and more.</p>
|
<p>Cagire is a step sequencer where each step contains a Forth script instead of typical note data. When the sequencer reaches a step, it runs the script. Scripts can produce sound, trigger samples, apply effects, or do nothing at all. You are free to define what your scripts will do. Cagire includes a built-in audio engine called <a href="https://doux.livecoding.fr">Doux</a>. No external software is needed to make sound. It comes with oscillators, sample players, filters, reverb, delay, distortion, and more.</p>
|
||||||
@@ -156,7 +209,7 @@
|
|||||||
|
|
||||||
<h2>Credits</h2>
|
<h2>Credits</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="https://raphaelforment.fr">BuboBubo</a> (Raphaël Maurice Forment)</li>
|
<li><a href="https://raphaelforment.fr">BuboBubo</a> (Raphaël Forment)</li>
|
||||||
<li><a href="https://doux.livecoding.fr">Doux</a> audio engine, Rust port of Dough by <a href="https://eddyflux.cc/">Felix Roos</a></li>
|
<li><a href="https://doux.livecoding.fr">Doux</a> audio engine, Rust port of Dough by <a href="https://eddyflux.cc/">Felix Roos</a></li>
|
||||||
<li><a href="https://github.com/sourcebox/mi-plaits-dsp-rs">mi-plaits-dsp-rs</a> by Oliver Rockstedt, based on <a href="https://mutable-instruments.net/">Mutable Instruments</a> Plaits by Emilie Gillet</li>
|
<li><a href="https://github.com/sourcebox/mi-plaits-dsp-rs">mi-plaits-dsp-rs</a> by Oliver Rockstedt, based on <a href="https://mutable-instruments.net/">Mutable Instruments</a> Plaits by Emilie Gillet</li>
|
||||||
<li>Related: <a href="https://strudel.cc">Strudel</a>, <a href="https://tidalcycles.org">TidalCycles</a>, <a href="https://sova.livecoding.fr">Sova</a></li>
|
<li>Related: <a href="https://strudel.cc">Strudel</a>, <a href="https://tidalcycles.org">TidalCycles</a>, <a href="https://sova.livecoding.fr">Sova</a></li>
|
||||||
@@ -168,6 +221,23 @@
|
|||||||
<li><a href="https://ko-fi.com/raphaelbubo">Ko-fi</a></li>
|
<li><a href="https://ko-fi.com/raphaelbubo">Ko-fi</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p style="margin-top: 2rem; color: #666;">AGPL-3.0 License</p>
|
<p style="margin-top: 2rem; color: var(--text-muted);">AGPL-3.0 License</p>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
const toggle = document.getElementById('theme-toggle');
|
||||||
|
const root = document.documentElement;
|
||||||
|
|
||||||
|
if (localStorage.getItem('theme') === 'light') {
|
||||||
|
root.classList.add('light');
|
||||||
|
toggle.textContent = 'DARK';
|
||||||
|
}
|
||||||
|
|
||||||
|
toggle.addEventListener('click', () => {
|
||||||
|
root.classList.toggle('light');
|
||||||
|
const isLight = root.classList.contains('light');
|
||||||
|
toggle.textContent = isLight ? 'DARK' : 'LIGHT';
|
||||||
|
localStorage.setItem('theme', isLight ? 'light' : 'dark');
|
||||||
|
});
|
||||||
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user