Skip to content
CAI
Software that uses CAICheck a score

danielbergholz/techschool.dev

51.2

Adequate · 15 November 2026

5.4k

lines of production code

Elixir

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

TechSchool is a multilingual educational platform built with Phoenix LiveView that catalogs and searches for online courses and bootcamps. It provides users with rich filtering capabilities, infinite scroll navigation, and real-time online user tracking. The system supports internationalization for English and Portuguese, leveraging modern Elixir tooling and a Fly.io deployment infrastructure.

How it got here

2023 — Initial scaffolding and core feature implementation

23 changes.

The project was initialized with infrastructure and upgraded to modern Elixir and Phoenix versions, establishing the foundation for the TechSchool platform. Core features were implemented, including a localized, multi-language interface, bootcamp and course management contexts, and real-time online user tracking. The application also introduced advanced UI capabilities such as infinite scrolling, dynamic iconography, and comprehensive internationalization support.

2024 — LiveView migration and deployment setup

12 changes.

The project migrated key interfaces to LiveView, introducing real-time online user tracking, dynamic course search with infinite scroll, and dedicated bootcamp listing pages. This frontend overhaul was accompanied by a redesigned homepage and the addition of Fly.io deployment configuration to support production releases.

Features

Added Portuguese (pt) locale translations

Users can now see the application interface in Portuguese. This change introduces the initial \pt\ locale files (\default.po\ and \errors.po\) containing translations for key UI elements such as the homepage mission statement, course and bootcamp navigation, search filters, and time-relative labels (e.g., "ago", "new"). Note that error message translations are currently empty placeholders.

priv/gettext/pt · high confidence

Infinite scroll support added to LiveView via new hook

The application now supports infinite scrolling on pages that utilize the new \InfiniteScroll\ LiveView hook. This hook uses an IntersectionObserver to detect when a target element enters the viewport and automatically pushes an \infinite\_scroll\ event to the server, replacing the need for manual 'Load More' button interactions. The change also configures the LiveSocket to register this hook and includes minor formatting adjustments to the JavaScript file.

assets/js · high confidence

Initial English localization for TechSchool interface

The application now includes a default English translation file (default.po) for the TechSchool platform, enabling proper internationalization support. This file provides the English source strings for key UI elements, including the homepage mission statement, course and bootcamp search filters, navigation labels, and dynamic content such as relative time stamps (e.g., '2 hours ago') and contributor acknowledgments. While the English strings serve as the base for the application's text, the file also contains specific translations for other languages (such as Portuguese for the 'Translate' button), ensuring that the interface is ready for multi-language rendering.

priv/gettext/en · high confidence

Initial extraction of user-facing strings for internationalization

The application now includes a generated \default.pot\ template file containing extracted user-facing strings from the web interface, including navigation labels, course search filters, bootcamp descriptions, and UI components. This establishes the foundation for translating the platform into other languages, while the existing \errors.pot\ file was cleaned up to remove an unnecessary blank line.

priv/gettext · high confidence

Initial project scaffolding and deployment configuration

The repository has been initialized with the core application structure, including a Dockerfile configured for Elixir 1.20 and OTP 29 on Ubuntu Noble, and a fly.toml file setting up the 'techschool' application on Fly.io with a shared-cpu-1x VM. This change introduces the necessary infrastructure for building and deploying the Phoenix application, along with standard development tooling such as .tool-versions for asdf, a .dockerignore file to optimize build contexts, and updated documentation in README.md.

(repo-wide) · high confidence

New SetLocale plug for URL-based locale detection

A new \SetLocale\ plug has been added to the web layer to automatically determine the user's locale from the URL path parameters or existing cookies. When a valid locale is detected, it is assigned to the connection, stored in the session, and persisted in a cookie for one year; if no valid locale is found, the system defaults to the configured default locale. This change centralizes locale resolution logic within the plug, ensuring consistent locale handling across requests.

_lib/techschool\web/plugs · high confidence

New bootcamp and lesson card components

Added \bootcamp\_card\ and \lesson\_card\ HEEx components to display bootcamp and lesson details in a responsive card layout. These components render localized descriptions (English or Portuguese), use custom icons, and include navigation links to the respective bootcamp or lesson pages. The lesson card also supports an optional label for non-mandatory lessons.

