Skip to main content

Best Practices for Developers

Get the best out of your developer journey with Spectacles by following these guidelines and recommendations.

Start with Sample Projects

We highly encourage starting your Spectacles development journey with our sample projects. These projects showcase the capabilities of our APIs and the platform in general, providing you with practical examples and best practices.

Accessing Sample Projects

Sample projects can be consumed in two ways:

Lens Studio Home Page

Access samples directly from the Lens Studio interface to quickly get started with templates and examples.

GitHub Repository

Visit our specs-devs GitHub organization for comprehensive access to all our development resources.

Repository Structure

Our specs-devs GitHub organization includes three main categories of resources:


Project Structure Best Practices

These are guidelines to help maintain clean, organized, and maintainable projects.


Sensitive File Management

Protecting sensitive information in your projects is critical. Never commit tokens, API keys, passwords, or other credentials to Git repositories.


Collaborations on Git

Git collaboration for Lens Studio projects requires special consideration due to how scenes are managed.


Essential video tutorials for Spectacles development:

1. Introduction to Lens Studio

Get started with Lens Studio basics and interface overview

2. Building Your First Lens

Watch tutorial →

3. Connected Lenses

Watch tutorial →

4. UIKit Walkthrough

Watch tutorial →

6. Snap Cloud

Watch tutorial →

Visit our YouTube channel for more tutorials and updates.

Was this page helpful?
Yes
No