diff --git a/README.md b/README.md index 0292538..93d0642 100644 --- a/README.md +++ b/README.md @@ -1,21 +1,16 @@ -# Learndb +# LearnAwesome -Non-social version of https://learnawesome.org/ +An offline-browsable collection of learning resources organized by topics, formats, difficulty level etc. -Run `datasette . -o` in the top-level directory. +## Users -Schema: - - Format: inline string like book, course, video, audio, podcast, newsletter, game, toy, website, article etc - - Topic (id - using slash or dot separator for hierarchy, display_name, image) - - Why not an inline string? - - Need to support Special characters (dot, hyphen etc), preserve capitalization etc - - Hierarchy may change over time - - Item (id, name, description, image, []{format, URL/hash}, rating, topic_id: [], creator_ids: [], year, difficulty, cost, quality_tags, extra_data: {}) - - Creator (id, name, description, category, social_urls_or_ids, photo) - - Review/Recommendation (id, item_id, by: item_id/creator_id, rating, blurb, URL, quality_tags) +Run `datasette . -o` in the top-level directory which opens the Datasette default view. Click on "home" in the top-left to open the custom UI which is much nicer. -Additional pages: -- Syllabus page per topic -- Format page +## Developers -To generate the sqlite database from the source files, run `generatedb.sh` +When you modify the *.csv files in `db/`, generate the sqlite database with `./generatedb.sh`. +Run `npm run dev` to keep building the JS bundle as you edit the source code. + +## Details + +The dataset here is identical to https://learnawesome.org/. But this runs on your computer so there are no user accounts, no social features like learning feeds or ActivityPub. Your bookmarks will be saved in browser's localStorage. \ No newline at end of file diff --git a/src/AdvancedSearch.svelte b/src/AdvancedSearch.svelte index 3f21087..8934762 100644 --- a/src/AdvancedSearch.svelte +++ b/src/AdvancedSearch.svelte @@ -1,4 +1,8 @@ -
+