Skip to content
🎯 Creating DartPad Snippets Made Easy
Dart HTML Kotlin Swift Objective-C
Branch: master
Clone or download
Latest commit aab02b1 Feb 11, 2020
Type Name Latest commit message Commit time
Failed to load latest commit information.
dartpad_gen_cli added authtokens files Jan 19, 2020
dartpad_gen_gui added authtokens files Jan 19, 2020
dartpad_gen_vscode/dartpad-generator README updates Feb 10, 2020
readme-media README Changes Feb 10, 2020 fix typo Jan 26, 2020

Dartpad Generator

Built with ❤️ at DotSlash Hackathon


Creating Dartpad Snippets Made Easy 🎯


Teen Tigada Kaam Bigada


Developer Tool

Problem Statement

  • Dartpad is a service by Google to run Dart & Flutter code online (web app), without installing any special softwares.

  • If you want to share link to your awesome dartpad code then you've to create a Gist first. Then from the url of the gist, you need to copy id and append it to to share your dartpad code's link.

Proposed Solutions

🥁🥁 Introducing Dartpad Generator, to easily share Dartpad snippets without any hassles.

  • Dartpad Generator can be accessed via Mobile app, CommandLine App or VSCode Extension.
  • Underneath the hood it makes a POST HTTP call to gist API to generate sharable dartpad 🔗 and does the heavy lifting for you.
  • Built for Developers by Developers 💙



  • VSCode

  • CLI

  • Mobile

Dart/Flutter Dependencies

Development Setup

  • Clone This Repository

  • CLI App

    $ cd dartpad_gen_cli/
    $ pub get
    $ cd bin/
    $ dart2native main.dart -o dartpadgen.dart
    $ ./dartpadgen.dart file1.dart file2.dart ... [fileN.dart]
  • VSCode Extension

    $ cd dartpad_gen_vscode/dartpad-generator/
    $ npm install
    $ code .
    • Add Personal Access Token with gist scope here
    • Press F5 to Build
    • Open a Dart File
    • Press Ctrl + Shift + P > Dartpad Generator
  • Mobile App

    $ cd dartpad_gen_gui/
    $ flutter pub get
    $ flutter run


Feel free to contribute to the project by creating issues or sending pull-requests.

Getting Started

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

You can’t perform that action at this time.