How I built RemoteMaroc, the job board for remote jobs open to Moroccans
The problem, the stack, the import pipeline that filters thousands of "remote" jobs, and what changed along the way.
By Hassan Ed-dyb · · 2 min read
Short answer: RemoteMaroc is a job board made only for remote jobs open to people in Morocco. I designed and built it end to end with Next.js, Supabase and Tailwind. It imports jobs every two hours from 8 public job feeds and about 200 company career pages, keeps only the ones Morocco can actually apply to, and lets foreign companies hire Moroccan talent directly.
The problem
Search "remote" on any big job board and most results are not open to Morocco. Many say remote, then limit the role to US residents or to EU work permits, sometimes only in the description. Moroccan candidates lose hours on jobs they can't take, and companies that do hire in Morocco have no dedicated place to find people.
The product
- —Candidates browse remote jobs open to Morocco and build a public talent profile.
- —Companies post jobs for free and browse talent profiles. RemoteMaroc only connects people: no contracts, no payments in the middle.
- —The whole site works in English, French and Spanish.
The stack
Next.js with TypeScript, Tailwind CSS and shadcn/ui on the front. Supabase for the Postgres database, authentication (Google, LinkedIn, email), file storage and full-text search. Resend for email. The import jobs run in a Supabase Edge Function triggered by pg_cron. The site runs on Cloudflare Workers.
The import pipeline
Each source gets its own small adapter that fetches jobs and converts them to one format. Everything then goes through a single shared pipeline: filter, remove duplicates, match a category, save. If one source changes its format or goes down, only its adapter breaks and the rest keep running.
- —Sources: public remote-job feeds plus the career pages of about 200 remote-first companies.
- —Location rule: keep a job only if it names Morocco, a region that includes Morocco, or worldwide. Skip a bare "Remote".
- —Time-zone rule: a job limited to time zones is kept only if Morocco's UTC+0 falls inside the range.
- —Description scan: jobs that hide "US residents only" or "EU work permit required" in the text are dropped.
- —Every imported job credits its source and sends the Apply button to the original page.
Privacy and security
Every database table uses row-level security that denies by default. Candidates' emails and CVs never appear in public pages; only signed-in companies can see them, within a daily cap.
Built for search and AI
Job pages carry JobPosting markup. A public stats page publishes the number of open jobs and typical salaries per field, refreshed every day, because original numbers are what search engines and AI assistants quote. Guides, FAQ markup, IndexNow and an llms.txt file do the rest.