{"id":50969403,"url":"https://github.com/aelithron/writers-block","last_synced_at":"2026-06-19T00:30:48.166Z","repository":{"id":304643364,"uuid":"995064045","full_name":"aelithron/writers-block","owner":"aelithron","description":"A simple writing webapp with powerful features.","archived":false,"fork":false,"pushed_at":"2026-05-13T01:16:09.000Z","size":216,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-28T00:28:06.291Z","etag":null,"topics":["books","fanfic","minimalist","nextjs","writing"],"latest_commit_sha":null,"homepage":"https://wb.novatea.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/aelithron.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-02T23:08:59.000Z","updated_at":"2026-05-13T01:16:05.000Z","dependencies_parsed_at":"2025-07-14T13:47:16.593Z","dependency_job_id":"09cca8dc-1bd1-435c-ae7f-d2b84a060949","html_url":"https://github.com/aelithron/writers-block","commit_stats":null,"previous_names":["aelithron/writers-block"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/aelithron/writers-block","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aelithron%2Fwriters-block","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aelithron%2Fwriters-block/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aelithron%2Fwriters-block/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aelithron%2Fwriters-block/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aelithron","download_url":"https://codeload.github.com/aelithron/writers-block/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aelithron%2Fwriters-block/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34513020,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-18T02:00:06.871Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["books","fanfic","minimalist","nextjs","writing"],"created_at":"2026-06-19T00:30:47.014Z","updated_at":"2026-06-19T00:30:48.154Z","avatar_url":"https://github.com/aelithron.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Writer's Block\nA simple writing webapp for books, fanfiction, and short stories.\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://shipwrecked.hackclub.com/?t=ghrm\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://cdn.hackclub.com/019d0cad-479a-7355-a7fc-bb822264d1e1/image.png\" \n         alt=\"This project is part of Shipwrecked, the world's first hackathon on an island!\" \n         style=\"width: 35%;\"\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n## Features\n- Settings for chaptered vs short stories\n- Simple writing UI\n- Protection from losing work (autosaving + others)\n- Plaintext exporting\n### Planned Features\n- Rich text editor\n- EPub/PDF/Docx exporting\n- Book planning tool (with templates)\n## Usage\nUsing Writer's Block is simple! Just go to [wb.novatea.dev](https://wb.novatea.dev) and sign in with Google (or if you're in Hack Club, you can use Slack).\n### Selfhosting\nSelfhosting the app is a bit more complex, but can be done! I suggest using Docker, though I am sadly unable to provide a prebuilt image for now.\n1. Environment Variables\nSet up the following environment variables:\n- `MONGODB_URI`: A MongoDB connection string to your database server.\n- `MONGODB_DB`: The name of your database. Make sure it contains a collection called `stories`!\n- `AUTH_SECRET`: A random string to secure user sessions. You can generate this with the command `openssl rand -base64 33` on Linux.\n- `AUTH_GOOGLE_ID` and `AUTH_GOOGLE_SECRET`: A Google Cloud OAuth ID and Secret. This will enable Google login. You can configure this [on Google Cloud Console](https://console.cloud.google.com/auth/overview), make sure to create a project and follow their setup. Your redirect URI is `https://[domain].[tld]/api/auth/callback/google`.\n- `AUTH_SLACK_ID` and `AUTH_SLACK_SECRET`: Optional, a Slack OAuth ID and Secret. Just like above, this enables Slack login. You can create a Slack app and add it's ID and secret here. No links are provided, as it's a complicated process to set up. Your redirect URL is `https://[domain].[tld]/api/auth/callback/slack`.\n2. You can use either of the below methods to quickly deploy.\n**Make sure to fill in the empty quotation marks with the environment variables from step 1!**\nAlso, optional variables are commented out, but you can uncomment them to use them.\n#### With Docker Compose\nCopy the following Compose file to your server or computer, and name it `compose.yaml`:\n```yaml\nservices:\n  writers-block:\n    image: ghcr.io/aelithron/writers-block:latest\n    container_name: writers-block\n    restart: unless-stopped\n    environment:\n      MONGODB_URI: \"\"\n      MONGODB_DB: \"\"\n      AUTH_SECRET: \"\"\n      AUTH_URL: \"\"\n      AUTH_GOOGLE_ID: \"\"\n      AUTH_GOOGLE_SECRET: \"\"\n      # AUTH_SLACK_ID: \"\"\n      # AUTH_SLACK_SECRET: \"\"\n    ports:\n      - 3000:3000\n```\nThen, simply run `docker compose up -d` in the directory of the file!\n#### With `docker run`\nRun the following command on your server or computer:\n```bash\ndocker run -d \\\n  --name writers-block \\\n  -p 3000:3000 \\\n  -e MONGODB_URI=\"\" \\\n  -e MONGODB_DB=\"\" \\\n  -e AUTH_SECRET=\"\" \\\n  -e AUTH_URL=\"\" \\\n  -e AUTH_GOOGLE_ID=\"\" \\\n  -e AUTH_GOOGLE_SECRET=\"\" \\\n  # -e AUTH_SLACK_ID=\"\" \\\n  # -e AUTH_SLACK_SECRET=\"\" \\\n  --restart unless-stopped \\\n  ghcr.io/aelithron/writers-block:latest\n```\n- Note: If you want to use something else (like Kubernetes), the Docker image can be found on the Packages tab (or simply pulled as `ghcr.io/aelithron/writers-block:latest`). Make sure to include the environment variables!\n## Screenshot\n![IMG](https://hc-cdn.hel1.your-objectstorage.com/s/v3/2a989c0ab0f52b07fda955b895e9c64869677e5f_image.png)\n## Extra Notes\nThe name \"Writer's Block\" is both based on the idea this app could help you get over actual writer's block, as well as that it's got most/all the tools a writer needs (as in, kinda like the equivalent to a corner store on an irl city block).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faelithron%2Fwriters-block","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faelithron%2Fwriters-block","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faelithron%2Fwriters-block/lists"}