+
Skip to content

blstrco/linkapp-docs

Repository files navigation

LinkApp SDK Documentation

Welcome to the comprehensive documentation for Linktree's LinkApp SDK! This repository contains all the information you need to develop, test, and publish custom Link Apps for the Linktree platform.

📚 Documentation Index

Getting Started

  • Getting Started - Complete setup guide, prerequisites, authentication, and your first Link App

Core Concepts

Development

Publishing

🚀 Quick Start

  1. Prerequisites: Ensure you have Node.js 14+, npm 7+, and a code editor
  2. Get Access: Contact your Technical Support Person (TSP) with your NPM username and Linktree account
  3. Create Project: Run npm init @linktr.ee/link-app your-app-name
  4. Develop: Build your Link App using the SDK components and guidelines
  5. Test: Add your Link App to your authorized Linktree profile for testing
  6. Submit: Contact your TSP when ready for review

🛠 Development Resources

SDK Components

The SDK provides a comprehensive set of React components:

  • Layout: Container, Header, GroupedList
  • Media: Image, Video, Embed, Carousel
  • Interactive: Links, LinkList, DateWidget
  • Content: Text, Pill, MediaDetails, Icon

Configuration Files

  • manifest.json: App metadata, author info, and marketplace details
  • settings.json: User-configurable form fields and validation
  • package.json: Dependencies and build scripts

Key Features

  • Mobile-First: All components are optimized for mobile devices
  • Accessibility: Built-in accessibility features and best practices
  • Performance: Optimized loading and rendering
  • TypeScript: Full TypeScript support for better development experience

📋 Development Checklist

Before Development

  • NPM access granted by TSP
  • Linktree account authorized for testing
  • Link App name and ID decided
  • Development environment set up

During Development

  • Use SDK components for consistency
  • Follow mobile-first design principles
  • Implement proper error handling
  • Test across different devices and browsers
  • Optimize for performance

Before Submission

  • Complete functionality testing
  • Verify accessibility compliance
  • Optimize loading performance
  • Update all configuration files
  • Test with various user inputs

🔧 Common Commands

# Create new Link App
npm init @linktr.ee/link-app my-link-app

# Install dependencies
npm install

# Start development server
npm run dev

# Build for production
npm run build

# Upload to Linktree platform
npm run upload

# Authenticate with Linktree
npm run login

📖 Additional Resources

External Links

  • Linktree SDK Documentation - Official online documentation
  • Linktree Developer Portal (contact TSP for access)
  • SDK GitHub Repository (contact TSP for access)

Support

  • Technical Support Person (TSP): Your primary contact for development support
  • Community Forums: Connect with other Link App developers
  • Documentation Issues: Report documentation problems via your TSP

🎯 Best Practices

  1. User Experience First: Design for your users, not just functionality
  2. Mobile Optimization: Ensure excellent mobile experience
  3. Performance Matters: Optimize loading times and interactions
  4. Accessibility: Make your Link App usable by everyone
  5. Error Handling: Gracefully handle all error scenarios
  6. Testing: Test thoroughly before submission
  7. Documentation: Document your code and configuration clearly

📄 License and Terms

Link Apps developed using this SDK are subject to Linktree's terms of service and developer agreement. Please ensure your Link App complies with all platform guidelines and policies.


Ready to get started? Begin with the Getting Started guide to create your first Link App!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载