Skip to content
View angeloocana's full-sized avatar

Block or report angeloocana

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
angeloocana/README.md

angeloocana.com

Ângelo Ocanã's personal site: projects, career and hobbies, in English (/) and Portuguese (/pt). Built with Remix 3, prerendered to static files and hosted on Cloudflare.

Where things live

  • app/copy.ts: every word on the page, English and Portuguese side by side.
  • app/content/career.ts: the jobs (each one has an optional pt block).
  • app/content.ts: email and social links.
  • content/posts/: blog posts in Markdown, kept as first published. blog/x/y.en.md is served at /en/blog/x/y/, .pt.md at /pt/blog/x/y/. Add a file to publish a post.
  • app/content/clips.json: the home row's video clips. Curate them at http://localhost:44100/review while npm run dev runs: reject a clip, star it (★★★ opens the row), edit captions or move it to another category. Only live clips are built. Tools to cut clips are in scripts/clips/.
  • app/actions/home-page.tsx: the page. app/ui/public/ holds the small browser scripts (scroll scenes, career tabs, cursor).
  • public/styles/: the CSS. Screenshots and video loops are not in the repo: they live in ~/dev/angeloocana-media/media, and the live site serves them from a Cloudflare R2 bucket filled by npm run media:push (see AGENTS.md).

Commands

npm i
npm run dev        # http://localhost:44100, restarts on change
npm test
npm run typecheck
npm run build      # prerender to dist/
npm run preview    # build, then serve dist/ the way Cloudflare will
npm run deploy     # build and publish to Cloudflare (run `npx wrangler login` first)

The repo is public: keep secrets, .env files, raw media and personal data out of commits. The pre-commit hook in .githooks/ checks for them (git config core.hooksPath .githooks).

Pinned Loading

  1. tic-tac-toe-ai tic-tac-toe-ai Public

    HTML5 Canvas + Bitwise + Neural networks learning how to play tic tac toe

    JavaScript 32 9

  2. gatsby-plugin-i18n gatsby-plugin-i18n Public

    Multi language routes for Gatsby

    JavaScript 431 71

  3. angeloocana angeloocana Public

    i18n React static site generated with Gatsby. Learn Linux, js, graphql and much more at angeloocana.com

    TypeScript 32 18

  4. gatsby-starter-default-i18n gatsby-starter-default-i18n Public

    The default Gatsby i18n (Multilanguage) starter

    CSS 16 1

  5. ptz-assert ptz-assert Public

    ptz-assert is a wrapper for npm assert

    TypeScript 3 1

  6. joj-core joj-core Public

    JumpOverJump.com core library

    TypeScript 3