_lib/techschool\_web/live/bootcamp\live/components · high confidence

New bootcamp listing and detail pages

Users can now browse all available bootcamps on a dedicated index page and view detailed information for each bootcamp via a new slug-based route (/bootcamps/:slug). The detail page displays the bootcamp's description, icon, and a list of associated lessons, and includes a call-to-action link to Course Shelf for further exploration.

_lib/techschool\_web/live/bootcamp\live · high confidence

New bootcamps, channels, and structured course search capabilities

This update introduces several new data contexts and search features. The Bootcamps context allows for the creation and management of bootcamps, including their association with lessons. The Channels context manages YouTube channels, providing a virtual URL field for easy access. Course search has been significantly enhanced with the ability to filter by language, framework, tool, and fundamentals, with results ordered by locale preference and publication date. Additionally, the application now includes a GitHub module to fetch contributors with caching, and a YouTube API client to fetch course and channel details. Seed helpers have been updated to support these new contexts, and the application now starts Cachex for caching and Presence for real-time features.

lib/techschool · high confidence

New course and platform card components with enhanced search filters

The course listing interface now uses new HEEx components for displaying individual courses and platforms. The course card component displays the course name, channel, view count, and a 'new' badge for recent additions, while replacing country flag images with emojis for localization. The platform card component shows platform details with language-specific descriptions. Additionally, a new search component has been added to the courses page, providing filter dropdowns for fundamentals, programming language, framework, and tool to help users narrow down course selections.

_lib/techschool\_web/live/course\live/components · high confidence

Behavioural changes

Added Fly.io deployment configuration and release scripts

The application now includes specific configuration and scripts to support deployment on Fly.io. The \rel/env.sh.eex\ file configures the Erlang runtime for distributed nodes over IPv6 and sets up DNS clustering using Fly's internal network. Additionally, new shell and batch scripts (\migrate\, \seed\, \server\) have been added to the release overlays to handle database migrations, data seeding, and starting the Phoenix server in a production release context.

rel · high confidence

Courses page now uses LiveView with search, filters, and infinite scroll

The courses listing has been converted to a LiveView component, replacing the previous static or non-live implementation. Users can now search for courses and filter by language, framework, tool, and fundamentals, with results updating dynamically via URL parameters. The page supports infinite scrolling to load more courses without manual pagination, and includes a 'new' badge for recently added courses. The view count for each course is incremented when clicked, and the interface displays localized messages for empty states and loading indicators.

_lib/techschool\_web/live/course\live · high confidence

Database schema overhaul: icon names replace image URLs and view counts added

The database schema has been updated to support a new icon-based visual system and course analytics. The \image\_url\ column has been removed from the \bootcamps\, \frameworks\, \fundamentals\, \languages\, \lessons\, and \tools\ tables and replaced with an \icon\_name\ string column, enabling the use of inline SVGs instead of external images. Additionally, a \view\_count\ integer field (defaulting to 0) has been added to the \courses\ table to track usage, and the \channels\ table now uses \youtube\_channel\_id\ for unique identification.

priv/repo/migrations · high confidence

Enable local seed helper execution

The seed script now invokes the \Techschool.Helpers.SeedLocal\ module, allowing users to run local seeding operations directly from the script.

priv/repo · high confidence

Home page content and structure updated

The home page template has been rewritten with new marketing copy, updated SVG graphics, and revised link destinations (including links to the Phoenix changelog and community channels). The previous static content has been replaced to reflect current branding and documentation links.

_lib/techschool\_web/controllers/page\html · high confidence

Home page redirects to localized routes

Visiting the root URL now redirects to a locale-specific path (e.g., /en) instead of rendering a static home page directly. The previous PageController that rendered the home view without a layout has been replaced with a simple redirect logic, and the associated PageHTML view module has been removed, indicating a shift away from the traditional controller/template approach for the home page.

_lib/techschool\web/controllers · high confidence

