Total Frontend Freedom: Custom HTML/CSS Canvas Powered by a Full Backend OS
Love custom frontend design or AI-generated UI code from Cursor and v0, but hate building backend auth, payment webhooks, and CRMs from scratch? Paste your raw HTML & CSS into HamroLink and wire it to live backend workflows in one attribute.
Why Rigid No-Code Templates Limit Growing Businesses
Drag-and-drop builders lock designers into prefabricated boxes. When a client needs an interactive tuition fee calculator, a 3D product showcase, or custom glassmorphism cards, traditional site makers break.
HamroLink combines the pixel-level freedom of raw HTML/CSS with an enterprise backend. Write or paste whatever frontend markup you want, and let our compiler handle hosting, SSL, database persistence, and payment processing.
Automatic PostCSS scoping guarantees that custom CSS rules never leak into or break your global headers, navigation menus, or mobile footers.
Direct Code-to-Preview Architecture
Frontend Flexibility Meets Full-Stack Backend Infrastructure
Freelancers, agency web designers, and technical founders in Nepal constantly encounter a painful trade-off:
- No-code builders (Wix, Shopify, Squarespace) make hosting and payment setups simple, but trap you in rigid visual templates. The moment a client requests custom micro-interactions, unique layout grids, dynamic pricing calculators, or bespoke animations generated via v0 or Cursor, no-code builders become frustrating dead ends.
- Full-stack coding (Next.js, Node.js, PostgreSQL, Docker, AWS) offers unlimited design freedom, but forces developers to spend weeks configuring authentication, SSL certs, database migrations, Amazon SES SMTP credentials, eSewa and Fonepay webhook signature verifications, and cPanel servers.
HamroLink's Custom HTML/CSS Studio resolves this dilemma with a hybrid architecture. You write or paste raw HTML, modern CSS, and component markups directly into your pages, while HamroLink supplies a complete enterprise backend—managed hosting, Cloudflare CDN, local payment checkouts, and a unified CRM—connected through simple declarative attributes.
Architectural Deep Dive: How the Compiler Operates
HamroLink bridges custom frontend design with full-stack backend capabilities through a three-stage automated compilation pipeline:
- 1. Raw Markup Ingestion: Author or paste raw HTML and CSS created by hand, exported from Figma, or generated via v0 and Cursor.
- 2. Security & AST Scoping: Automatically cleans HTML with DOMPurify to neutralize script vulnerabilities, while PostCSS AST parser scopes selectors (e.g.,
[data-hl-scope="..."]) to prevent CSS collisions with global site headers. - 3. Declarative Backend SDK (
data-hl-*):
- data-hl-contact routes inquiry forms straight into your lead CRM and dispatches email notifications.
- data-hl-checkout triggers native eSewa, Khalti, and Fonepay QR payment drawers with 0% commission.
- data-hl-whatsapp launches direct verified WhatsApp concierge conversations with customer context.
1. Hybrid Architecture: Pre-Built Templates + Raw Code Injections
You are never forced into an all-or-nothing choice:
- Modular Section Injection: Start with any production HamroLink template (such as an e-commerce catalog, restaurant menu, or study-abroad portal) and inject bespoke HTML/CSS sections at the beginning (
start) or end (end) of any page usingpage.add_section. - 100% Bespoke Canvases: Create entirely blank pages (
blank_html/custom) where every single HTML tag on the page is authored by you, while retaining the global navigation bar, shopping cart drawer, and mobile menu.
2. Automatic PostCSS Scoping & DOMPurify Security
Writing custom CSS on traditional platforms frequently causes devastating style collisions—a single generic class like .card or .btn can accidentally distort the site navigation, search bar, or checkout modal.
- PostCSS AST Selector Scoping: HamroLink's compiler parses your CSS through an abstract syntax tree (AST) and automatically prefixes every selector with a unique section-scoped data attribute (e.g.,
[data-hl-scope="hl-sec-9482"] .card). Your custom CSS is physically incapable of breaking global navigation menus or checkout modals. - DOMPurify Sanitization: Markup is sanitized against a rigorous security whitelist. Unsafe script execution vectors are blocked, while modern CSS animations, SVG illustrations, responsive grids, and CSS flex layouts are preserved with 100% fidelity.
3. Declarative Backend SDK (`data-hl-*` Attributes & Theme Tokens)
Connecting frontend code to backend servers usually requires writing custom REST APIs, CORS middleware, and form handlers. In HamroLink, you connect raw HTML elements to backend pipelines simply by adding declarative HTML attributes:
<!-- Custom Inquiry Form wired straight to HamroLink Lead CRM -->
<form data-hl-contact data-hl-notify="whatsapp" class="consulting-card">
<input type="text" name="name" placeholder="Student Full Name" required />
<input type="tel" name="phone" placeholder="WhatsApp Number" required />
<select name="target_country">
<option value="Australia">Australia</option>
<option value="Japan">Japan</option>
<option value="Canada">Canada</option>
</select>
<button type="submit" class="submit-btn">Book Free Counseling</button>
</form>
<!-- Custom Buy Button triggering Instant Fonepay/eSewa Drawer -->
<button data-hl-checkout="prod_winter_jacket_xl" class="buy-now-btn">
Buy Now — NPR 3,200 (eSewa / Fonepay QR)
</button>- Automatic Design Token Inheritance: Custom sections automatically inherit your site's global theme tokens via CSS variables (
var(--hl-primary),var(--hl-secondary),var(--hl-accent),var(--hl-font)). If you update your brand color from indigo to emerald usingsite.update_theme, your custom HTML components adapt immediately.
Freelancer & Agency Economics: Build NPR 80,000 Websites in Hours
Web agencies and freelancers in Kathmandu, Pokhara, and Chitwan frequently struggle with unprofitable client projects:
| Traditional Agency Workflow | HamroLink Custom HTML/CSS Engine |
|---|---|
| Buy cPanel hosting (NPR 6,000/yr) + domain (Mercantile DNS delays) | Instant cloud hosting included with free .com.np DNS routing |
| Install 25 bloated WordPress plugins that break on update | 0 plugins: eSewa, Khalti, CRM, and forms built-in |
| Code custom PHP mailers and payment webhook verification | Declarative data-hl-* attributes link forms to CRM in seconds |
| Client calls constantly for small text and price changes | Client edits text via visual UI; developer locks custom layout code |
| Development Time: 3 to 6 weeks | Development Time: 2 to 4 hours |
| Total Client Price: NPR 50,000 – 100,000 | Client Cost: NPR 199 – 399 / month platform plan |
Deliver a tailored, agency-grade digital experience in an afternoon, bill your client for professional design and strategy, and let HamroLink maintain the servers and payment rails forever.
Ready to power your business with this capability?
Launch your website, connect eSewa and Fonepay QR payments, and automate customer pipelines in under 5 minutes.