{"id":17497322,"url":"https://github.com/moox/tab","last_synced_at":"2025-04-13T13:16:24.215Z","repository":{"id":21322348,"uuid":"24638997","full_name":"MoOx/tab","owner":"MoOx","description":"Pretty new tab for you browser.","archived":false,"fork":false,"pushed_at":"2015-11-13T06:50:43.000Z","size":40807,"stargazers_count":45,"open_issues_count":11,"forks_count":9,"subscribers_count":6,"default_branch":"gh-pages","last_synced_at":"2025-04-13T13:16:16.258Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://tab.putaindecode.io/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MoOx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-30T13:26:35.000Z","updated_at":"2025-03-04T10:47:53.000Z","dependencies_parsed_at":"2022-08-17T18:41:00.212Z","dependency_job_id":null,"html_url":"https://github.com/MoOx/tab","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoOx%2Ftab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoOx%2Ftab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoOx%2Ftab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoOx%2Ftab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MoOx","download_url":"https://codeload.github.com/MoOx/tab/tar.gz/refs/heads/gh-pages","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248717237,"owners_count":21150389,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-19T15:42:31.618Z","updated_at":"2025-04-13T13:16:24.187Z","avatar_url":"https://github.com/MoOx.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tab\n\n\u003e Get a nice picture each time you open a new blank tab.\n\n_Note: before [reporting a bug](https://github.com/putaindecode/tab/issues/new), please checkout [opened issues](https://github.com/putaindecode/tab/issues/) first._\n\n## Usage\n\n### Online\n\nSet [putaindecode.io/tab/](http://putaindecode.io/tab/) as a url for your new tab/window. _Do not remove the trailing slash or you will get a redirection (with the slash) which will create a lag every time you will open a new tab._\n\n##### Firefox\n\nGo to `about:config?filter=browser.newtab.url` and set `http://putaindecode.io/tab/` or add in your `user.js`\n\n```js\nuser_pref(\"browser.newtab.url\", \"http://putaindecode.io/tab/\");\n```\n\n### From a local folder\n\nThis project include a command to run this app locally for a given folder\n\n```bash\n$ git clone https://github.com/putaindecode/tab.git\n$ cd tab\n$ npm install\n$ PUTAINDETAB_PATH=\"/Users/Shared/Photos\" npm run generate-localhost\n$ npm run copy-app\n$ npm run hide-app\n```\n\nNotes:\n\n- `generate-localhost` will create an `images.js` \u0026 `index.apache.conf` in `$PUTAINDETAB_PATH` by executing `generate-dir-index` then `generate-conf-apache`,\n- `copy-app` will copy the app files (`index.html|js|css`) in `$PUTAINDETAB_PATH`,\n- `hide-app` will copy just hide those file by using `chflags`. Nice to avoid noise in your folder (note that `unhide-app` make the reverse).\n\n\nNow go into [localhost/tab](http://localhost/tab/) \u0026 enjoy.\n\n#### Ignore files\n\nYou can place in your `$PUTAINDETAB_PATH` folder a `.putaindetabignore` file that will behave like commons ignore file (pattern/wildcard supported).\nHere is an example\n\n```\nTo sort*\nRoad Trip/2008 Trip with boring people\n```\n\n#### Browser setup\n\n##### Firefox\n\nIn your user.js\n\n```js\n// set your new tab url\nuser_pref(\"browser.newtab.url\", \"http://localhost/tab/\");\n\n// enable file:// link on my homepage\nuser_pref(\"capability.policy.policynames\", \"localfilelinks\");\nuser_pref(\"capability.policy.localfilelinks.sites\", \"http://localhost/\");\nuser_pref(\"capability.policy.localfilelinks.checkloaduri.enabled\", \"allAccess\");\n```\n\n\u003csmall\u003e[Source](http://kb.mozillazine.org/Firefox_:_Issues_:_Links_to_Local_Pages_Don%27t_Work)\u003c/small\u003e\n\n\n### Options\n\nYou can pass some user script \u0026 styles to the url like this by appending some parameters.\n\nCheckout this a real online example: [putaindecode.io/tab/?scripts=https://rawgit.com/MoOx/0c43795ea80dc48faa28/raw/9c9e8d899b14616fcf18e53f7e98f22aad03d6a9/custom.js\u0026styles=https://rawgit.com/MoOx/0c43795ea80dc48faa28/raw/11d12f02ee26f6e310e842e8832d339f2a2f0c9f/custom.css](http://putaindecode.io/tab/?scripts=https://rawgit.com/MoOx/0c43795ea80dc48faa28/raw/9c9e8d899b14616fcf18e53f7e98f22aad03d6a9/custom.js\u0026styles=https://rawgit.com/MoOx/0c43795ea80dc48faa28/raw/11d12f02ee26f6e310e842e8832d339f2a2f0c9f/custom.css)\n\n#### `scripts`\n\nUrls for user scripts, comma separated.\n\n```\nurl/?scripts=url1.js,url2.js\n```\n\n#### `styles`\n\nUrls for user styles, comma separated.\n\n```\nurl/?styles=url1.js,url2.js\n```\n\n\n---\n\n## Contributing\n\n_We do not have a builded app for now (see [#23](https://github.com/putaindecode/tab/issues/23)), but we use an appcache file._  \n**This means every modifications in every cached files (for now the entire app \u0026 assets) need a corresponding update in the cache manifest.**  \n_Updating the timestamp in the `cache.appcache` file manually should do the trick until we automate all the things._\n\nWork on a branch \u0026 respect coding style.\n\n    $ git clone https://github.com/putaindecode/tab.git\n    $ git checkout -b patch-1\n    $ open index.html\n\n## [License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoox%2Ftab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoox%2Ftab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoox%2Ftab/lists"}