The homepage layout components have been updated to improve navigation and presentation. A new footer component now displays the developer credit (Daniel Bergholz) without the previous GitHub link. A programming languages grid component has been added, providing clickable filters for technologies like Go, Elixir, Python, Ruby, React, Node, Laravel, Postgres, Phoenix, and Ash, along with a 'Much more' link. Additionally, a new translate button component replaces previous country images with flag emojis (🇧🇷, 🇺🇸) to toggle between Portuguese and English locales.

_lib/techschool\_web/live/page\live/components · high confidence

Live View routing, online user tracking, and i18n improvements

The application now supports Live View for the home page, courses listing, and bootcamp details, with routes scoped by locale (e.g., /:locale). A new online users counter module leverages Phoenix Presence to track and display the number of active users. Internationalization is improved by switching the Gettext backend to use Gettext.Backend and adding a SetLocale plug to the router. Additionally, the LiveView socket endpoint now supports longpolling, and the Tidewave plug is conditionally added if loaded.

_lib/techschool\web · high confidence

LiveView helper functions and static asset updates

The application now includes a sitemap.xml file in the served static assets, making it available to crawlers. For developers building LiveViews, the techschool\_web.ex module now provides convenience helper functions ok/1 and noreply/1 to simplify socket return values. Additionally, the module now automatically mounts the RestoreLocale and OnlineUsersCounter hooks for all LiveViews, ensuring consistent locale restoration and user counting behavior across the application.

lib · high confidence

LiveView hooks for online user tracking and locale restoration

The application now uses dedicated LiveView hooks to manage state on mount. A new OnlineUsersCounter hook automatically subscribes to pub-sub events and assigns the current count of online users to the socket, ensuring the UI reflects real-time activity. Additionally, a RestoreLocale hook replaces the previous plug-based approach by reading the locale from the session (or using a default) and setting it via Gettext during the LiveView mount phase, ensuring consistent language handling across live views.

_lib/techschool\web/hooks · high confidence

The site navigation has been extracted into a dedicated LiveView component (NavbarLive) to enable real-time updates, specifically for the online user count which now subscribes to PubSub events. The navigation structure has been updated to include a new 'Bootcamps' link alongside 'Courses', and the visual style for links has changed to use underline decorations on hover instead of color changes. Additionally, the navigation now supports locale-based routing paths.

_lib/techschool\web/components/layouts/components · high confidence

New global styles, gradient utilities, and floating animations

The application now uses the 'Plus Jakarta Sans' font family with a dark theme (black background, white text). New CSS variables define core colors and a purple-to-pink gradient. Users can now use \.gradient-container\ and \.gradient-item\ classes for styled containers with gradient borders. Tailwind utility classes \.container-l1\, \.container-l2\, and \.container-l3\ provide specific responsive widths. Additionally, new animation classes \.animate-float\, \.animate-float-slow\, and \.animate-float-delayed\ are available for floating effects.

assets/css · high confidence

New online users indicator and HEEx template migration

The application now displays a live count of online users in the layout's navbar, featuring a green pulsing indicator and localized text (e.g., "1 user online"). This change also migrates the component templates from the legacy \\<%= %\>\ syntax to the new HEEx \{}\ interpolation, ensuring consistent rendering across core components like forms, buttons, and modals.

_lib/techschool\web/components · high confidence

The homepage has been restructured to display key platform statistics, including total courses, bootcamps, and views, along with a 'last updated' timestamp. A new section highlights social media links for Discord, GitHub, Sponsorship, and Analytics, while the hero area now features a 'Course Shelf' call-to-action banner and floating programming language icons. The page also includes a mission statement section and uses async assignment to fetch GitHub contributors data.

_lib/techschool\_web/live/page\live · high confidence

Redesigned site layout with SEO, analytics, and dynamic branding

The application's visual structure and metadata have been significantly updated. The app layout now uses a sticky black header that renders a new \navbar\ component, replacing the previous static header with version info and external links; this navbar dynamically displays the page title, locale, and online user count. The root layout has been enhanced for search engine optimization and social sharing by adding comprehensive Open Graph and Twitter meta tags, a canonical link, and a dynamic HTML language attribute based on the current locale. Additionally, the site now uses the 'Plus Jakarta Sans' font with optimized loading strategies, includes Plausible analytics for traffic tracking, and updates the default page title suffix to 'TechSchool'.

_lib/techschool\web/components/layouts · high confidence

