Giter Site home page Giter Site logo

leafy-sheet's Introduction

Leafy

Leafy is an easy-to-use template designed to turn your google spreadsheet into a styled, sortable table on a website.

Leafy example screenshot Screenshot of example Leafy page

  • Built on Tabletop.js, which lets you use google spreadsheet as your backend database.
  • Use the spread sheet to generate a sortable list on your website.
  • Sort the list through customized categories. Tag items in your spreadsheet with multiple categories.

Leafy is made for educators and organizers, with the intention of small - large scale collaborations. Build an ongoing list of readings, resources, to-dos, etc and distribute your content to the greater community. Making edits to the spreadsheet will automatically post these changes to your Leafy site.

Examples built with Leafy

Basic minimal example

Weird Game-Making Tools, contributed by @lee2sman

Thesis during COVID, multiple contributors

Open source, experimental, and tiny tools roundup, multiple contributors, compiled by @everestpipkin

Getting Started

Set up a google spreadsheet

  1. Visit the google spreadsheet template I've created here. Duplicate the spreadsheet and save it into your own google drive.
  2. Edit the spreadsheet with your own data. You can expand or delete the number of categories. Enter URLs under the Link column, or you could also leave it empty.
  3. Visit Tabletop.js' README, scroll down to Getting Started, and follow the instructions inside the 1) Publishing your Google Sheet section.

Put spreadsheet on a website

We're ready to connect the spreadsheet to our website. From here you could move forward by remixing the Leafy template hosted on Glitch, or you could also download the repository and work locally.

Now go to script.js, and look at the top section where it says editable info:

  1. const publicSpreadsheetUrl replace this with your own spreadsheet URL.
  2. const categoryStartNum let the program know where the categoy begins on the spreadsheet column. Default value is 3.
  3. const sheetName this has to match the name of your sheet. Default value is "Sheet 1".
  4. const punctuation this changes the punctuation between the title and the description.
  5. That's it!

Leafy animation

Notes

  • This template doesn't support multiple sheets

leafy-sheet's People

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.