├── .dockerignore ├── .gitignore ├── .pre-commit-config.yaml ├── Dockerfile ├── Dockerfile-cloudflare ├── LICENSE.md ├── README.md ├── backend ├── .env.example ├── archive │ ├── flask_app.py │ ├── flask_requirements.txt │ └── search.py ├── config.py ├── fastapi_app.py ├── models.py ├── query_cache.py ├── rate_limiter.py ├── requirements.txt ├── ruff.toml └── search.py ├── deployment ├── cloudflare │ ├── README.md │ ├── index.ts │ ├── justfile │ ├── package.json │ ├── tsconfig.json │ └── wrangler.toml └── fly │ ├── fly.toml │ └── justfile ├── docker ├── entrypoint.sh ├── groq_test.py ├── nginx.conf └── start_server.sh ├── frontend ├── .env.cloudflare-local ├── .env.cloudflare-prod ├── .env.development ├── .env.production.example ├── .env.staging ├── .eslint-baseline.json ├── .gitignore ├── package-lock.json ├── package.json ├── public │ ├── favicon.ico │ ├── fonts │ │ ├── b-mono.woff2 │ │ ├── fk-gr-neue.woff2 │ │ └── fk-gr.woff2 │ ├── images │ │ ├── arrow_submit.svg │ │ ├── earth-blue.svg │ │ ├── github_logo.png │ │ ├── logo-blue.svg │ │ ├── logo-color.svg │ │ ├── logo-white.svg │ │ ├── results-loader.svg │ │ └── sources-icon.svg │ ├── index.html │ ├── manifest.json │ └── robots.txt ├── src │ ├── App.css │ ├── App.js │ ├── constants.js │ ├── defaults.js │ ├── index.css │ ├── index.js │ └── reportWebVitals.js └── tailwind.config.js └── justfile /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/.dockerignore -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/Dockerfile -------------------------------------------------------------------------------- /Dockerfile-cloudflare: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/Dockerfile-cloudflare -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/README.md -------------------------------------------------------------------------------- /backend/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/backend/.env.example -------------------------------------------------------------------------------- /backend/archive/flask_app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/backend/archive/flask_app.py -------------------------------------------------------------------------------- /backend/archive/flask_requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/backend/archive/flask_requirements.txt -------------------------------------------------------------------------------- /backend/archive/search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/backend/archive/search.py -------------------------------------------------------------------------------- /backend/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/backend/config.py -------------------------------------------------------------------------------- /backend/fastapi_app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/backend/fastapi_app.py -------------------------------------------------------------------------------- /backend/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/backend/models.py -------------------------------------------------------------------------------- /backend/query_cache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/backend/query_cache.py -------------------------------------------------------------------------------- /backend/rate_limiter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/backend/rate_limiter.py -------------------------------------------------------------------------------- /backend/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/backend/requirements.txt -------------------------------------------------------------------------------- /backend/ruff.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/backend/ruff.toml -------------------------------------------------------------------------------- /backend/search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/backend/search.py -------------------------------------------------------------------------------- /deployment/cloudflare/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/deployment/cloudflare/README.md -------------------------------------------------------------------------------- /deployment/cloudflare/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/deployment/cloudflare/index.ts -------------------------------------------------------------------------------- /deployment/cloudflare/justfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/deployment/cloudflare/justfile -------------------------------------------------------------------------------- /deployment/cloudflare/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/deployment/cloudflare/package.json -------------------------------------------------------------------------------- /deployment/cloudflare/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/deployment/cloudflare/tsconfig.json -------------------------------------------------------------------------------- /deployment/cloudflare/wrangler.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/deployment/cloudflare/wrangler.toml -------------------------------------------------------------------------------- /deployment/fly/fly.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/deployment/fly/fly.toml -------------------------------------------------------------------------------- /deployment/fly/justfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/deployment/fly/justfile -------------------------------------------------------------------------------- /docker/entrypoint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/docker/entrypoint.sh -------------------------------------------------------------------------------- /docker/groq_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/docker/groq_test.py -------------------------------------------------------------------------------- /docker/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/docker/nginx.conf -------------------------------------------------------------------------------- /docker/start_server.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/docker/start_server.sh -------------------------------------------------------------------------------- /frontend/.env.cloudflare-local: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/frontend/.env.cloudflare-local -------------------------------------------------------------------------------- /frontend/.env.cloudflare-prod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/frontend/.env.cloudflare-prod -------------------------------------------------------------------------------- /frontend/.env.development: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/frontend/.env.development -------------------------------------------------------------------------------- /frontend/.env.production.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/frontend/.env.production.example -------------------------------------------------------------------------------- /frontend/.env.staging: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/frontend/.env.staging -------------------------------------------------------------------------------- /frontend/.eslint-baseline.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/frontend/.eslint-baseline.json -------------------------------------------------------------------------------- /frontend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/frontend/.gitignore -------------------------------------------------------------------------------- /frontend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/frontend/package-lock.json -------------------------------------------------------------------------------- /frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/frontend/package.json -------------------------------------------------------------------------------- /frontend/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/frontend/public/favicon.ico -------------------------------------------------------------------------------- /frontend/public/fonts/b-mono.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/frontend/public/fonts/b-mono.woff2 -------------------------------------------------------------------------------- /frontend/public/fonts/fk-gr-neue.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/frontend/public/fonts/fk-gr-neue.woff2 -------------------------------------------------------------------------------- /frontend/public/fonts/fk-gr.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/frontend/public/fonts/fk-gr.woff2 -------------------------------------------------------------------------------- /frontend/public/images/arrow_submit.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/frontend/public/images/arrow_submit.svg -------------------------------------------------------------------------------- /frontend/public/images/earth-blue.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/frontend/public/images/earth-blue.svg -------------------------------------------------------------------------------- /frontend/public/images/github_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/frontend/public/images/github_logo.png -------------------------------------------------------------------------------- /frontend/public/images/logo-blue.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/frontend/public/images/logo-blue.svg -------------------------------------------------------------------------------- /frontend/public/images/logo-color.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/frontend/public/images/logo-color.svg -------------------------------------------------------------------------------- /frontend/public/images/logo-white.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/frontend/public/images/logo-white.svg -------------------------------------------------------------------------------- /frontend/public/images/results-loader.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/frontend/public/images/results-loader.svg -------------------------------------------------------------------------------- /frontend/public/images/sources-icon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/frontend/public/images/sources-icon.svg -------------------------------------------------------------------------------- /frontend/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/frontend/public/index.html -------------------------------------------------------------------------------- /frontend/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/frontend/public/manifest.json -------------------------------------------------------------------------------- /frontend/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/frontend/public/robots.txt -------------------------------------------------------------------------------- /frontend/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/frontend/src/App.css -------------------------------------------------------------------------------- /frontend/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/frontend/src/App.js -------------------------------------------------------------------------------- /frontend/src/constants.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/frontend/src/constants.js -------------------------------------------------------------------------------- /frontend/src/defaults.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/frontend/src/defaults.js -------------------------------------------------------------------------------- /frontend/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/frontend/src/index.css -------------------------------------------------------------------------------- /frontend/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/frontend/src/index.js -------------------------------------------------------------------------------- /frontend/src/reportWebVitals.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/frontend/src/reportWebVitals.js -------------------------------------------------------------------------------- /frontend/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/frontend/tailwind.config.js -------------------------------------------------------------------------------- /justfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/philfung/perplexed/HEAD/justfile --------------------------------------------------------------------------------