The AWS Serverless Application Model (SAM) Transformer is a Python library that converts SAM templates into AWS CloudFormation templates. It serves as the core transformation engine for the AWS SAM CLI, enabling developers to define serverless applications using SAM syntax that gets expanded to standard CloudFormation resources. The system follows a modular architecture with distinct layers for parsing, validation, transformation, and resource generation, featuring an extensible plugin system for adding custom transformation logic. Key capabilities include intrinsic function resolution (!Ref, !GetAtt, !Sub), globals and conditions processing, policy template expansion, and resource-specific transformations for AWS services like Lambda, API Gateway, Step Functions, and more.
MiSub is a comprehensive subscription management tool for proxy/VPN services built with Vue 3 frontend and Cloudflare Pages Functions backend. It allows users to aggregate multiple subscription links, apply transformations (filtering, renaming, deduplication, sorting), and generate configuration files for various proxy clients (Clash, Sing-Box, Surge, Loon, QuanX, Egern). The application features a web interface for managing subscriptions, manual nodes, and profiles, backup/restore functionality (WebDAV/local), Telegram notifications, and an External Management API for programmatic control. The architecture follows a modular design with clear separation between frontend (Vue 3/Pinia/Vue Router), backend (Cloudflare Pages Functions), and storage (KV/D1 abstraction layer). Key innovations include visual operator chains for node processing, template-based configuration generation, and sophisticated caching mechanisms.