MiNap Go is a standalone, ready-to-run version of MiNap with no additional technology required. A Google account is required to host the Apps Script web app and the Google Sheet it writes to.
MiNap Go is a browser-based sleep diary: participants tap Sleep and Wake, and each timestamped event is saved to a private, researcher-owned Google Sheet. It runs entirely as a single Google Apps Script web app, with no server, no database, and no code editing needed to deploy a new study.
Want to try it first? Check out the live demo before deploying your own copy.
- A Google account is required. Each study gets its own copy of MiNap Go, and data lives in the researcher's own Google Drive.
- Open the MiNap Go template sheet and click File > Make a copy to copy it to your own Google Drive. Rename the copy to your study name or study ID.
- In your copy, click Extensions > Apps Script > Deploy > New deployment > Web app. Set "Execute as" to Me and "Who has access" to Anyone. Click Deploy and authorize the script when prompted.
- The first authorization shows a Google "unverified app" screen: click Advanced, then "Go to MiNap Go (unsafe)". This is expected -- it is your own copy of the script.
- Once deployed, you will be given the URL for your new web app. Open that URL once. A Setup tab appears in the Sheet with three columns: the web app URL, your Active Study ID, and your Active Participant IDs. Also copy that URL somewhere safe as a backup.
- In the Setup tab, replace the default Active Study ID (
STUDY1) with your actual study ID, and replace the sample Active Participant IDs (P01,P02,P03) with your real participant IDs, one per row — only IDs listed there will be able to log in. Give each participant their Study ID and their own Participant ID during enrollment. - Share the URL with participants. To start another study, make another copy of the template Sheet and repeat these steps.
- The full documentation is available at: https://michmed.org/efdc-kb
You can also deploy the app manually into a blank project if you want to rebuild it from scratch instead of copying the template Sheet:
- Create a new Google Sheet. This becomes your data store.
- Open the sheet and clickExtensions > Apps Script to open the bound script project.
- Replace the default
Code.gscontents with this repo'ssrc/Code.gs. - File > New > HTML file, three times; name them exactly
Index,Stylesheet, andJavaScript, and paste in the matching files from the repo'ssrcfolder. - Open Project Settings (gear icon) and enable "Show
appsscript.jsonmanifest file in editor"; openappsscript.json, delete its contents, and paste in this repo'ssrc/appsscript.json. - Click Deploy > New deployment > Web app. Set "Execute as" to "Me" to ensure it runs under your account. Set "Who has access" to "Anyone" so particants can access it without a Google account. Authorize the script (as described in the quick start guide).
- Open the web app URL once; the shareable URL is written to the Setup tab.
Because the script is created from inside the Sheet, it is bound to that Sheet. All data will be written there, so it is important not to share it with anyone outside your study team or technical support.
- This repository is the source of truth for the code. There is no build step or clasp project; the maintainer syncs these files into the template's bound Apps Script project by hand.
- Once deployed, the script is independent of this repository. Changes to the code here will not affect any deployed copies of MiNap Go. To update a deployed copy, you must manually copy the new code into the bound Apps Script project and redeploy it. This ensures that each study's data remains private and secure, and that the researcher has full control over when and how to update their deployed copy of MiNap Go.
- MiNap: Facilitating Sleep Medicine Research with Smartwatch Technology - Article describing the original MiNap smartwatch sleep diary, with full documentation for the smartwatch, iPhone, and server-side components.
- Google Apps Script documentation: https://developers.google.com/apps-script
The Mobile Technologies Core provides investigators across the University of Michigan the support and guidance needed to utilize mobile technologies and digital mental health measures in their studies. Experienced faculty and staff offer hands-on consultative services to researchers throughout the University – regardless of specialty or research focus.
Learn more at: https://depressioncenter.org/mobiletech.
To get in touch, contact the individual developers in the check-in history.
If you need assistance identifying a contact person, email the EFDC's Mobile Technologies Core at: efdc-mobiletech@umich.edu.
- MiNap - MiNap Go is a browser-based, standalone edition of the MiNap smartwatch sleep diary.
- Google Apps Script - MiNap Go is built entirely on Google Apps Script, a cloud-based scripting platform for light-weight application development in the G Suite platform.
Copyright © 2026 The Regents of the University of Michigan
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/gpl-3.0-standalone.html.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. You should have received a copy of the license included in the section entitled "GNU Free Documentation License". If not, see https://www.gnu.org/licenses/fdl-1.3-standalone.html
If you find this repository, code or paper useful for your research, please cite it.
Mongefranco, Gabriel (2026). MiNap Go. University of Michigan. Software. https://github.com/DepressionCenter/MiNap-Go
DOI: 10.5281/zenodo.21302686
Copyright © 2026 The Regents of the University of Michigan

