142 Commits

Author SHA1 Message Date
Luke Hagar
c5331fa757 removing rate limit for now 2025-10-21 13:06:37 -05:00
Luke Hagar
9fda0058ea Refactor Redis command execution in hooks.server.ts to use the send method for improved performance. Remove unused clearAllCache function from api.ts to clean up the codebase. 2025-10-21 12:13:28 -05:00
Luke Hagar
c88f419b11 Refactor Redis client implementation in redis.ts to use Bun's RedisClient, improving connection management and error handling. Remove unused clearCache method from data-processor.ts to streamline code. 2025-10-21 00:06:17 -05:00
Luke Hagar
38aa9ae169 Add bun.lockb file and update docker-compose.yml to remove sensitive environment variables. Refactor package.json to reorganize dependencies and add Bun types. Modify tsconfig.json to include Bun types. Update Redis client implementation in redis.ts for improved error handling and connection management. 2025-10-20 23:45:50 -05:00
Luke Hagar
4239bbaaa3 Add GOOGLE_APPLICATION_CREDENTIALS_BASE64 environment variable to application service in docker-compose.yml for enhanced credential management. 2025-10-20 23:30:06 -05:00
Luke Hagar
ca3e5e8e18 Update application service port in docker-compose.yml from 2567 to 3000 for consistency with previous configurations. 2025-10-20 23:24:14 -05:00
Luke Hagar
1ea6fd22ab Add services to dokploy-network in docker-compose.yml for improved service communication 2025-10-20 23:19:52 -05:00
Luke Hagar
a5d7176de5 Update application service port in docker-compose.yml from 3000 to 2567 for improved configuration consistency. 2025-10-20 23:14:58 -05:00
Luke Hagar
28f485dedf Remove port mappings for PostgreSQL and Redis services in docker-compose.yml, and update application service port from 2965 to 3000 for consistency and improved configuration. 2025-10-20 23:13:41 -05:00
Luke Hagar
288ead0590 Update docker-compose.yml to specify port mappings for PostgreSQL, Redis, and the application service, ensuring proper access and configuration for each service. 2025-10-20 23:07:03 -05:00
Luke Hagar
4c21749c07 Update docker-compose.yml and Dockerfile to simplify port configuration by removing quotes around port numbers and reintroducing the EXPOSE directive for the application service. 2025-10-20 23:02:21 -05:00
Luke Hagar
2fb9526c09 Remove EXPOSE directive from Dockerfile to streamline container configuration, focusing on production environment settings. 2025-10-20 22:52:35 -05:00
Luke Hagar
4f16a830dd Update docker-compose.yml to standardize environment variable names for Postgres and Redis services. Remove README_DOCKER.md and admin dashboard components, streamlining the project structure and focusing on core functionalities. 2025-10-20 22:41:30 -05:00
Luke Hagar
6f98d8ab3f Refactor BigQuery credentials handling in DataProcessor to use base64 encoded credentials from environment variables. Update Dockerfile and docker-compose.yml to use Bun instead of Node.js, and remove pnpm configuration. Adjust health checks and commands for Redis and Postgres services in docker-compose.yml. 2025-10-19 21:56:34 -05:00
Luke Hagar
293f297804 Update sliding window rate limit to restrict requests per IP to 15 per minute, enhancing server resource management. 2025-08-29 16:11:10 -05:00
Luke Hagar
9be29f2375 Remove stats page from routes, eliminating the Plausible Analytics integration and associated UI components for site analytics. 2025-08-29 16:07:04 -05:00
Luke Hagar
96a452b19f Update endpoint URL in package page to use PyPI Stats API for accurate package data retrieval. 2025-08-29 16:01:42 -05:00
Luke Hagar
5550e9b4ba Update analytics script source in app.html and add new stats page with Plausible Analytics integration. The new page features a dashboard for public analytics, enhancing user engagement and data visibility. 2025-08-29 16:00:14 -05:00
Luke Hagar
0523bbe6cc Update package dependencies in package.json and pnpm-lock.yaml to latest versions for improved performance and security. Key updates include @prisma/client, @sveltejs/adapter-node, canvas, chart.js, redis, and various devDependencies. This ensures compatibility with the latest features and fixes. 2025-08-29 15:49:31 -05:00
Luke Hagar
128b923760 Add analytics tracking to API endpoints for improved event monitoring. Updated GET handlers across various routes to include tracking of successful and failed requests, enhancing data collection for package usage insights. 2025-08-29 15:46:54 -05:00
Luke Hagar
8d6c5c67a2 Refactor the About page layout to enhance UI consistency by updating list item structures and spacing for technology stack sections. Improved visual alignment and readability of frontend, backend, and infrastructure technologies. 2025-08-19 12:07:21 -05:00
Luke Hagar
76bd178815 Enhance the main and about pages with improved UI elements and detailed technology stack information. Added sections for API access, key features, and open source contributions, along with visual enhancements for better user engagement. 2025-08-19 11:59:02 -05:00
Luke Hagar
04173b8002 Refactor getPackageCount function to use overall download counts for more reliable package counting. Added error handling to return 0 in case of failures. 2025-08-19 11:50:29 -05:00
Luke Hagar
879aa69f52 Add server route to serve OpenAPI YAML file with appropriate headers and error handling 2025-08-14 21:46:48 -05:00
Luke Hagar
11d6b2fe96 Update API documentation iframe source and add static HTML file for PyPI Stats API Reference 2025-08-14 21:30:12 -05:00
Luke Hagar
faaa2a2b97 Remove unused dependencies from pnpm-lock.yaml to streamline package management and reduce bloat. This includes the removal of '@scalar/sveltekit', '@scalar/core', '@scalar/openapi-types', and 'nanoid' entries. 2025-08-14 20:18:29 -05:00
Luke Hagar
f4b060dae5 Add svelte-meta-tags for improved SEO and metadata management across multiple pages. Update package.json and pnpm-lock.yaml to include svelte-meta-tags dependency. Clean up whitespace in API functions for better code readability. 2025-08-14 20:18:05 -05:00
Luke Hagar
a42d5a1d06 Refactor API data loading to utilize promises for streaming responses in SvelteKit. Update recent bounds calculation for date ranges and enhance loading indicators in package and search pages for improved user experience. 2025-08-14 16:59:15 -05:00
Luke Hagar
94c4c9ad06 Add tracking script for analytics on pypistats.dev 2025-08-14 16:41:17 -05:00
Luke Hagar
d5f14c6b72 Update OpenAPI server URL from localhost to pypistats.dev for production deployment. 2025-08-14 16:33:31 -05:00
Luke Hagar
2ae1919c6e Improve package tracking display by ensuring a count of '0' is shown when no packages are present. Refactor minor version breakdown logic to only display for known major versions, enhancing clarity in package details. 2025-08-14 16:28:44 -05:00
Luke Hagar
4de2c97390 Upgrade OpenAPI version to 3.1.0 and expand API documentation with additional query parameters and response formats. Remove deprecated cache, cron, and data processing endpoints for cleaner codebase. 2025-08-14 16:18:08 -05:00
Luke Hagar
749e6e4871 Update styles in package detail page to improve dark theme consistency, adjusting text colors and backgrounds for better readability. 2025-08-14 16:12:33 -05:00
Luke Hagar
11fad6ba12 Add chart data section to API documentation and improve layout consistency in package detail page 2025-08-14 16:07:50 -05:00
Luke Hagar
45d56b513f Refactor styles across multiple pages to implement a dark theme, enhancing readability and visual consistency. Update text colors and backgrounds in the main, about, API, FAQs, and package detail pages. 2025-08-14 15:49:05 -05:00
Luke Hagar
6b7e7b4fc5 Implement dark theme styles in app.css and update layout components for dark mode compatibility. Add API endpoint links with copy functionality in package page. 2025-08-14 15:34:05 -05:00
Luke Hagar
de7cc4090d troubleshooting secrets 2025-08-14 14:50:44 -05:00
Luke Hagar
8a19a483e4 Enhance Redis client connection logic to skip connection if REDIS_URL is not set, with a warning message for clarity. 2025-08-14 13:15:33 -05:00
Luke Hagar
51c86ba002 Enhance docker-compose.yml by adding Redis password configuration and updating healthcheck command to use the password environment variable. 2025-08-14 12:58:05 -05:00
Luke Hagar
e2e28271df Update package.json to reorder dependencies and ensure correct pnpm configuration for built dependencies. 2025-08-14 12:42:50 -05:00
Luke Hagar
1f567adc1c Fix Dockerfile to ensure correct pnpm version activation by specifying the version format. 2025-08-14 12:40:04 -05:00
Luke Hagar
d442c1de44 Update Dockerfile to use pnpm version 10.14.0 and modify build script to use vite for building the project 2025-08-14 12:32:33 -05:00
Luke Hagar
9dff72e756 Update Dockerfile to install all dependencies including devDependencies for build process 2025-08-14 12:12:52 -05:00
Luke Hagar
4d43969d2f Update Dockerfile and docker-compose.yml to streamline Prisma migration and build process 2025-08-14 12:06:27 -05:00
Luke Hagar
8fd9a4a8ea adding env var 2025-08-14 12:00:17 -05:00
Luke Hagar
69e40dabca Update healthcheck command in docker-compose.yml to use specific PostgreSQL user and database 2025-08-14 11:49:52 -05:00
Luke Hagar
afcb351a15 Add SERVICE_FQDN_WEB_3000 environment variable to docker-compose.yml for public URL generation 2025-08-14 11:36:53 -05:00
Luke Hagar
ed3d7dc489 Remove ENABLE_CRON environment variable from docker-compose.yml 2025-08-14 11:30:54 -05:00
Luke Hagar
8c8b0d06b7 Update docker-compose.yml to use environment variables for PostgreSQL and Redis passwords, and configure Google Cloud credentials. 2025-08-14 11:29:35 -05:00
Luke Hagar
ca7d86ed54 cleaning repo and saving update 2025-08-14 16:02:33 +00:00