coursecode 0.1.22 → 0.1.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -15
- package/lib/cloud.js +6 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,22 +1,14 @@
|
|
|
1
1
|
# CourseCode
|
|
2
2
|
|
|
3
|
-
**Open-source, local-first course authoring
|
|
3
|
+
**Open-source, local-first course authoring built for AI tools like Claude Code, Codex, Cursor, and [CourseCode Desktop](https://coursecodedesktop.com) — no coding required to start, full code control when you need it.**
|
|
4
4
|
|
|
5
|
-
CourseCode creates real project files you can inspect, version, and edit directly — with a predictable, file-based workflow instead of a black-box GUI.
|
|
5
|
+
CourseCode creates real project files you can inspect, version, and edit directly — with a predictable, file-based workflow instead of a black-box GUI. Built-in MCP integration means your AI assistant connects directly to your course project.
|
|
6
6
|
|
|
7
7
|
Bring your own PDFs, Word docs, or PowerPoints, use AI to accelerate authoring, and deploy to any LMS format without vendor lock-in or subscriptions.
|
|
8
8
|
|
|
9
|
-
## Start Here
|
|
10
|
-
|
|
11
|
-
Start with the workflow that fits you:
|
|
12
|
-
|
|
13
|
-
- **Course authors (prefer buttons and guided setup):** Start with **[CourseCode Desktop](https://coursecodedesktop.com)** if you want the easiest path and do not want to deal with Node.js or terminal setup
|
|
14
|
-
- **Course authors (prefer editing files and running commands):** Start with the **[User Guide](framework/docs/USER_GUIDE.md)** in this repo for the framework workflow
|
|
15
|
-
- **AI assistants:** Use the AI-focused docs in `framework/docs/` (for example `COURSE_AUTHORING_GUIDE.md` and `FRAMEWORK_GUIDE.md`)
|
|
16
|
-
|
|
17
9
|
## Features
|
|
18
10
|
|
|
19
|
-
- **MCP integration**:
|
|
11
|
+
- **MCP integration**: Works with Claude Code, Codex, Cursor, CourseCode Desktop, and any MCP-capable AI tool — previews, screenshots, linting, and testing without manual file sharing
|
|
20
12
|
- **No coding required to start**: Describe what you want and let AI help build slides, interactions, and structure
|
|
21
13
|
- **Full LMS integration**: SCORM 1.2, SCORM 2004, cmi5, and LTI with complete tracking records
|
|
22
14
|
- **AI-assisted authoring workflow**: Structured guides and MCP tools for faster course development
|
|
@@ -35,9 +27,7 @@ Start with the workflow that fits you:
|
|
|
35
27
|
|
|
36
28
|
## Installation
|
|
37
29
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
If you want the easiest setup with buttons and guided steps, use **[CourseCode Desktop](https://coursecodedesktop.com)** instead.
|
|
30
|
+
> **Prefer a GUI?** Use [CourseCode Desktop](https://coursecodedesktop.com) instead.
|
|
41
31
|
|
|
42
32
|
### Required
|
|
43
33
|
|
|
@@ -71,7 +61,7 @@ Open `http://localhost:4173` to view and edit your course.
|
|
|
71
61
|
|
|
72
62
|
The example course included with every new project is a complete guide to using CourseCode.
|
|
73
63
|
|
|
74
|
-
|
|
64
|
+
Start with the [User Guide](framework/docs/USER_GUIDE.md) for a complete walkthrough.
|
|
75
65
|
|
|
76
66
|
---
|
|
77
67
|
|
package/lib/cloud.js
CHANGED
|
@@ -1007,7 +1007,7 @@ export async function deploy(options = {}) {
|
|
|
1007
1007
|
log(' ℹ️ GitHub-linked course — deploying preview only.\n');
|
|
1008
1008
|
} else {
|
|
1009
1009
|
const repo = rcConfig.githubRepo || 'unknown';
|
|
1010
|
-
logErr(
|
|
1010
|
+
logErr('\n❌ This course deploys to production via GitHub, not CLI.');
|
|
1011
1011
|
logErr(` Repo: ${repo}`);
|
|
1012
1012
|
logErr(' Push to your repo to trigger a production deploy.');
|
|
1013
1013
|
logErr(' Use --preview to deploy a preview build via CLI.\n');
|
|
@@ -1128,11 +1128,11 @@ export async function deploy(options = {}) {
|
|
|
1128
1128
|
const previewTag = result.previewPromoted ? ' + preview' : '';
|
|
1129
1129
|
console.log(`✓ Deployed (${result.fileCount} files) — ${prodTag}${previewTag}`);
|
|
1130
1130
|
if (!result.promoted) {
|
|
1131
|
-
console.log(
|
|
1132
|
-
console.log(
|
|
1131
|
+
console.log(' Production pointer not updated. Promote from Deploy History or run:');
|
|
1132
|
+
console.log(' coursecode promote --production');
|
|
1133
1133
|
}
|
|
1134
1134
|
if (result.previewPromoted) {
|
|
1135
|
-
console.log(
|
|
1135
|
+
console.log(' Preview pointer updated.');
|
|
1136
1136
|
}
|
|
1137
1137
|
console.log(` Dashboard: ${result.dashboardUrl}`);
|
|
1138
1138
|
}
|
|
@@ -1639,8 +1639,8 @@ export async function deleteCourse(options = {}) {
|
|
|
1639
1639
|
console.log(`✓ "${slug}" deleted from CourseCode Cloud.`);
|
|
1640
1640
|
if (result.source_type === 'github' && result.github_repo) {
|
|
1641
1641
|
console.log(`\n ⚠️ This course was linked to GitHub (${result.github_repo}).`);
|
|
1642
|
-
console.log(
|
|
1643
|
-
console.log(
|
|
1642
|
+
console.log(' The GitHub integration has been disconnected.');
|
|
1643
|
+
console.log(' Your repository and its files are unaffected.');
|
|
1644
1644
|
}
|
|
1645
1645
|
console.log('');
|
|
1646
1646
|
}
|