Switches HTTP adapter to Bandit and updates build tool defaults

The application's HTTP server adapter has been changed from Cowboy2 to Bandit, requiring updated documentation references in the production configuration. Build tool configurations for esbuild and Tailwind CSS have been renamed from the generic 'default' profile to 'techschool', and Tailwind CSS has been upgraded from version 3.3.2 to 3.4.0. Additionally, the default locale for internationalization is now set to 'en', and the test environment's database connection pool size is dynamically calculated based on the number of online schedulers rather than a fixed size of 5.

config · high confidence

Tailwind configuration updates for CSS variables, background patterns, and Heroicon sizing

The Tailwind configuration has been updated to replace hardcoded brand colors with CSS custom properties (gray, green, black, white) and to add a new 'pattern' background image sourced from a CDN. Additionally, the Heroicon plugin now supports a new '-micro' icon size variant and dynamically adjusts icon dimensions based on the specific variant (micro, mini, or default), ensuring consistent sizing across different icon scales.

assets · high confidence

Test coverage

Added JSON validation test helper; Added LiveView tests for bootcamp, course, and home pages; Added test coverage for Techschool data models and JSON validation; Added test fixtures for new domain entities; Added tests for the OnlineUsers component; Added tests for the online users counter; Updated page controller tests to verify locale-based redirection.

Dependencies

Major dependency upgrades and new tooling in mix.exs

The project's dependency manifest has been significantly updated: Elixir is upgraded to version 1.20, Phoenix to 1.8, Phoenix Live View to 1.1, and Phoenix HTML to 4.0. The web server adapter has switched from Plug Cowboy to Bandit. New dependencies added include \cachex\ for caching, \req\ for HTTP requests, \credo\ for linting, \igniter\ for code generation, \lazy\_html\ for testing, and \tidewave\ for development. Additionally, \heroicons\ are now pulled directly from the Tailwind Labs GitHub repository (tag v2.2.0) rather than as a hex package, and several other core libraries like \gettext\, \telemetry\_metrics\, \finch\, and \ecto\ have been bumped to their latest major or minor versions.

(dependencies) · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 48 → 51 (+3.6)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 99 → 94 (-5.4)
  • Architecture 95 → 95 (-0.1)
  • Maturity 57 → 59 (+1.7)
  • Readiness 40 → 44 (+4.4)
  • Security 46 → 46 (+0.2)
  • Accessibility 49 → 61 (+12.2)

Resolved (5)

  • Leaked secret: high-entropy-secret (config/dev.exs)
  • Leaked secret: high-entropy-secret (config/test.exs)
  • Leaked secret: signing-key (config/dev.exs)
  • Leaked secret: signing-key (config/test.exs)
  • No ADRs found

New (13)

  • Edited copies of one member (3 members, 4+ corresponding lines) (lib/techschool/helpers/re_seed.ex)
  • Edited copies of one member (3 members, 4+ corresponding lines) (lib/techschool/helpers/re_seed.ex)
  • Edited copies of one member (3 members, 4+ corresponding lines) (lib/techschool/helpers/re_seed.ex)
  • Edited copies of one member (3 members, 4+ corresponding lines) (lib/techschool/helpers/re_seed.ex)
  • Edited copies of one member (3 members, 4+ corresponding lines) (lib/techschool/helpers/re_seed.ex)
  • Edited copy of a member (13 corresponding lines) (lib/techschool/helpers/re_seed.ex)
  • Edited copy of a member (17 corresponding lines) (lib/techschool/courses/course.ex)
  • Edited copy of a member (23 corresponding lines) (lib/techschool/helpers/re_seed.ex)
  • Edited copy of a member (54 corresponding lines) (lib/techschool/courses.ex)
  • Edited copy of a member (7 corresponding lines) (lib/techschool/helpers/re_seed.ex)
  • Edited copy of a member (9 corresponding lines) (lib/techschool/helpers/seed.ex)
  • Medium CVE: EEF-[CVE redacted] (mix.lock)
  • No ADRs found (fly.toml)

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

danielbergholz/techschool.dev was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 15 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 71c287938c300cd97692c3c05369d53c4f14233b — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-3c33c1882dc1.