{"id":17366764,"url":"https://github.com/herol3oy/austen","last_synced_at":"2025-04-14T04:23:12.288Z","repository":{"id":257238876,"uuid":"857700599","full_name":"herol3oy/austen","owner":"herol3oy","description":"📚 discover story relationships","archived":false,"fork":false,"pushed_at":"2025-02-18T13:50:41.000Z","size":1410,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T18:16:42.317Z","etag":null,"topics":["analog","angular"],"latest_commit_sha":null,"homepage":"https://austen.pages.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/herol3oy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-15T11:29:08.000Z","updated_at":"2025-02-28T03:28:36.000Z","dependencies_parsed_at":"2024-09-15T13:34:00.387Z","dependency_job_id":"c7c46e4b-643e-41bb-9873-dd02732461c1","html_url":"https://github.com/herol3oy/austen","commit_stats":{"total_commits":9,"total_committers":1,"mean_commits":9.0,"dds":0.0,"last_synced_commit":"c9568527f2fd76e5a08e95eade75ed9c297c59f4"},"previous_names":["herol3oy/austen"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herol3oy%2Fausten","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herol3oy%2Fausten/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herol3oy%2Fausten/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herol3oy%2Fausten/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/herol3oy","download_url":"https://codeload.github.com/herol3oy/austen/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248819926,"owners_count":21166568,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["analog","angular"],"created_at":"2024-10-15T22:04:44.732Z","updated_at":"2025-04-14T04:23:12.265Z","avatar_url":"https://github.com/herol3oy.png","language":"TypeScript","readme":"# Austen\n\nAusten is an AI-powered Angular application initialized with Analogjs to generate story relationships between book characters using Mermaidjs diagrams.\n\n## Features\n\n- 📚 Search and analyze any book from Open Library\n- 🤖 AI-powered character relationship analysis\n- 📊 Generate Mermaid diagrams\n- 💾 Save, download (SVG, PNG) and manage your generated graphs\n- 🌐 Share graphs publicly or keep them private\n- 🔍 Discover public graphs generated by other users\n\n## Example Graph\n\nA character relationship graph generated for \"The Wizard of Oz\" by \"L. Frank Baum\":\n\n```mermaid\n%%{\n  init: {\n    'theme': 'base',\n    'themeVariables': {\n      'primaryColor': '#BB2528',\n      'primaryTextColor': '#fff',\n      'primaryBorderColor': '#7C0000',\n      'lineColor': '#F8B229',\n      'secondaryColor': '#006100',\n      'tertiaryColor': '#fff'\n    }\n  }\n}%%\n\n  graph TD\n    A[Dorothy Gale] --\u003e|Pet| B[Toto]\n    A --\u003e|Family| C[Uncle Henry and Aunt Em]\n    A --\u003e|Friends| D[Scarecrow]\n    A --\u003e|Friends| E[Tin Woodman]\n    A --\u003e|Friends| F[Cowardly Lion]\n    A --\u003e|Enemy| G[The Wicked Witch of The West]\n    A --\u003e|Enemy| H[The Wizard of OZ]\n    A --\u003e|Helps Dorothy| I[Glinda]\n    D --\u003e|Friends| E\n    E --\u003e|Friends| F\n    B --\u003e|In Kansas| C\n```\n\n## Stacks:\n\n- [Angular](https://angular.dev)\n- [Analog](https://analogjs.org)\n- [TypeScript](https://www.typescriptlang.org)\n- [Supabase](https://supabase.com)\n- [Cloudflare Pages](https://pages.cloudflare.com)\n\n## UI\n\n- [Angular Material](https://material.angular.io)\n- [Mermaid](https://mermaid.js.org)\n\n## API\n\n- [Open Library](https://openlibrary.org)\n- [DeepSeek](https://deepseek.com)\n- [OpenAI](https://platform.openai.com/docs/quickstart)\n\n## Installation \u0026 Setup\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/herol3oy/austen.git\n   cd austen\n   ```\n\n2. Install dependencies:\n\n   ```bash\n   npm install\n   ```\n\n3. Set up environment variables:\n\n   - Copy `.env.example` to `.env`\n   - Fill in the required API keys:\n     ```env\n     DEEPSEEK_API_KEY=your_deepseek_api_key\n     VITE_PUBLIC_SUPABASE_URL=your_supabase_url\n     VITE_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key\n     ```\n\n4. Set up Supabase:\n\n   - Create a new Supabase project\n   - Enable authentication\n   - Create graphs table in the public schema:\n     - id uuid primary key\n     - book_name text not null\n     - author_name text not null\n     - svg_graph text not null\n     - mermaid_syntax text not null\n     - emojis text\n     - user_id uuid\n     - is_public boolean default false\n     - created_at timestamp\n\n5. Start the development server:\n\n   ```bash\n   npm run dev\n   ```\n\n6. Build for production:\n   ```bash\n   npm run build\n   ```\n\n## TODO\n\n- [ ] Implement Like/Unlike Functionality for Graphs\n\n  - [ ] Add like button\n  - [ ] Implement like/unlike API endpoints in Supabase\n  - [ ] Add like count display\n\n- [ ] Load more graphs in the discover page\n  - [ ] Add a button to load more graphs\n\n## Screenshot\n\n![Austen Homepage](./screenshots/austen-homepage.png)\nGenerate a graph for a given book in the homepage\n\n![Austen My Graphs Page](./screenshots/austen-my-graphs-page.png)\nFind your generated graphs in the my graphs page\n\n![Austen Discover Page](./screenshots/austen-discover-page.png)\nFind public graphs in the discover page\n\n## Jane Austen logo reference\n\n\"Jane Austen Inspired Illustrations\", CC-BY 4.0. Quelle:\nhttps://colorconfetti.com/culture-history-environment/jane-austen/jane-austen-inspired-illustrations/\n\n## License\n\n[MIT LICENSE](LICENSE)\n","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fherol3oy%2Fausten","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fherol3oy%2Fausten","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fherol3oy%2Fausten/lists"}