{"id":31562628,"url":"https://github.com/rybla/forohtoo","last_synced_at":"2025-10-05T04:48:18.411Z","repository":{"id":310224429,"uuid":"1039113410","full_name":"rybla/forohtoo","owner":"rybla","description":"A blogging platform that uses x402 to faciliate paid content.","archived":false,"fork":false,"pushed_at":"2025-08-16T16:42:22.000Z","size":7854,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-16T17:18:17.400Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rybla.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2025-08-16T14:06:11.000Z","updated_at":"2025-08-16T16:42:25.000Z","dependencies_parsed_at":"2025-08-16T17:28:22.664Z","dependency_job_id":null,"html_url":"https://github.com/rybla/forohtoo","commit_stats":null,"previous_names":["rybla/forohtoo"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/rybla/forohtoo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rybla%2Fforohtoo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rybla%2Fforohtoo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rybla%2Fforohtoo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rybla%2Fforohtoo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rybla","download_url":"https://codeload.github.com/rybla/forohtoo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rybla%2Fforohtoo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278411261,"owners_count":25982367,"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","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"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":[],"created_at":"2025-10-05T04:48:17.157Z","updated_at":"2025-10-05T04:48:18.406Z","avatar_url":"https://github.com/rybla.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# forohtoo\n\nThis project is a blogging system for a blogger to host a blog that can request payment in order to view certain posts (which are referred to as _paid_ posts).\n\nThis project is a monorepo that has 3 packages (all in the `packages` directory).\n\n- `forohtoo-common`: A collection of all common types, constants, and other definitions that are used in across other packages.\n- `forohtoo-blog`: A personal blog webapp that reads the posts from Markdown files from the `input` directory. A post can be either _free_ (if it is in the `input/free/post` directory) or _paid_ (if it is in the `input/paid/post` directory). If a post is _paid_, then requesting that post will return a `402` HTTP response, which requires the user to pay an amount in USDC to the blogger's wallet in order to view the post. This is facilitated by the imported \"@coinbase/x402\", \"x402-fetch\", and \"x402-next\" libraries.\n- `forohtoo-dashboard`: A personal dashboard that presents information about the blogger's wallet history relating to transactions that were sent in response to the `402` HTTP responses for viewing posts in the blog. Basically, this is a way for the blogger to view when and how much people are paying to read the paid posts.\n\n## Development\n\nTo run a development server that hosts the `forohtoo-blog`:\n\n```sh\nbun run --filter \"forohtoo-blog\" dev\n```\n\nTo run a development server that hosts the `forohtoo-dashboard`:\n\n```sh\nbun run --filter \"forohtoo-dashboard\" dev\n```\n\n## Building\n\nTo build all packages:\n\n```sh\nbun run --filter \"*\" build\n```\n\n## Notes for Contributors\n\n### Committing\n\nBefore **every** commit, make sure that running the script `build-check.sh` succeeds witout any warnings or errors.\n\n```sh\n./build-check.sh\n```\n\nAny errors or warnings that are generated from running `build-check.sh` **must** be addressed before commiting changes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frybla%2Fforohtoo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frybla%2Fforohtoo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frybla%2Fforohtoo/lists"}