You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: initial backend setup with api and core packages
Set up the backend structure with two main crates:
- `api/`: Axum-based HTTP server for serving RESTful APIs
- `core/`: Library crate containing database logic using Diesel and PostgreSQL
Also updated Cargo workspace structure to include new packages and
documented the new project layout, purpose of each component and build
instructions in README.
No application logic or endpoints are implemented yet.
Copy file name to clipboardExpand all lines: README.md
+7-126Lines changed: 7 additions & 126 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,19 +3,11 @@
3
3
Sparkth is a free, open source, extensible, science-driven, AI-first learning platform. It is under active development by
4
4
[Edly](https://edly.io).
5
5
6
-
With Sparkth, users can create create courses from the chat UI of AI providers such as Claude or ChatGPT. Integration with these generative AI providers is achieved by the Model Context Protocol ([MCP](https://modelcontextprotocol.io/)) standard.
7
-
8
-
**Features**:
9
-
10
-
- Filter/Event API for extensive customisation of Sparkth.
11
-
- MCP endpoints that make it possible to use Sparkth as an external tool in Claude/ChatGPT/Gemini.
12
-
- Course generation prompt template that follows good instructional design principles.
13
-
- Synchronization of generated course content with 3rd-party learning management systems (LMS), such as [Canvas](https://canvas.instructure.com/).
14
-
15
-
**Tool Development Guide**:
16
-
17
-
The tool development guide can be found [here](src/plugins/README.md).
6
+
This repository is organized as a [Cargo workspace](https://doc.rust-lang.org/book/ch14-03-cargo-workspaces.html) with three main components:
18
7
8
+
-`mcp/`: a binary crate that runs the MCP server, responsible for creating courses from the chat UI of AI providers
9
+
-`backend/api/`: a binary crate that serves HTTP APIs
10
+
-`backend/core/`: a library crate for database access (PostgreSQL via Diesel)
19
11
20
12
**Roadmap**:
21
13
@@ -61,120 +53,11 @@ chmod a+x sparkth
61
53
62
54
### Building
63
55
64
-
Make sure that you have the following requirements:
0 commit comments