├── favicon.png ├── images ├── banner.jpg ├── banner.png └── banner-transparent.png ├── .gitignore ├── README.md ├── index.js ├── data ├── recipe.html ├── compositions.html ├── query.html ├── compositions.js ├── recipe.js └── query.js ├── index.css ├── index.html ├── read ├── help.html ├── essential.html ├── privacy.html ├── ketogenic.html └── terms.html ├── common.js └── LICENSE /favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ifct2017/ifct2017.github.io/HEAD/favicon.png -------------------------------------------------------------------------------- /images/banner.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ifct2017/ifct2017.github.io/HEAD/images/banner.jpg -------------------------------------------------------------------------------- /images/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ifct2017/ifct2017.github.io/HEAD/images/banner.png -------------------------------------------------------------------------------- /images/banner-transparent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ifct2017/ifct2017.github.io/HEAD/images/banner-transparent.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | 8 | # Runtime data 9 | _site/ 10 | pids 11 | *.pid 12 | *.seed 13 | *.pid.lock 14 | 15 | # Directory for instrumented libs generated by jscoverage/JSCover 16 | lib-cov 17 | 18 | # Coverage directory used by tools like istanbul 19 | coverage 20 | 21 | # nyc test coverage 22 | .nyc_output 23 | 24 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 25 | .grunt 26 | 27 | # Bower dependency directory (https://bower.io/) 28 | bower_components 29 | 30 | # node-waf configuration 31 | .lock-wscript 32 | 33 | # Compiled binary addons (http://nodejs.org/api/addons.html) 34 | build/Release 35 | 36 | # Dependency directories 37 | node_modules/ 38 | jspm_packages/ 39 | 40 | # Typescript v1 declaration files 41 | typings/ 42 | 43 | # Optional npm cache directory 44 | .npm 45 | 46 | # Optional eslint cache 47 | .eslintcache 48 | 49 | # Optional REPL history 50 | .node_repl_history 51 | 52 | # Output of 'npm pack' 53 | *.tgz 54 | 55 | # Yarn Integrity file 56 | .yarn-integrity 57 | 58 | # dotenv environment variables file 59 | .env 60 | 61 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Website for Indian Food Composition Tables 2017. 6 | 7 | > Query composition of 528 key foods in India 8 | 9 | 14 | 15 |
16 | 17 | ### References 18 | 19 | Common: 20 | - [Facts for Life, Vikaspedia](http://vikaspedia.in/health/facts-for-life) 21 | - [Monocultures, the great evil of Modern age](https://thoughtscapism.com/2016/03/17/monocultures-the-great-evil-of-modern-ag/) 22 | - [Mycorrhiza](https://en.wikipedia.org/wiki/Mycorrhiza) 23 | 24 | Institutions: 25 | - [R. Ananthan, NIN](https://www.nin.res.in/scientistprofiles/DR_R_ANANTHAN.html) 26 | - [Indian Institute of Food Processing Technology (IIFPT)](https://en.wikipedia.org/wiki/Indian_Institute_of_Food_Processing_Technology) 27 | 28 | Ketogenic Diet: 29 | - [Ketogenic diet food list, Dr. Axe](https://draxe.com/hub/keto-diet/ketogenic-diet-food-list/) 30 | - [Ketogenic Diet 101, Healthline](https://www.healthline.com/nutrition/ketogenic-diet-101) 31 | 32 |
33 |
34 | 35 | 36 | ## License 37 | 38 | As of 1 May 2025, this project is licensed under AGPL-3.0. Previous versions remain under MIT. 39 | 40 |
41 |
42 | 43 | 44 | [![](https://raw.githubusercontent.com/qb40/designs/gh-pages/0/image/11.png)](https://wolfram77.github.io)
45 | [![ORG](https://img.shields.io/badge/org-nodef-green?logo=Org)](https://nodef.github.io) 46 | ![](https://ga-beacon.deno.dev/G-RC63DPBH3P:SH3Eq-NoQ9mwgYeHWxu7cw/github.com/ifct2017/ifct2017.github.io) 47 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | (()=>{var U="https://ifct2017.deno.dev";var _=ifct2017.columns,I=ifct2017.hierarchy,P=ifct2017.intakes,L=ifct2017.methods,O=ifct2017.nutrients,j=ifct2017.representations;function b(t){return location.href=location.origin+t+location.hash}function C(){console.log("setupForms()");for(var t=document.querySelectorAll("form [type=submit]"),e=0,r=t.length;e{r=t.width=window.innerWidth,s=t.height=window.innerHeight,l=r/2,p=s/2},x=n=>{let a=n.touches?n.touches[0].clientX:n.clientX,o=n.touches?n.touches[0].clientY:n.clientY;d=a,h=o};window.addEventListener("resize",v),window.addEventListener("mousemove",x),window.addEventListener("touchmove",x),v();let g=()=>{i+=.005,e.fillStyle="white",e.fillRect(0,0,r,s);let n=.1*l+(d-l)*.1,a=.1*p+(h-p)*.1,o=60+5*Math.sin(i*2);e.beginPath(),e.arc(n,a,o,0,Math.PI*2),e.fillStyle="yellow",e.fill();for(let u=0;uRecipe design | Indian Food Composition




Ingredient list






-------------------------------------------------------------------------------- /index.css: -------------------------------------------------------------------------------- 1 | #header{border:none}#header a{color:#000}#header a:hover,#header menuitem:hover{border-color:green}#header label{max-width:none}header>a,#header ul a{font-family:Righteous,cursive;font-weight:bolder}@media (min-width: 32rem){header>a:after{content:" | Indian Food Composition"}}html.index header>a{visibility:hidden}html{height:100%}body{position:relative;min-height:100%}footer{overflow:hidden;max-width:none}footer:before{background:#a08080}footer a:not([class]):hover{color:#ff0}footer .end a{padding:0 1rem}@media (max-width: 50rem){footer .end div[txt=r]{text-align:left}}body,input,textarea,select,button{font-family:Righteous,cursive}canvas{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:-1}nav:not([class]){background-color:transparent}h2{margin:10rem 0 4rem}p,p:not([class]){text-align:justify}html.wide section,html.wide form{max-width:none;padding-top:0;margin:0}html.less-wide section,html.less-wide form{max-width:140rem;margin:auto}button:not([class]){color:green;border-color:green}button:not([class])[primary]{background-color:#8b4513}button:not([class])[primary]:not(:disabled):hover{background:#ab6533}#logo{display:block;max-height:32rem;margin:auto}@media (max-height: 32rem){#logo{margin-top:0}}#text{width:100%;padding:1.2rem;font-size:1.4em;text-align:center;box-shadow:0 2px 2px #00000029,0 0 0 1px #00000014}#text:focus,#text:hover{color:#00008b}.easy-autocomplete-container{text-align:center}.iziToast{font-family:Righteous,cursive}#buy>a:hover{outline:1px solid black}.tooltip{width:460px}.tooltip>grid,.tooltip>table{margin:0}.tooltip>grid>div{padding:0}.tooltip img{display:block;width:230px;height:130px}.tooltip .info{width:230px;height:130px;padding:1.5rem;white-space:normal;overflow:hidden;background:#fafae6cc;color:#a9a9a9;font-size:1.3rem}.tooltip .name{font-size:1.6rem;color:#000}.tooltip .scie{font-style:italic}.tooltip .scie:empty{display:none}.tooltip>table{width:100%;white-space:normal;font-size:1.3rem}.tooltip table th,.tooltip table td{padding:.3rem;border:0}.tooltip table tr:nth-child(odd){background:#e6fafacc}.tooltip table tr:nth-child(2n){background:#d2fad2cc}.highcharts-contextmenu hr:not([class]){margin:initial}.pretty{padding:0 2rem}.fixedHeader-floating{z-index:1}.sticky{background:#fff;position:fixed;z-index:2;top:0}td.details-control{background:url(https://datatables.net/examples/resources/details_open.png) no-repeat center center;cursor:pointer}tr.details td.details-control{background:url(https://datatables.net/examples/resources/details_close.png) no-repeat center center}table.child tr>td{padding:0}table.child .name{font-size:1.6rem;background:#ffffe0;padding:1rem}table.child .scie{font-style:italic}table.child .grup{padding:1rem;font-size:1.5rem;background:#ff0}table.child .lang{padding:1rem}tr.branch .indenter a{font-family:Batch}tr.branch.collapsed .indenter a:before{content:"\f021"}tr.branch.expanded .indenter a:before{content:"\f022"}tr.branch.collapsed:hover .indenter a:before{content:"\f01d"}tr.branch.expanded:hover .indenter a:before{content:"\f01e"}#composition_length,#composition_info,#composition_paginate{display:none}[att]:after,[dtt]:disabled:after,[tt]:after{transition-delay:1s}[att]:hover:after,[dtt]:disabled:hover:after,[tt]:hover:after{transition-delay:0}table caption{caption-side:top!important}#insights table:not([class]) tbody tr td{padding-top:0;padding-bottom:0}.popover-header{font-family:Righteous,cursive;font-size:1.6rem;line-height:1.4;color:#333}.popover{font-family:Righteous,cursive;max-width:60rem;font-size:1.3rem;line-height:1.4;color:#333} -------------------------------------------------------------------------------- /data/compositions.html: -------------------------------------------------------------------------------- 1 | Compositions | Indian Food Composition






-------------------------------------------------------------------------------- /data/query.html: -------------------------------------------------------------------------------- 1 | Query | Indian Food Composition




-------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | Indian Food Composition






-------------------------------------------------------------------------------- /read/help.html: -------------------------------------------------------------------------------- 1 | Help | Indian Food Composition

Data taken from Indian Food Composition Tables 2017, National Institute of Nutrition (ICMR), Hyderabad.

Lowest nutrient:

  • Show Foods with lowest Free Sugars?
  • Food that is low in Available Carbohydrate?

Highest nutrient:

  • Show Foods with highest Vitamin K1?
  • Food that is high in Soluble Dietary Fibre?

Highest nutrient in Category:

  • Show Leafy Vegetables with highest Vitamin A?
  • Milk that is high in Lactose?

Lowest nutrient in Category:

  • Show Animal Meat with lowest Vitamin D3?
  • Chicken that is low in Sodium?

Nutrient below Limit:

  • Discover Foods where Lead is below twenty two milligrams.
  • Chickens where Phytate is lower than one point two grams?

Nutrient above Limit:

  • Disclose Foods where Beta Tocopherol is above 37 milligrams.
  • Vegetables where Ergocalciferol is more than 1.1 mg?

Column per Quantity:

  • Show Foods with lowest Cadmium per gram.
  • Calcium per twenty grams in Fruits with highest Malic acid?

Column in Unit:

  • Show Foods with lowest Cadmium as micrograms.
  • Calcium in nanograms in Fruits with highest Malic acid?

Select columns:

  • Disclose Calcium, Magnesium in Foods which are high in Potassium.
  • Lauric acid and Palmitic acid in Vegetables where Oleic acid > 20 mg?

Select column sets:

  • Disclose all types of elements in Foods which are low in Hg.
  • All types of Unsaturated Fat in Vegetables where Ca above 100 mg?

Sum of columns:

  • Disclose sum types of elements in Foods which are low in Vitamin E.
  • Sum types of Unsaturated Fat in Vegetables where K higher than 100 mg?

Average of columns:

  • Disclose average types of elements in Foods which are low in Glutamic acid.
  • Average types of Plant sterol in Vegetables where Beta Sitosterol above 100 mg?

Arithmetic operators:

  • Disclose Calcium plus Magnesium in Foods which are low in Glutamic acid.
  • Vegetables where Sodium-Potassium is below ten mg?

Logical operators:

  • Disclose Foods which are low in Glutamic acid and high in Protein.
  • Vegetables where Beta Sitosterol above 100 mg or Ca < 200 mg?

Simple expressions:

  • Disclose one quarter into Lycopene + Beta Cryptoxanthin in Foods.
  • Vegetables where His + Ile + Glu + Cys * 0.75 < Met * one half plus Asp?

Complex expressions:

  • Disclose Foods which are low in (Capric + Plamitic) * Total Fibre.
  • (Riboflavin + Niacin) * Thiamin * 0.25 as "My Column" in Vegetables?

Aggregations:

  • Disclose sum of Calcium in Food grouped by Food Group.
  • Average of (Mg + 0.5*Se) in Vegetables classified by Food Group?

Aggregated conditions:

  • Disclose Foods grouped by Food Group having sum of Mercury less than 2 micrograms.
  • Vegetables grouped by Food Group having average of (fibins + fibsol*0.35) > 200 mg?
-------------------------------------------------------------------------------- /read/essential.html: -------------------------------------------------------------------------------- 1 | Essential nutrients | Indian Food Composition
Essential nutrients

Essential nutrients cannot be synthesized in your body, and must be obtained from diet. These include 9 amino acids, 2 fatty acids, 13 vitamins, and 15 minerals. Conditionally essential nutrients are produced only in limited quantities, and thus mentioned below too. Whether you are following the Ketogenic diet or not, make sure not to miss out any of these nutrients.



Amino Acids:

- Phenylalanine: red gram, (dal, whole, tender fresh)

- Valine: jambu fruit, jack fruit, bottle gourd, bitter gourd, egg, brown rice

- Threonine: egg, goat liver, mangosteen

- Tryptophan: turmeric, sweet potato, hilsa, dates, agathi leaves

- Methionine: egg

- Leucine: maize, jowar, varagu, milk, khoa, paneer

- Isoleucine: milk, gingelly, pomfret, jack fruit

- Lysine: chicken (liver, thigh, wing)

- Histidine: banana, egg yolk


Fatty acids:

- Linoleic acid: safflower, sunflower, soyabean, gingelly, ricebran

- α-Linolenic acid: mustard oil, walnut, soyabean oil, soyabean

- Docosahexaenoic acid: salmon, vela meen

- Arachidonic acid: egg

- Eicosapentaenoic Acid: hilsa


Vitamins:

- A: liver, egg yolk, drumstick, fenugreek, amaranth

- B1: pistachio, poppy, red gram, cashew, soyabean

- B2: chilli, palm, drumstick leaves, mustard, agathi

- B3: groundnut, chicken breast

- B5: chicken liver, black gram, egg

- B6: rohu, tiger prawns, crab

- B7: hilsa, crab, prawn

- B9: chicken liver, rajmah, soyabean

- B12: ?

- C: amla, guava, capsicum

- D2: gingelly, soyabean, amaranth

- D3: egg yolk

- E1: pistachio, almond, walnut, coconut, cashew

- E2: cardamom, guava, agathi, turmeric

- K1: drumstick leaves, amaranth, drumstick, spinach

- K2: prawn, egg


Minerals:

- Sodium: prawn, crab, egg

- Magnesium: cumin, gingelly, coriander, amaranth seed, almond, cashew

- Potassium: turmeric, chilli, soyabean, pepper, red gram, rajmah

- Calcium: gingelly, agathi, cumin, coriander, khoa, paneer

- Molybdenum: apple, bael, yellow lentil, green gram

- Manganese: cloves, cardamom, pepper, amaranth seed, mustard, cumin, ginger

- Iron: turmeric, cumin, coriander, gingelly

- Cobalt: bael, apple, amaranth seed. Soyabean, turmeric

- Nickel: apple, cashew, amaranth, walnut, rajmah

- Copper: cashew, gingelly, pepper, walnut, rajmah

- Zinc: gingelly, cashew, cardamom, cumin

- Selenium: mustard seeds, crab

-------------------------------------------------------------------------------- /data/compositions.js: -------------------------------------------------------------------------------- 1 | (()=>{var m="https://ifct2017.deno.dev";var I="https://cdn.jsdelivr.net/npm/@ifct2017/pictures/assets/";var L=new Set(["code","name","scie","lang","grup","regn","tags"]),p=ifct2017.columns,G=ifct2017.hierarchy,K=ifct2017.intakes,Q=ifct2017.methods,X=ifct2017.nutrients,f=ifct2017.representations;var j=new Map([["abbr","Abbreviation"],["desc","Description"],["kj","kJ"],["kcal","kcal"]]);function y(e){return Math.round(e*1e6)/1e6}function O(e){var t=[];for(var n of e)t.indexOf(n)<0&&t.push(n);return t}function b(n){var t={},n=n.startsWith("?")?n.substring(1):n;for(var a of n.split("&")){var o=a.split("=");t[decodeURIComponent(o[0])]=decodeURIComponent(o[1]||"")}return t}function h(e){return new Promise(function(t,n){$.getJSON(e,t).fail(n)})}function C(e){return new Promise((t,n)=>{Papa.parse(e,{download:!0,header:!0,worker:!0,dynamicTyping:!0,complete:t,error:n})})}function v(e){return e.indexOf('"')>=0?e.replace(/\"(.*?)\"/g,function(t,n){return v(n)}):p.has(e)?p.get(e).name:j.get(e)||e[0].toUpperCase()+e.substring(1)}function w(e){var t="",n=null;if(e.indexOf('"')<0)return p.has(e)?p.get(e).tags:e;for(;(n=/\"(.*?)\"/g.exec())!=null;)t+=w(n[1])+" ";return t.substring(0,t.length-1)}function q(e){return f.has(e)?f.get(e).factor:1}function W(e){return f.has(e)?f.get(e).unit:null}function S(e){e=e.replace(/\[.*?\]/g,"").replace(/\s*\.?$/,""),e=e.replace(/\w+\.\s([\w\',\/\(\)\- ]+)[;\.]?/g,"$1, ");var t=e.split(/,\s*/g);return t[t.length-1]||t.pop(),O(t).join(", ")}function E(e){return I+e+".jpeg"}function T(e){var t=[],n=e.length;for(var a of e)t.push(Object.assign({},a));for(var o in e[0]||{})if(!o.endsWith("_e"))for(var r=W(o),u=q(o),i=o+"_e",d=o+"_t",c=0;c${t.name} is a good source of:`,o+='NutrientValue',o+="";for(var r of n)o+=`${v(r.name)}  \u2139\uFE0F${Math.round(r.value*100)}% \u2B06\uFE0F`;o+="",$(e).html(o)}function A(e,t,n,a,o){var r=ifct2017.columns,u=ifct2017.hierarchy,i=document.createElement("tr"),d=n+"_e",c=n+"_t";n!=="water"&&(i.style.backgroundColor=`rgb(80, 255, 80, ${Math.max(o[n],0)})`),i.setAttribute("data-tt-id",n),a&&i.setAttribute("data-tt-parent-id",a);var s=document.createElement("td");s.setAttribute("data-search",v(n)+" "+w(n)||""),s.textContent=(r.get(n)||{}).name;var l=document.createElement("a");l.setAttribute("href","javascript:void(0);"),l.innerHTML="  \u2139\uFE0F",s.appendChild(l),i.appendChild(s),s=document.createElement("td"),s.setAttribute("data-order",t[n]),s.textContent=t[c],i.appendChild(s),e.appendChild(i);var x=(u.get(n)||{}).children||"";if(x)for(var N of x.split(" "))A(e,t,N,n,o)}function U(e,t,n,a,o){return console.log("setupCompositionTable()"),t=$(e).DataTable({columns:D,aaSorting:[],pageLength:1e3}),t.on("order.dt",function(){$(e).treetable("expandAll")}),t.on("search.dt",function(){t.search()?$(e).treetable("expandAll"):$(e).treetable("collapseAll")}),setTimeout(function(){window.dispatchEvent(new Event("resize"))},0),t}function P(e,t,n){console.log("setupCompositionTreetable()");var a=ifct2017.hierarchy,o=document.createDocumentFragment();for(var r in t)if(!(r.endsWith("_e")||r.endsWith("_t")||L.has(r))){var u=(a.get(r)||{}).parents||"";u||A(o,t,r,null,n)}var i=document.createElement("tbody");i.appendChild(o),document.querySelector(e).innerHTML="",document.querySelector(e).appendChild(i),$(e).treetable({expandable:!0,clickableNodeNames:!0})}var R=null,g=new Map,F="https://jsr.io/@nodef/ifct2017/1.3.6/columndescriptions/index.csv";async function H(){var e=b(location.search),t=e.code||"A001",n=await h(m+"/api/data?table=compositions&code="+t),a=await h(m+"/api/insights?table=compositions&code="+t);M("#insights",a);var o=T(n),r=o[0]||{};$("#composition_caption").attr("style",""),$("#picture").attr("src",E(r.code)),$("#name").html(r.name+(r.scie?' ('+r.scie+")":"")),$("#grup").text(r.grup),$("#lang").text(S(r.lang)),P("#composition",r,a),R=U("#composition",R),$("#info").removeAttr("style")}function _(e,t="auto"){console.log("setupCompositionPopovers(): Setting up popovers ...");for(var n of document.querySelectorAll(`${e} tbody tr`)){var a=n.getAttribute("data-tt-id");if(g.has(a)){var o=g.get(a);new bootstrap.Popover(n.querySelector('td a[href="javascript:void(0);"]'),{trigger:"hover focus",html:!0,placement:t,title:o.name,content:`

${o.shortdesc}

${o.longdesc}

`}),e==="#insights"&&new bootstrap.Popover(n.querySelector('td:last-of-type a[href="javascript:void(0);"]'),{trigger:"hover focus",html:!0,placement:t,content:"

0% - 100% indicates average to maximum values of the nutrient content

"})}}console.log("setupCompositionPopovers(): Popovers set up")}async function J(){var e=await C(F);for(var t of e.data)g.set(t.code,t);console.log("fetchColumnDescriptions(): Column descriptions loaded")}async function V(){var e=J(),t=new Promise(n=>{$(document).ready(()=>{n(H())})});await Promise.all([e,t]),_("#composition"),_("#insights","top")}V();})(); 2 | -------------------------------------------------------------------------------- /data/recipe.js: -------------------------------------------------------------------------------- 1 | (()=>{var h="https://ifct2017.deno.dev";var v=new Set(["code","name","scie","lang","grup","regn","tags"]),m=ifct2017.columns,H=ifct2017.hierarchy,J=ifct2017.intakes,z=ifct2017.methods,D=ifct2017.nutrients,d=ifct2017.representations;var A=new Map([["abbr","Abbreviation"],["desc","Description"],["kj","kJ"],["kcal","kcal"]]);function x(e){return Math.round(e*1e6)/1e6}function b(e){return e.indexOf('"')>=0?e.replace(/\"(.*?)\"/g,function(t,n){return b(n)}):m.has(e)?m.get(e).name:A.get(e)||e[0].toUpperCase()+e.substring(1)}function _(e){var t="",n=null;if(e.indexOf('"')<0)return m.has(e)?m.get(e).tags:e;for(;(n=/\"(.*?)\"/g.exec())!=null;)t+=_(n[1])+" ";return t.substring(0,t.length-1)}function N(e){return d.has(e)?d.get(e).factor:1}function U(e){return d.has(e)?d.get(e).unit:null}function C(e){var t=[],n=e.length;for(var r of e)t.push(Object.assign({},r));for(var o in e[0]||{})if(!o.endsWith("_e"))for(var c=U(o),i=N(o),a=o+"_e",u=o+"_t",l=0;lRemove this`,r=``,o=``,c=``,i=``,a=``,u=``,l=``;$(e).append(`
${r}${o}${c}
${i}${a}
${u}${l}
`),$(`#name_${t}`).change(function(){L(t)}),$(`#quantity_${t}`).change(function(){g()}),$(`#yield_${t}`).change(function(){g()}),$(`#remove_${t}`).click(function(){q(t)})}(++O)}async function L(e){console.log(`updateIngredientName(${e})`);var t=$(`#name_${e}`).val().trim()||"";if(!t)return;var n=await new Promise(function(i,a){$.getJSON(h+"/api/descriptions?text="+t,i).fail(function(u,l,s){console.error("Error fetching ingredient name:",s),a(s)})});if(n.length===0){$(`#code_${e}`).val(""),$(`#name_${e}`).attr("style","background-color: #ffcccc;"),iziToast.error({title:"Error",message:`No ingredient found for "${t}"`});return}if(n.length===1){var r=n[0];$(`#code_${e}`).val(r.code),$(`#name_${e}`).val(r.name),$(`#name_${e}`).attr("style",""),iziToast.success({title:"Success",message:`Ingredient "${r.name}" found`});return}var o=[];function c(i){return[``,function(a,u){a.hide({transitionOut:"fadeOut"},u,i.code)}]}for(var r of n)o.push(c(r));o.length&&o[0].push(!0),iziToast.show({title:"Multiple ingredients found",message:"Please select one of the ingredients from the list",position:"topCenter",buttons:o,timeout:!1,onClosing:function(i,a,u){if(u){var l=u,s=n.find(p=>p.code===l);$(`#code_${e}`).val(l),$(`#name_${e}`).val(s.name),$(`#name_${e}`).attr("style",""),iziToast.success({title:"Success",message:`Ingredient '${s.name}' selected`})}else $(`#code_${e}`).val(""),$(`#name_${e}`).attr("style","background-color: #ffcccc;"),iziToast.error({title:"Error",message:"No ingredient selected"})}})}function q(e){console.log(`removeIngredient(${e})`);var t=$(`#name_${e}`).val()||"unknown";$(`#ingredient_${e}`).remove(),g(),iziToast.success({title:"Success",message:`Removed ingredient ${t}`})}function I(e){console.log(`getIngredients(${e})`);for(var t=[],n=$(e).children("div"),r=0;r'),f=null),E("#composition",C([t])[0]),f=w("#composition",f)}function W(){console.log("onReady()"),$("#ingredients_add").click(function(){M("#ingredients")}),$("#ingredients").removeAttr("style"),M("#ingredients")}$(document).ready(W);})(); 2 | -------------------------------------------------------------------------------- /common.js: -------------------------------------------------------------------------------- 1 | (()=>{var P="https://ifct2017.deno.dev",K="https://i.imgur.com/PNZBH2d.png",L="https://cdn.jsdelivr.net/npm/@ifct2017/pictures/assets/",C="https://jsr.io/@nodef/ifct2017/1.4.1/",T=new Set(["code","name","scie","lang","grup","regn","tags"]),g=ifct2017.columns,d=ifct2017.hierarchy,V=ifct2017.intakes,O=ifct2017.methods,G=ifct2017.nutrients,h=ifct2017.representations,Q=["whorda","usear","usrdam","usrdaf","euprim","euprif"],X=["ulus","uleu","uljapan"],Y=new Map([["whorda","WHO Recommended Dietary Allowance"],["usear","US Estimated Average Requirement"],["usrdam","US Recommended Dietary Allowance (Male)"],["usrdaf","US Recommended Dietary Allowance (Female)"],["euprim","EU Population Reference Intake (Male)"],["euprif","EU Population Reference Intake (Female)"],["ulus","Tolerable intake Upper Level (US)"],["uleu","Tolerable intake Upper Level (EU)"],["uljapan","Tolerable intake Upper Level (Japan)"]]),j=new Map([["abbr","Abbreviation"],["desc","Description"],["kj","kJ"],["kcal","kcal"]]),W=new Map([[1,"g"],[1e3,"mg"],[1e6,"ug"],[1e9,"ng"]]);function S(e){return Math.round(e*1e6)/1e6}function q(e){var t=[];for(var n of e)t.indexOf(n)<0&&t.push(n);return t}function z(e){for(var t of e)return t}function B(n){var t={},n=n.startsWith("?")?n.substring(1):n;for(var r of n.split("&")){var o=r.split("=");t[decodeURIComponent(o[0])]=decodeURIComponent(o[1]||"")}return t}function Z(){return location.pathname+location.search}function k(e){return location.href=location.origin+e+location.hash}function ee(e){for(var t=e.elements,n={},r=0,o=t.length;r{Papa.parse(e,{download:!0,header:!0,worker:!0,dynamicTyping:!0,complete:t,error:n})})}function E(e){return e.indexOf('"')>=0?e.replace(/\"(.*?)\"/g,function(t,n){return E(n)}):g.has(e)?g.get(e).name:j.get(e)||e[0].toUpperCase()+e.substring(1)}function A(e){var t="",n=null;if(e.indexOf('"')<0)return g.has(e)?g.get(e).tags:e;for(;(n=/\"(.*?)\"/g.exec())!=null;)t+=A(n[1])+" ";return t.substring(0,t.length-1)}function oe(e){return d.has(e)?d.get(e).parents:null}function ae(e){return d.has(e)?d.get(e).ancestry:null}function ie(e){return d.has(e)?d.get(e).children:null}function ue(e){var t=O.get(e);return t==null?null:t.method+(t.reference?"; "+t.reference:"")}function ce(e){return h.has(e)?h.get(e).type:null}function H(e){return h.has(e)?h.get(e).factor:1}function D(e){return h.has(e)?h.get(e).unit:null}function se(e){e=e.replace(/\[.*?\]/g,"").replace(/\s*\.?$/,""),e=e.replace(/\w+\.\s([\w\',\/\(\)\- ]+)[;\.]?/g,"$1, ");var t=e.split(/,\s*/g);return t[t.length-1]||t.pop(),q(t).join(", ")}function le(e){return L+e+".jpeg"}function pe(e,t){if(e!=="mass")return 1;var n=Math.log(t)/Math.log(1e3),r=-3*Math.round(n-.33);return Math.pow(10,Math.max(r,0))}function fe(e,t){return e!=="mass"?"kJ":W.get(t)}function de(e){var t=[];for(var n in e)n.endsWith("_e")||n.endsWith("_t")||T.has(n)||t.push(n);return t}function he(e,t){var n=[];for(var r of e)n.push(r[t]);return n}function me(e,t,n){var r=[];for(var o of e)r.push([o[t],o[n]]);return r}function ve(e,t,n){var r=[],o=n+"_e";for(var a of e)r.push([a[t],a[n]-(a[o]||0),a[n]+(a[o]||0)]);return r}function xe(e){var t=[];for(var n of e){var r={};for(var o in n)r[o.replace(/\W/g,"_")]=n[o];t.push(r)}return t}function ge(e){var t=[],n=e.length;for(var r of e)t.push(Object.assign({},r));for(var o in e[0]||{})if(!o.endsWith("_e"))for(var a=D(o),u=H(o),i=o+"_e",m=o+"_t",s=0;s${t.name} is a good source of:`,o+='NutrientValue',o+="";for(var a of n)o+=`${E(a.name)}  \u2139\uFE0F${Math.round(a.value*100)}% \u2B06\uFE0F`;o+="",$(e).html(o)}function U(e,t,n,r,o){var a=ifct2017.columns,u=ifct2017.hierarchy,i=document.createElement("tr"),m=n+"_e",s=n+"_t";n!=="water"&&(i.style.backgroundColor=`rgb(80, 255, 80, ${Math.max(o[n],0)})`),i.setAttribute("data-tt-id",n),r&&i.setAttribute("data-tt-parent-id",r);var c=document.createElement("td");c.setAttribute("data-search",E(n)+" "+A(n)||""),c.textContent=(a.get(n)||{}).name;var p=document.createElement("a");p.setAttribute("href","javascript:void(0);"),p.innerHTML="  \u2139\uFE0F",c.appendChild(p),i.appendChild(c),c=document.createElement("td"),c.setAttribute("data-order",t[n]),c.textContent=t[s],i.appendChild(c),e.appendChild(i);var v=(u.get(n)||{}).children||"";if(v)for(var l of v.split(" "))U(e,t,l,n,o)}function Me(e,t,n,r,o){return console.log("setupCompositionTable()"),t=$(e).DataTable({columns:J,aaSorting:[],pageLength:1e3}),t.on("order.dt",function(){$(e).treetable("expandAll")}),t.on("search.dt",function(){t.search()?$(e).treetable("expandAll"):$(e).treetable("collapseAll")}),setTimeout(function(){window.dispatchEvent(new Event("resize"))},0),t}function Se(e,t,n){console.log("setupCompositionTreetable()");var r=ifct2017.hierarchy,o=document.createDocumentFragment();for(var a in t)if(!(a.endsWith("_e")||a.endsWith("_t")||T.has(a))){var u=(r.get(a)||{}).parents||"";u||U(o,t,a,null,n)}var i=document.createElement("tbody");i.appendChild(o),document.querySelector(e).innerHTML="",document.querySelector(e).appendChild(i),$(e).treetable({expandable:!0,clickableNodeNames:!0})}function Te(){let e=document.createElement("canvas");document.body.appendChild(e);let t=e.getContext("2d"),n,r,o,a,u=0,i=0,m=20,s=0,c=()=>{n=e.width=window.innerWidth,r=e.height=window.innerHeight,o=n/2,a=r/2},p=l=>{let x=l.touches?l.touches[0].clientX:l.clientX,f=l.touches?l.touches[0].clientY:l.clientY;u=x,i=f};window.addEventListener("resize",c),window.addEventListener("mousemove",p),window.addEventListener("touchmove",p),c();let v=()=>{s+=.005,t.fillStyle="white",t.fillRect(0,0,n,r);let l=.1*o+(u-o)*.1,x=.1*a+(i-a)*.1,f=60+5*Math.sin(s*2);t.beginPath(),t.arc(l,x,f,0,Math.PI*2),t.fillStyle="yellow",t.fill();for(let y=0;yPrivacy Policy | Indian Food Composition

Indian Food Composition recognises the importance of maintaining your privacy. We value your privacy and appreciate your trust in us. This Policy describes how we treat user information we collect on https://www.ifct2017.github.io and other offline sources. This Privacy Policy applies to current and former visitors to our website and to our online customers. By visiting and/or using our website, you agree to this Privacy Policy.

Indian Food Composition is a property of Merferry, the programmer of this website, having office at 301, Alekhya Golden Bamboos, Khanamet. Hyderabad 500 084.

Information we collect

Contact information. We might collect your name, email, mobile number, phone number, street, city, state, pincode, country and ip address.

Information you post. ​We collect information you post in a public space on our website or on a third­party social media site belonging to ifct2017.github.io.

Demographic information. ​We may collect demographic information about you, events you like, events you intend to participate in, tickets you buy, or any other information provided by your during the use of our website. We might collect this as a part of a survey also.

Other information. ​If you use our website, we may collect information about your IP address and the browser you're using. We might look at what site you came from, duration of time spent on our website, pages accessed or what site you visit when you leave us. We might also collect the type of mobile device you are using, or the version of the operating system your computer or device is running.

We collect information in different ways.

We collect information directly from you. ​We collect information directly from you when you ask something to our bot. We also collect information if you post a comment on our websites or ask us a question through phone or email.

**We collect information from you passively.**​ We use tracking tools like Google Analytics, Google Webmaster, browser cookies and web beacons for collecting information about your usage of our website. We get information about you from third parties.​ For example, if you use an integrated social media feature on our websites. The third­party social media site will give us certain information about you. This could include your name and email address.

Use of your personal information

We use information to contact you. ​We might use the information you provide to contact you for survey on our website or for other promotional purposes.

We use information to respond to your requests or questions. ​We might use your information to confirm your registration for an event or contest.

We use information to improve our products and services. ​We might use your information to customize your experience with us. This could include displaying content based upon your preferences.

We use information to look at site trends and customer interests. ​We may use your information to make our website and products better. We may combine information we get from you with information about you we get from third parties.

**We use information for security purposes.**​ We may use information to protect our company, our customers, or our websites.

We use information for marketing purposes. ​We might send you information about special promotions or offers. We might also tell you about new features or products. These might be our own offers or products, or third­ party offers or products we think you might find interesting.

We use information as otherwise permitted by law.

Sharing of information with third­ parties

We may share information with third parties who perform services on our behalf. ​We share information with vendors who help us manage our online registration process or payment processors or transactional message processors. Some vendors may be located outside of India.

We may share information if we think we have to in order to comply with the law or to protect ourselves. We will share information to respond to a court order or subpoena. We may also share it if a government agency or investigatory body requests. Or, we might also share information when we are investigating potential fraud.

We may share information with any successor to all or part of our business.​ For example, if part of our business is sold we may give our customer list as part of that transaction.

**We may share your information for reasons not described in this policy.**​ We will tell you before we do this.

Email Opt­Out

You can opt out of receiving our marketing emails. ​To stop receiving our promotional emails, please email wolfram77@gmail.com. It may take about ten days to process your request.

Third party sites

If you click on one of the links to third party websites, you may be taken to websites we do not control. This policy does not apply to the privacy practices of those websites. Read the privacy policy of other websites carefully. We are not responsible for these third party sites.

Grievance Officer

In accordance with Information Technology Act 2000 and rules made there under, the name and contact details of the Grievance Officer are provided below:

2 |   Mr. Subhajit Sahu
3 |   301, Alekhya Golden Bamboos, Khanamet
4 |   Hyderabad­ 500 084
5 |   Phone: +91 8895442590
6 |   Email: wolfram77@gmail.com
7 | 

If you have any questions about this Policy or other privacy concerns, you can also email us at wolfram77@gmail.com.

Updates to this policy

This Privacy Policy was last updated on 28.03.2018. From time to time we may change our privacy practices. We will notify you of any material changes to this policy as required by law. We will also post an updated copy on our website. Please check our site periodically for updates.

Jurisdiction

If you choose to visit the website, your visit and any dispute over privacy is subject to this Policy and the website's terms of use. In addition to the foregoing, any disputes arising under this Policy shall be governed by the laws of India.

-------------------------------------------------------------------------------- /data/query.js: -------------------------------------------------------------------------------- 1 | (()=>{var m="https://ifct2017.deno.dev";var B="https://cdn.jsdelivr.net/npm/@ifct2017/pictures/assets/";var x=new Set(["code","name","scie","lang","grup","regn","tags"]),T=ifct2017.columns,_e=ifct2017.hierarchy,A=ifct2017.intakes,E=ifct2017.methods,Te=ifct2017.nutrients,d=ifct2017.representations,M=["whorda","usear","usrdam","usrdaf","euprim","euprif"],R=["ulus","uleu","uljapan"],I=new Map([["whorda","WHO Recommended Dietary Allowance"],["usear","US Estimated Average Requirement"],["usrdam","US Recommended Dietary Allowance (Male)"],["usrdaf","US Recommended Dietary Allowance (Female)"],["euprim","EU Population Reference Intake (Male)"],["euprif","EU Population Reference Intake (Female)"],["ulus","Tolerable intake Upper Level (US)"],["uleu","Tolerable intake Upper Level (EU)"],["uljapan","Tolerable intake Upper Level (Japan)"]]),X=new Map([["abbr","Abbreviation"],["desc","Description"],["kj","kJ"],["kcal","kcal"]]),Y=new Map([[1,"g"],[1e3,"mg"],[1e6,"ug"],[1e9,"ng"]]);function p(e){return Math.round(e*1e6)/1e6}function Z(e){var t=[];for(var n of e)t.indexOf(n)<0&&t.push(n);return t}function v(e){for(var t of e)return t}function N(n){var t={},n=n.startsWith("?")?n.substring(1):n;for(var r of n.split("&")){var o=r.split("=");t[decodeURIComponent(o[0])]=decodeURIComponent(o[1]||"")}return t}function y(e){return location.href=location.origin+e+location.hash}function U(e){return new Promise(function(t,n){$.getJSON(e,t).fail(n)})}function b(e,t,n,a,l){var a=a||4,l=l||1e3;return $.getJSON(e,t).fail(function(i){if(!a||i.responseJSON)return n(i);setTimeout(function(){b(e,t,n,a-1,l*2)},l)})}function h(e){return e.indexOf('"')>=0?e.replace(/\"(.*?)\"/g,function(t,n){return h(n)}):T.has(e)?T.get(e).name:X.get(e)||e[0].toUpperCase()+e.substring(1)}function O(e){return d.has(e)?d.get(e).type:null}function w(e){return d.has(e)?d.get(e).factor:1}function C(e){return d.has(e)?d.get(e).unit:null}function L(e){e=e.replace(/\[.*?\]/g,"").replace(/\s*\.?$/,""),e=e.replace(/\w+\.\s([\w\',\/\(\)\- ]+)[;\.]?/g,"$1, ");var t=e.split(/,\s*/g);return t[t.length-1]||t.pop(),Z(t).join(", ")}function S(e){return B+e+".jpeg"}function P(e,t){if(e!=="mass")return 1;var n=Math.log(t)/Math.log(1e3),r=-3*Math.round(n-.33);return Math.pow(10,Math.max(r,0))}function q(e,t){return e!=="mass"?"kJ":Y.get(t)}function W(e){var t=[];for(var n in e)n.endsWith("_e")||n.endsWith("_t")||x.has(n)||t.push(n);return t}function H(e,t){var n=[];for(var r of e)n.push(r[t]);return n}function F(e,t,n){var r=[];for(var o of e)r.push([o[t],o[n]]);return r}function j(e,t,n){var r=[],o=n+"_e";for(var a of e)r.push([a[t],a[n]-(a[o]||0),a[n]+(a[o]||0)]);return r}function D(e){var t=[];for(var n of e){var r={};for(var o in n)r[o.replace(/\W/g,"_")]=n[o];t.push(r)}return t}function Q(e){var t=[],n=e.length;for(var r of e)t.push(Object.assign({},r));for(var o in e[0]||{})if(!o.endsWith("_e"))for(var a=C(o),l=w(o),i=o+"_e",u=o+"_t",s=0;s'+t.name+"";return e}function re(e){var t=document.getElementById("table_child").innerHTML;return t=t.replace("${code}",e.code),t=t.replace("${picture}",'src="'+S(e.code)+'"'),t=t.replace("${name}",e.name),t=t.replace("${scie}",e.scie),t=t.replace("${grup}",e.grup),t=t.replace("${lang}",L(e.lang)),t=t.replace("${quantities}",""),t}function oe(){var e=$(this).closest("tr"),t=c.row(e),n=$.inArray(e.attr("id"),c.children);t.child.isShown()?(e.removeClass("details"),t.child.hide(),c.children.splice(n,1)):(e.addClass("details"),t.child(re(t.data())).show(),n===-1&&c.children.push(e.attr("id")))}function ae(){for(var e of c.children||[])$("#"+e+" td.details-control").trigger("click")}function ie(e){if(ee(),e.length!==0){var t=te(e);e=D(e);var n=ne(e);c=$("#table").DataTable({columns:t,data:n,aaSorting:[],scrollX:!0,autoWidth:!0,retrieve:!0,fixedHeader:{header:!0,footer:!0}}),c.children=[],c.on("draw",ae),$("#table tbody").on("click","tr td.details-control",oe),$("#table_length > label").append($("#table_expandt").html()),$("#table_expand").click(function(){c.rows(":not(.parent)").nodes().to$().find("td:first-child").trigger("click")}),setTimeout(function(){window.dispatchEvent(new Event("resize"))},0)}}function le(){f!=null&&(f.destroy(),$("#chart").empty(),f=null)}function ue(e,t,n){for(var r=[],o=Highcharts.getOptions().colors,a=0,l=n.length;a0&&n.push({id:o,labels:a,shapes:l,labelOptions:{backgroundColor:k[o],y:5,borderColor:"none"}})}return n}function pe(e,t){for(var n=0,r=(e.annotations||[]).length;n"+o.series.name+"",t+=""+p(o.y*u)+(s||""),l&&(t+=" ("+p(a.point.high*u)+" - "+p(a.point.low*u)+")"),t+=` 2 | `}}return t}function ge(){var e=f.rows[this.x],t=document.getElementById("chart-tooltip").innerHTML,n=t.replace("${picture}",'src="'+S(e.code)+'"');return n=n.replace("${name}",e.name),n=n.replace("${scie}",e.scie?"("+e.scie+")":""),n=n.replace("${grup}",e.grup),n=n.replace("${quantities}",""+ve(this.points)+"
"),n}function xe(e,t,n){le();var r=H(e,t),o=ue(e,t,n),a=V(n.length===1?n[0]:null,e.length);f=Highcharts.chart("chart",{chart:{style:{fontFamily:'"Righteous", cursive'}},title:{text:null},legend:{},xAxis:{labels:{enabled:!0,formatter:function(){return r[Math.round(this.value)]}}},yAxis:{title:{text:null},labels:{formatter:me}},annotations:a,tooltip:{crosshairs:!0,shared:!0,useHTML:!0,formatter:ge},series:o,plotOptions:{series:{events:{legendItemClick:fe},point:{events:{click:de}}}}}),f.rows=e}function ye(e){console.log("processQuery()",e),b(m+"/api/english?text="+encodeURIComponent(e),function(t){console.log("Slang:",t.slang),console.log("SQL:",t.sql);var n=t.rows,r=t.meta;if(n.length!==0){n=Q(n);var o=W(n[0]||{});ie(n,r),o.length>0&&xe(n,"name",o),be(e)}},function(t){var n=t.responseJSON;console.log("processQuery().fail",n),iziToast.error({title:n.message,message:"SLANG: "+n.slang+"
SQL: "+n.sql,timeout:2e4})}).fail(function(t){t.responseJSON||iziToast.warning({title:"Server offline",message:"Server will come up in 5s!",timeout:2e4})})}async function be(e){var t=await U(m+"/api/query/save?text="+encodeURIComponent(e));console.log("Query saved: "+t[0].text+" ["+t[0].score+"]")}function we(e){var t=e.target.submitted;console.log("onSubmit()",t);var n=document.getElementById("text").value;return y("/data/query?text="+n),!1}function Ce(){var e=location.search;if(console.log("setupLocation()",e),e.length!==0){var t=N(e);if(t.text){var n=document.getElementById("text");n.value=t.text,ye(t.text)}}}function Se(){console.log("setup()"),$("form").submit(we),J(),K(),Ce(),z()}$(document).ready(Se);})(); 3 | -------------------------------------------------------------------------------- /read/ketogenic.html: -------------------------------------------------------------------------------- 1 | Ketogenic diet | Indian Food Composition

Ketogenic diet

The Ketogenic diet is a low carb, moderate protein, and high fat diet which puts the body into a metabolic state known as ketosis. In this state, the liver breaks down fat producing ketones which become the main energy source for the body. Ketogenic diet is based around the premise that our body was designed to run more efficiently as a fat burner than a sugar burner.

Why do you get fat?

How you get fat in 12 sad steps

When you eat carbs, the blood sugar rises, causing hormone insulin to be released. This hormone commands body cells to either use glucose, or store it as fat. It also decreases leptin response and prevents fat cells from being used, leading to more hunger after meal. Regular high carb consumption thus means more hunger, insulin resistance and obesity.

How does Ketosis work?

How does Ketosis work

When you lower your carb intake, blood sugar drops, which in turn lowers insulin levels. This allows fat cells to enter the bloodstream and head to the liver. Satiety is also increased due to proper leptin response, making you feel full. When your body is producing optimal ketone levels you begin to notice many health, weight loss, physical, and mental performance benefits.

How can you reach ketosis?

Easy to avoid

To reach ketosis, cut out all sugary, deep-fried, processed foods and initially limit carbs to 20g daily. The general ratio is 70% fat, 20% protein, and 5% carbohydrates. Ketones are excreted through urine, so take enough salt and water to keep yourself hydrated. Consider eating only in an 8hr period (intermittent fasting), and add exercise to your daily routine. Reduced hunger and increased energy is a sign that you are in ketosis.

Foods to eat

Ketogenic diet cartoon

Foods to eat include:

Fatty nuts : walnut, almond, cashew, pistachio, groundnut, gingelly seeds.

High fat dairy : full fat milk, cream, curd, cheese, butter, paneer.

Cooking oils : coconut oil, mustard oil, soybean oil, rice bran oil, sunflower oil.

Spices : fenugreek seeds, mustard seeds, cumin seeds, ajwain seeds, coriander seeds, turmeric, cloves, black pepper, cardamom, curry mint leaves, coriander leaves, ginger, garlic, onion, chilli.

Fibre and nutrient rich leafy vegetables : agathi, amaranth, drumstick, spinach, fenugreek, mustard, rumex, bathua, pak choi, basella, lettuce, radish, cauliflower, cress, beet, pumpkin.

Fibrous legumes : red grams, bengal grams, green grams, soya beans, field beans, rajma, dry peas, lentils.

Low carb vegetables : cucumber, bitter gourd, bottle gourd, ridge gourd, snake gourd, pointed gourd, drumstick, coccinia, cauliflower, cabbage, tomato, ladies finger, brinjal, beans, peas, capsicum, banana flower, raw jackfruit.

High fibre cereals : barley, bajra, atta, ragi, jowar, amaranth seed, brown rice.

Low carb fruits : palm, avocado, amla, lemon, jamun, tamarind, mosambi, orange, bael, coconut, papaya, guava, banana, apple, pear, custard apple, muskmelon, and occasionally watermelon, jackfruit, litchi, sapota, pomegranate, grapes, mango, apricot, unprocessed dates.

If you are non-vegetarian : egg, rohu, salmon, hilsa, vela meen, prawn, crab, chicken liver, goat liver, chicken meat.

-------------------------------------------------------------------------------- /read/terms.html: -------------------------------------------------------------------------------- 1 | Terms of Service | Indian Food Composition

LAST REVISION: 28.03.2018

PLEASE READ THIS TERMS OF SERVICE AGREEMENT CAREFULLY. BY USING THIS WEBSITE OR ORDERING PRODUCTS FROM THIS WEBSITE YOU AGREE TO BE BOUND BY ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT.

This Terms of Service Agreement (the "Agreement") governs your use of this website, Indian Food Composition (the "Website"), Merferry ("Business Name") offer of products for purchase on this Website, or your purchase of products available on this Website. This Agreement includes, and incorporates by this reference, the policies and guidelines referenced below. Merferry reserves the right to change or revise the terms and conditions of this Agreement at any time by posting any changes or a revised Agreement on this Website. Merferry will alert you that changes or revisions have been made by indicating on the top of this Agreement the date it was last revised. The changed or revised Agreement will be effective immediately after it is posted on this Website. Your use of the Website following the posting any such changes or of a revised Agreement will constitute your acceptance of any such changes or revisions. Merferry encourages you to review this Agreement whenever you visit the Website to make sure that you understand the terms and conditions governing use of the Website. This Agreement does not alter in any way the terms or conditions of any other written agreement you may have with Merferry for other products or services. If you do not agree to this Agreement (including any referenced policies or guidelines), please immediately terminate your use of the Website. If you would like to print this Agreement, please click the print button on your browser toolbar.

I. PRODUCTS

Terms of Offer. This Website offers for sale certain products (the "Products"). By placing an order for Products through this Website, you agree to the terms set forth in this Agreement.

Customer Solicitation: Unless you notify our third party call center reps or direct Merferry sales reps, while they are calling you, of your desire to opt out from further direct company communications and solicitations, you are agreeing to continue to receive further emails and call solicitations Merferry and its designated in house or third party call team(s).

Opt Out Procedure: We provide 3 easy ways to opt out of from future solicitations.

  1. You may use the opt out link found in any email solicitation that you may receive.
  2. You may also choose to opt out, via sending your email address to: wolfram77@gmail.com.
  3. You may send a written remove request to 301, Alekhya Golden Bamboos, Khanamet, Hyderabad 500 084.

Proprietary Rights: Merferry has proprietary rights and trade secrets in the Products. You may not copy, reproduce, resell or redistribute any Product manufactured and/or distributed by Merferry. Merferry also has rights to all trademarks and trade dress and specific layouts of this webpage, including calls to action, text placement, images and other information.

Sales Tax: If you purchase any Products, you will be responsible for paying any applicable sales tax.

II. WEBSITE

Content; Intellectual Property; Third Party Links. In addition to making Products available, this Website also offers information and marketing materials. This Website also offers information, both directly and through indirect links to third-party websites, about nutritional and dietary supplements. Merferry does not always create the information offered on this Website; instead the information is often gathered from other sources. To the extent that Merferry does create the content on this Website, such content is protected by intellectual property laws of the India, foreign nations, and international bodies. Unauthorized use of the material may violate copyright, trademark, and/or other laws. You acknowledge that your use of the content on this Website is for personal, noncommercial use. Any links to thirdparty websites are provided solely as a convenience to you. Merferry does not endorse the contents on any such third-party websites. Merferry is not responsible for the content of or any damage that may result from your access to or reliance on these third-party websites. If you link to third-party websites, you do so at your own risk.

Use of Website. Merferry is not responsible for any damages resulting from use of this website by anyone. You will not use the Website for illegal purposes. You will (1) abide by all applicable local, state, national, and international laws and regulations in your use of the Website (including laws regarding intellectual property), (2) not interfere with or disrupt the use and enjoyment of the Website by other users, (3) not resell material on the Website, (4) not engage, directly or indirectly, in transmission of "spam", chain letters, junk mail or any other type of unsolicited communication, and (5) not defame, harass, abuse, or disrupt other users of the Website

License. By using this Website, you are granted a limited, non-exclusive, nontransferable right to use the content and materials on the Website in connection with your normal, noncommercial, use of the Website. You may not copy, reproduce, transmit, distribute, or create derivative works of such content or information without express written authorization from Merferry or the applicable third party (if third party content is at issue).

Posting. By posting, storing, or transmitting any content on the Website, you hereby grant Merferry a perpetual, worldwide, non-exclusive, royalty-free, assignable, right and license to use, copy, display, perform, create derivative works from, distribute, have distributed, transmit and assign such content in any form, in all media now known or hereinafter created, anywhere in the world. Merferry does not have the ability to control the nature of the user-generated content offered through the Website. You are solely responsible for your interactions with other users of the Website and any content you post. Merferry is not liable for any damage or harm resulting from any posts by or interactions between users. Merferry reserves the right, but has no obligation, to monitor interactions between and among users of the Website and to remove any content Merferry deems objectionable, in Merferry sole discretion.

III. DISCLAIMER OF WARRANTIES

YOUR USE OF THIS WEBSITE AND/OR PRODUCTS ARE AT YOUR SOLE RISK. THE WEBSITE AND PRODUCTS ARE OFFERED ON AN "AS IS" AND "AS AVAILABLE" BASIS. MERFERRY EXPRESSLY DISCLAIMS ALL WARRANTIES OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT WITH RESPECT TO THE PRODUCTS OR WEBSITE CONTENT, OR ANY RELIANCE UPON OR USE OF THE WEBSITE CONTENT OR PRODUCTS. ("PRODUCTS" INCLUDE TRIAL PRODUCTS.)

WITHOUT LIMITING THE GENERALITY OF THE FOREGOING, MERFERRY MAKES NO WARRANTY:

  • THAT THE INFORMATION PROVIDED ON THIS WEBSITE IS ACCURATE, RELIABLE, COMPLETE, OR TIMELY.
  • THAT THE LINKS TO THIRD-PARTY WEBSITES ARE TO INFORMATION THAT IS ACCURATE, RELIABLE, COMPLETE, OR TIMELY.
  • NO ADVICE OR INFORMATION, WHETHER ORAL OR WRITTEN, OBTAINED BY YOU FROM THIS WEBSITE WILL CREATE ANY WARRANTY NOT EXPRESSLY STATED HEREIN.
  • AS TO THE RESULTS THAT MAY BE OBTAINED FROM THE USE OF THE PRODUCTS OR THAT DEFECTS IN PRODUCTS WILL BE CORRECTED. REGARDING ANY PRODUCTS PURCHASED OR OBTAINED THROUGH THE WEBSITE.

SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF CERTAIN WARRANTIES, SO SOME OF THE ABOVE EXCLUSIONS MAY NOT APPLY TO YOU.

IV. LIMITATION OF LIABILITY

MERFERRY ENTIRE LIABILITY, AND YOUR EXCLUSIVE REMEDY, IN LAW, IN EQUITY, OR OTHWERWISE, WITH RESPECT TO THE WEBSITE CONTENT AND PRODUCTS AND/OR FOR ANY BREACH OF THIS AGREEMENT IS SOLELY LIMITED TO THE AMOUNT YOU PAID, LESS SHIPPING AND HANDLING, FOR PRODUCTS PURCHASED VIA THE WEBSITE.

MERFERRY WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES IN CONNECTION WITH THIS AGREEMENT OR THE PRODUCTS IN ANY MANNER, INCLUDING LIABILITIES RESULTING FROM (1) THE USE OR THE INABILITY TO USE THE WEBSITE CONTENT OR PRODUCTS; (2) THE COST OF PROCURING SUBSTITUTE PRODUCTS OR CONTENT; (3) ANY PRODUCTS PURCHASED OR OBTAINED OR TRANSACTIONS ENTERED INTO THROUGH THE WEBSITE; OR (4) ANY LOST PROFITS YOU ALLEGE.

SOME JURISDICTIONS DO NOT ALLOW THE LIMITATION OR EXCLUSION OF LIABILITY FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES SO SOME OF THE ABOVE LIMITATIONS MAY NOT APPLY TO YOU.

V. INDEMNIFICATION

You will release, indemnify, defend and hold harmless Merferry, and any of its contractors, agents, employees, officers, directors, shareholders, affiliates and assigns from all liabilities, claims, damages, costs and expenses, including reasonable attorneys' fees and expenses, of third parties relating to or arising out of (1) this Agreement or the breach of your warranties, representations and obligations under this Agreement; (2) the Website content or your use of the Website content; (3) the Products or your use of the Products (including Trial Products); (4) any intellectual property or other proprietary right of any person or entity; (5) your violation of any provision of this Agreement; or (6) any information or data you supplied to Merferry. When Merferry is threatened with suit or sued by a third party, Merferry may seek written assurances from you concerning your promise to indemnify Merferry; your failure to provide such assurances may be considered by Merferry to be a material breach of this Agreement. Merferry will have the right to participate in any defense by you of a thirdparty claim related to your use of any of the Website content or Products, with counsel of Merferry choice at its expense. Merferry will reasonably cooperate in any defense by you of a third-party claim at your request and expense. You will have sole responsibility to defend Merferry against any claim, but you must receive Merferry prior written consent regarding any related settlement. The terms of this provision will survive any termination or cancellation of this Agreement or your use of the Website or Products.

VI. PRIVACY

Merferry believes strongly in protecting user privacy and providing you with notice of Merferry use of data. Please refer to Merferry privacy policy, incorporated by reference herein, that is posted on the Website.

VI. AGREEMENT TO BE BOUND

By using this Website or ordering Products, you acknowledge that you have read and agree to be bound by this Agreement and all terms and conditions on this Website.

VIII. GENERAL

Force Majeure. Merferry will not be deemed in default hereunder or held responsible for any cessation, interruption or delay in the performance of its obligations hereunder due to earthquake, flood, fire, storm, natural disaster, act of God, war, terrorism, armed conflict, labor strike, lockout, or boycott. Cessation of Operation. Merferry may at any time, in its sole discretion and without advance notice to you, cease operation of the Website and distribution of the Products.

Entire Agreement. This Agreement comprises the entire agreement between you and Merferry and supersedes any prior agreements pertaining to the subject matter contained herein.

Effect of Waiver. The failure of Merferry to exercise or enforce any right or provision of this Agreement will not constitute a waiver of such right or provision. If any provision of this Agreement is found by a court of competent jurisdiction to be invalid, the parties nevertheless agree that the court should endeavor to give effect to the parties' intentions as reflected in the provision, and the other provisions of this Agreement remain in full force and effect.

Governing Law; Jurisdiction. This Website originates from the Hyderabad, Telangana. This Agreement will be governed by the laws of the State of Telangana without regard to its conflict of law principles to the contrary. Neither you nor Merferry will commence or prosecute any suit, proceeding or claim to enforce the provisions of this Agreement, to recover damages for breach of or default of this Agreement, or otherwise arising under or by reason of this Agreement, other than in courts located in State of Telangana. By using this Website or ordering Products, you consent to the jurisdiction and venue of such courts in connection with any action, suit, proceeding or claim arising under or by reason of this Agreement. You hereby waive any right to trial by jury arising out of this Agreement and any related documents.

Statute of Limitation. You agree that regardless of any statute or law to the contrary, any claim or cause of action arising out of or related to use of the Website or Products or this Agreement must be filed within one (1) year after such claim or cause of action arose or be forever barred.

Waiver of Class Action Rights. BY ENTERING INTO THIS AGREEMENT, YOU HEREBY IRREVOCABLY WAIVE ANY RIGHT YOU MAY HAVE TO JOIN CLAIMS WITH THOSE OF OTHER IN THE FORM OF A CLASS ACTION OR SIMILAR PROCEDURAL DEVICE. ANY CLAIMS ARISING OUT OF, RELATING TO, OR CONNECTION WITH THIS AGREEMENT MUST BE ASSERTED INDIVIDUALLY.

Termination. Merferry reserves the right to terminate your access to the Website if it reasonably believes, in its sole discretion, that you have breached any of the terms and conditions of this Agreement. Following termination, you will not be permitted to use the Website and Merferry may, in its sole discretion and without advance notice to you, cancel any outstanding orders for Products. If your access to the Website is terminated, Merferry reserves the right to exercise whatever means it deems necessary to prevent unauthorized access of the Website. This Agreement will survive indefinitely unless and until Merferry chooses, in its sole discretion and without advance to you, to terminate it.

Domestic Use. Merferry makes no representation that the Website or Products are appropriate or available for use in locations outside India. Users who access the Website from outside India do so at their own risk and initiative and must bear all responsibility for compliance with any applicable local laws.

Assignment. You may not assign your rights and obligations under this Agreement to anyone. Merferry may assign its rights and obligations under this Agreement in its sole discretion and without advance notice to you.

BY USING THIS WEBSITE OR ORDERING PRODUCTS FROM THIS WEBSITE YOU AGREE TO BE BOUND BY ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT.

-------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU AFFERO GENERAL PUBLIC LICENSE 2 | Version 3, 19 November 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU Affero General Public License is a free, copyleft license for 11 | software and other kinds of works, specifically designed to ensure 12 | cooperation with the community in the case of network server software. 13 | 14 | The licenses for most software and other practical works are designed 15 | to take away your freedom to share and change the works. By contrast, 16 | our General Public Licenses are intended to guarantee your freedom to 17 | share and change all versions of a program--to make sure it remains free 18 | software for all its users. 19 | 20 | When we speak of free software, we are referring to freedom, not 21 | price. Our General Public Licenses are designed to make sure that you 22 | have the freedom to distribute copies of free software (and charge for 23 | them if you wish), that you receive source code or can get it if you 24 | want it, that you can change the software or use pieces of it in new 25 | free programs, and that you know you can do these things. 26 | 27 | Developers that use our General Public Licenses protect your rights 28 | with two steps: (1) assert copyright on the software, and (2) offer 29 | you this License which gives you legal permission to copy, distribute 30 | and/or modify the software. 31 | 32 | A secondary benefit of defending all users' freedom is that 33 | improvements made in alternate versions of the program, if they 34 | receive widespread use, become available for other developers to 35 | incorporate. Many developers of free software are heartened and 36 | encouraged by the resulting cooperation. However, in the case of 37 | software used on network servers, this result may fail to come about. 38 | The GNU General Public License permits making a modified version and 39 | letting the public access it on a server without ever releasing its 40 | source code to the public. 41 | 42 | The GNU Affero General Public License is designed specifically to 43 | ensure that, in such cases, the modified source code becomes available 44 | to the community. It requires the operator of a network server to 45 | provide the source code of the modified version running there to the 46 | users of that server. Therefore, public use of a modified version, on 47 | a publicly accessible server, gives the public access to the source 48 | code of the modified version. 49 | 50 | An older license, called the Affero General Public License and 51 | published by Affero, was designed to accomplish similar goals. This is 52 | a different license, not a version of the Affero GPL, but Affero has 53 | released a new version of the Affero GPL which permits relicensing under 54 | this license. 55 | 56 | The precise terms and conditions for copying, distribution and 57 | modification follow. 58 | 59 | TERMS AND CONDITIONS 60 | 61 | 0. Definitions. 62 | 63 | "This License" refers to version 3 of the GNU Affero General Public License. 64 | 65 | "Copyright" also means copyright-like laws that apply to other kinds of 66 | works, such as semiconductor masks. 67 | 68 | "The Program" refers to any copyrightable work licensed under this 69 | License. Each licensee is addressed as "you". "Licensees" and 70 | "recipients" may be individuals or organizations. 71 | 72 | To "modify" a work means to copy from or adapt all or part of the work 73 | in a fashion requiring copyright permission, other than the making of an 74 | exact copy. The resulting work is called a "modified version" of the 75 | earlier work or a work "based on" the earlier work. 76 | 77 | A "covered work" means either the unmodified Program or a work based 78 | on the Program. 79 | 80 | To "propagate" a work means to do anything with it that, without 81 | permission, would make you directly or secondarily liable for 82 | infringement under applicable copyright law, except executing it on a 83 | computer or modifying a private copy. Propagation includes copying, 84 | distribution (with or without modification), making available to the 85 | public, and in some countries other activities as well. 86 | 87 | To "convey" a work means any kind of propagation that enables other 88 | parties to make or receive copies. Mere interaction with a user through 89 | a computer network, with no transfer of a copy, is not conveying. 90 | 91 | An interactive user interface displays "Appropriate Legal Notices" 92 | to the extent that it includes a convenient and prominently visible 93 | feature that (1) displays an appropriate copyright notice, and (2) 94 | tells the user that there is no warranty for the work (except to the 95 | extent that warranties are provided), that licensees may convey the 96 | work under this License, and how to view a copy of this License. If 97 | the interface presents a list of user commands or options, such as a 98 | menu, a prominent item in the list meets this criterion. 99 | 100 | 1. Source Code. 101 | 102 | The "source code" for a work means the preferred form of the work 103 | for making modifications to it. "Object code" means any non-source 104 | form of a work. 105 | 106 | A "Standard Interface" means an interface that either is an official 107 | standard defined by a recognized standards body, or, in the case of 108 | interfaces specified for a particular programming language, one that 109 | is widely used among developers working in that language. 110 | 111 | The "System Libraries" of an executable work include anything, other 112 | than the work as a whole, that (a) is included in the normal form of 113 | packaging a Major Component, but which is not part of that Major 114 | Component, and (b) serves only to enable use of the work with that 115 | Major Component, or to implement a Standard Interface for which an 116 | implementation is available to the public in source code form. A 117 | "Major Component", in this context, means a major essential component 118 | (kernel, window system, and so on) of the specific operating system 119 | (if any) on which the executable work runs, or a compiler used to 120 | produce the work, or an object code interpreter used to run it. 121 | 122 | The "Corresponding Source" for a work in object code form means all 123 | the source code needed to generate, install, and (for an executable 124 | work) run the object code and to modify the work, including scripts to 125 | control those activities. However, it does not include the work's 126 | System Libraries, or general-purpose tools or generally available free 127 | programs which are used unmodified in performing those activities but 128 | which are not part of the work. For example, Corresponding Source 129 | includes interface definition files associated with source files for 130 | the work, and the source code for shared libraries and dynamically 131 | linked subprograms that the work is specifically designed to require, 132 | such as by intimate data communication or control flow between those 133 | subprograms and other parts of the work. 134 | 135 | The Corresponding Source need not include anything that users 136 | can regenerate automatically from other parts of the Corresponding 137 | Source. 138 | 139 | The Corresponding Source for a work in source code form is that 140 | same work. 141 | 142 | 2. Basic Permissions. 143 | 144 | All rights granted under this License are granted for the term of 145 | copyright on the Program, and are irrevocable provided the stated 146 | conditions are met. This License explicitly affirms your unlimited 147 | permission to run the unmodified Program. The output from running a 148 | covered work is covered by this License only if the output, given its 149 | content, constitutes a covered work. This License acknowledges your 150 | rights of fair use or other equivalent, as provided by copyright law. 151 | 152 | You may make, run and propagate covered works that you do not 153 | convey, without conditions so long as your license otherwise remains 154 | in force. You may convey covered works to others for the sole purpose 155 | of having them make modifications exclusively for you, or provide you 156 | with facilities for running those works, provided that you comply with 157 | the terms of this License in conveying all material for which you do 158 | not control copyright. Those thus making or running the covered works 159 | for you must do so exclusively on your behalf, under your direction 160 | and control, on terms that prohibit them from making any copies of 161 | your copyrighted material outside their relationship with you. 162 | 163 | Conveying under any other circumstances is permitted solely under 164 | the conditions stated below. Sublicensing is not allowed; section 10 165 | makes it unnecessary. 166 | 167 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 168 | 169 | No covered work shall be deemed part of an effective technological 170 | measure under any applicable law fulfilling obligations under article 171 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 172 | similar laws prohibiting or restricting circumvention of such 173 | measures. 174 | 175 | When you convey a covered work, you waive any legal power to forbid 176 | circumvention of technological measures to the extent such circumvention 177 | is effected by exercising rights under this License with respect to 178 | the covered work, and you disclaim any intention to limit operation or 179 | modification of the work as a means of enforcing, against the work's 180 | users, your or third parties' legal rights to forbid circumvention of 181 | technological measures. 182 | 183 | 4. Conveying Verbatim Copies. 184 | 185 | You may convey verbatim copies of the Program's source code as you 186 | receive it, in any medium, provided that you conspicuously and 187 | appropriately publish on each copy an appropriate copyright notice; 188 | keep intact all notices stating that this License and any 189 | non-permissive terms added in accord with section 7 apply to the code; 190 | keep intact all notices of the absence of any warranty; and give all 191 | recipients a copy of this License along with the Program. 192 | 193 | You may charge any price or no price for each copy that you convey, 194 | and you may offer support or warranty protection for a fee. 195 | 196 | 5. Conveying Modified Source Versions. 197 | 198 | You may convey a work based on the Program, or the modifications to 199 | produce it from the Program, in the form of source code under the 200 | terms of section 4, provided that you also meet all of these conditions: 201 | 202 | a) The work must carry prominent notices stating that you modified 203 | it, and giving a relevant date. 204 | 205 | b) The work must carry prominent notices stating that it is 206 | released under this License and any conditions added under section 207 | 7. This requirement modifies the requirement in section 4 to 208 | "keep intact all notices". 209 | 210 | c) You must license the entire work, as a whole, under this 211 | License to anyone who comes into possession of a copy. This 212 | License will therefore apply, along with any applicable section 7 213 | additional terms, to the whole of the work, and all its parts, 214 | regardless of how they are packaged. This License gives no 215 | permission to license the work in any other way, but it does not 216 | invalidate such permission if you have separately received it. 217 | 218 | d) If the work has interactive user interfaces, each must display 219 | Appropriate Legal Notices; however, if the Program has interactive 220 | interfaces that do not display Appropriate Legal Notices, your 221 | work need not make them do so. 222 | 223 | A compilation of a covered work with other separate and independent 224 | works, which are not by their nature extensions of the covered work, 225 | and which are not combined with it such as to form a larger program, 226 | in or on a volume of a storage or distribution medium, is called an 227 | "aggregate" if the compilation and its resulting copyright are not 228 | used to limit the access or legal rights of the compilation's users 229 | beyond what the individual works permit. Inclusion of a covered work 230 | in an aggregate does not cause this License to apply to the other 231 | parts of the aggregate. 232 | 233 | 6. Conveying Non-Source Forms. 234 | 235 | You may convey a covered work in object code form under the terms 236 | of sections 4 and 5, provided that you also convey the 237 | machine-readable Corresponding Source under the terms of this License, 238 | in one of these ways: 239 | 240 | a) Convey the object code in, or embodied in, a physical product 241 | (including a physical distribution medium), accompanied by the 242 | Corresponding Source fixed on a durable physical medium 243 | customarily used for software interchange. 244 | 245 | b) Convey the object code in, or embodied in, a physical product 246 | (including a physical distribution medium), accompanied by a 247 | written offer, valid for at least three years and valid for as 248 | long as you offer spare parts or customer support for that product 249 | model, to give anyone who possesses the object code either (1) a 250 | copy of the Corresponding Source for all the software in the 251 | product that is covered by this License, on a durable physical 252 | medium customarily used for software interchange, for a price no 253 | more than your reasonable cost of physically performing this 254 | conveying of source, or (2) access to copy the 255 | Corresponding Source from a network server at no charge. 256 | 257 | c) Convey individual copies of the object code with a copy of the 258 | written offer to provide the Corresponding Source. This 259 | alternative is allowed only occasionally and noncommercially, and 260 | only if you received the object code with such an offer, in accord 261 | with subsection 6b. 262 | 263 | d) Convey the object code by offering access from a designated 264 | place (gratis or for a charge), and offer equivalent access to the 265 | Corresponding Source in the same way through the same place at no 266 | further charge. You need not require recipients to copy the 267 | Corresponding Source along with the object code. If the place to 268 | copy the object code is a network server, the Corresponding Source 269 | may be on a different server (operated by you or a third party) 270 | that supports equivalent copying facilities, provided you maintain 271 | clear directions next to the object code saying where to find the 272 | Corresponding Source. Regardless of what server hosts the 273 | Corresponding Source, you remain obligated to ensure that it is 274 | available for as long as needed to satisfy these requirements. 275 | 276 | e) Convey the object code using peer-to-peer transmission, provided 277 | you inform other peers where the object code and Corresponding 278 | Source of the work are being offered to the general public at no 279 | charge under subsection 6d. 280 | 281 | A separable portion of the object code, whose source code is excluded 282 | from the Corresponding Source as a System Library, need not be 283 | included in conveying the object code work. 284 | 285 | A "User Product" is either (1) a "consumer product", which means any 286 | tangible personal property which is normally used for personal, family, 287 | or household purposes, or (2) anything designed or sold for incorporation 288 | into a dwelling. In determining whether a product is a consumer product, 289 | doubtful cases shall be resolved in favor of coverage. For a particular 290 | product received by a particular user, "normally used" refers to a 291 | typical or common use of that class of product, regardless of the status 292 | of the particular user or of the way in which the particular user 293 | actually uses, or expects or is expected to use, the product. A product 294 | is a consumer product regardless of whether the product has substantial 295 | commercial, industrial or non-consumer uses, unless such uses represent 296 | the only significant mode of use of the product. 297 | 298 | "Installation Information" for a User Product means any methods, 299 | procedures, authorization keys, or other information required to install 300 | and execute modified versions of a covered work in that User Product from 301 | a modified version of its Corresponding Source. The information must 302 | suffice to ensure that the continued functioning of the modified object 303 | code is in no case prevented or interfered with solely because 304 | modification has been made. 305 | 306 | If you convey an object code work under this section in, or with, or 307 | specifically for use in, a User Product, and the conveying occurs as 308 | part of a transaction in which the right of possession and use of the 309 | User Product is transferred to the recipient in perpetuity or for a 310 | fixed term (regardless of how the transaction is characterized), the 311 | Corresponding Source conveyed under this section must be accompanied 312 | by the Installation Information. But this requirement does not apply 313 | if neither you nor any third party retains the ability to install 314 | modified object code on the User Product (for example, the work has 315 | been installed in ROM). 316 | 317 | The requirement to provide Installation Information does not include a 318 | requirement to continue to provide support service, warranty, or updates 319 | for a work that has been modified or installed by the recipient, or for 320 | the User Product in which it has been modified or installed. Access to a 321 | network may be denied when the modification itself materially and 322 | adversely affects the operation of the network or violates the rules and 323 | protocols for communication across the network. 324 | 325 | Corresponding Source conveyed, and Installation Information provided, 326 | in accord with this section must be in a format that is publicly 327 | documented (and with an implementation available to the public in 328 | source code form), and must require no special password or key for 329 | unpacking, reading or copying. 330 | 331 | 7. Additional Terms. 332 | 333 | "Additional permissions" are terms that supplement the terms of this 334 | License by making exceptions from one or more of its conditions. 335 | Additional permissions that are applicable to the entire Program shall 336 | be treated as though they were included in this License, to the extent 337 | that they are valid under applicable law. If additional permissions 338 | apply only to part of the Program, that part may be used separately 339 | under those permissions, but the entire Program remains governed by 340 | this License without regard to the additional permissions. 341 | 342 | When you convey a copy of a covered work, you may at your option 343 | remove any additional permissions from that copy, or from any part of 344 | it. (Additional permissions may be written to require their own 345 | removal in certain cases when you modify the work.) You may place 346 | additional permissions on material, added by you to a covered work, 347 | for which you have or can give appropriate copyright permission. 348 | 349 | Notwithstanding any other provision of this License, for material you 350 | add to a covered work, you may (if authorized by the copyright holders of 351 | that material) supplement the terms of this License with terms: 352 | 353 | a) Disclaiming warranty or limiting liability differently from the 354 | terms of sections 15 and 16 of this License; or 355 | 356 | b) Requiring preservation of specified reasonable legal notices or 357 | author attributions in that material or in the Appropriate Legal 358 | Notices displayed by works containing it; or 359 | 360 | c) Prohibiting misrepresentation of the origin of that material, or 361 | requiring that modified versions of such material be marked in 362 | reasonable ways as different from the original version; or 363 | 364 | d) Limiting the use for publicity purposes of names of licensors or 365 | authors of the material; or 366 | 367 | e) Declining to grant rights under trademark law for use of some 368 | trade names, trademarks, or service marks; or 369 | 370 | f) Requiring indemnification of licensors and authors of that 371 | material by anyone who conveys the material (or modified versions of 372 | it) with contractual assumptions of liability to the recipient, for 373 | any liability that these contractual assumptions directly impose on 374 | those licensors and authors. 375 | 376 | All other non-permissive additional terms are considered "further 377 | restrictions" within the meaning of section 10. If the Program as you 378 | received it, or any part of it, contains a notice stating that it is 379 | governed by this License along with a term that is a further 380 | restriction, you may remove that term. If a license document contains 381 | a further restriction but permits relicensing or conveying under this 382 | License, you may add to a covered work material governed by the terms 383 | of that license document, provided that the further restriction does 384 | not survive such relicensing or conveying. 385 | 386 | If you add terms to a covered work in accord with this section, you 387 | must place, in the relevant source files, a statement of the 388 | additional terms that apply to those files, or a notice indicating 389 | where to find the applicable terms. 390 | 391 | Additional terms, permissive or non-permissive, may be stated in the 392 | form of a separately written license, or stated as exceptions; 393 | the above requirements apply either way. 394 | 395 | 8. Termination. 396 | 397 | You may not propagate or modify a covered work except as expressly 398 | provided under this License. Any attempt otherwise to propagate or 399 | modify it is void, and will automatically terminate your rights under 400 | this License (including any patent licenses granted under the third 401 | paragraph of section 11). 402 | 403 | However, if you cease all violation of this License, then your 404 | license from a particular copyright holder is reinstated (a) 405 | provisionally, unless and until the copyright holder explicitly and 406 | finally terminates your license, and (b) permanently, if the copyright 407 | holder fails to notify you of the violation by some reasonable means 408 | prior to 60 days after the cessation. 409 | 410 | Moreover, your license from a particular copyright holder is 411 | reinstated permanently if the copyright holder notifies you of the 412 | violation by some reasonable means, this is the first time you have 413 | received notice of violation of this License (for any work) from that 414 | copyright holder, and you cure the violation prior to 30 days after 415 | your receipt of the notice. 416 | 417 | Termination of your rights under this section does not terminate the 418 | licenses of parties who have received copies or rights from you under 419 | this License. If your rights have been terminated and not permanently 420 | reinstated, you do not qualify to receive new licenses for the same 421 | material under section 10. 422 | 423 | 9. Acceptance Not Required for Having Copies. 424 | 425 | You are not required to accept this License in order to receive or 426 | run a copy of the Program. Ancillary propagation of a covered work 427 | occurring solely as a consequence of using peer-to-peer transmission 428 | to receive a copy likewise does not require acceptance. However, 429 | nothing other than this License grants you permission to propagate or 430 | modify any covered work. These actions infringe copyright if you do 431 | not accept this License. Therefore, by modifying or propagating a 432 | covered work, you indicate your acceptance of this License to do so. 433 | 434 | 10. Automatic Licensing of Downstream Recipients. 435 | 436 | Each time you convey a covered work, the recipient automatically 437 | receives a license from the original licensors, to run, modify and 438 | propagate that work, subject to this License. You are not responsible 439 | for enforcing compliance by third parties with this License. 440 | 441 | An "entity transaction" is a transaction transferring control of an 442 | organization, or substantially all assets of one, or subdividing an 443 | organization, or merging organizations. If propagation of a covered 444 | work results from an entity transaction, each party to that 445 | transaction who receives a copy of the work also receives whatever 446 | licenses to the work the party's predecessor in interest had or could 447 | give under the previous paragraph, plus a right to possession of the 448 | Corresponding Source of the work from the predecessor in interest, if 449 | the predecessor has it or can get it with reasonable efforts. 450 | 451 | You may not impose any further restrictions on the exercise of the 452 | rights granted or affirmed under this License. For example, you may 453 | not impose a license fee, royalty, or other charge for exercise of 454 | rights granted under this License, and you may not initiate litigation 455 | (including a cross-claim or counterclaim in a lawsuit) alleging that 456 | any patent claim is infringed by making, using, selling, offering for 457 | sale, or importing the Program or any portion of it. 458 | 459 | 11. Patents. 460 | 461 | A "contributor" is a copyright holder who authorizes use under this 462 | License of the Program or a work on which the Program is based. The 463 | work thus licensed is called the contributor's "contributor version". 464 | 465 | A contributor's "essential patent claims" are all patent claims 466 | owned or controlled by the contributor, whether already acquired or 467 | hereafter acquired, that would be infringed by some manner, permitted 468 | by this License, of making, using, or selling its contributor version, 469 | but do not include claims that would be infringed only as a 470 | consequence of further modification of the contributor version. For 471 | purposes of this definition, "control" includes the right to grant 472 | patent sublicenses in a manner consistent with the requirements of 473 | this License. 474 | 475 | Each contributor grants you a non-exclusive, worldwide, royalty-free 476 | patent license under the contributor's essential patent claims, to 477 | make, use, sell, offer for sale, import and otherwise run, modify and 478 | propagate the contents of its contributor version. 479 | 480 | In the following three paragraphs, a "patent license" is any express 481 | agreement or commitment, however denominated, not to enforce a patent 482 | (such as an express permission to practice a patent or covenant not to 483 | sue for patent infringement). To "grant" such a patent license to a 484 | party means to make such an agreement or commitment not to enforce a 485 | patent against the party. 486 | 487 | If you convey a covered work, knowingly relying on a patent license, 488 | and the Corresponding Source of the work is not available for anyone 489 | to copy, free of charge and under the terms of this License, through a 490 | publicly available network server or other readily accessible means, 491 | then you must either (1) cause the Corresponding Source to be so 492 | available, or (2) arrange to deprive yourself of the benefit of the 493 | patent license for this particular work, or (3) arrange, in a manner 494 | consistent with the requirements of this License, to extend the patent 495 | license to downstream recipients. "Knowingly relying" means you have 496 | actual knowledge that, but for the patent license, your conveying the 497 | covered work in a country, or your recipient's use of the covered work 498 | in a country, would infringe one or more identifiable patents in that 499 | country that you have reason to believe are valid. 500 | 501 | If, pursuant to or in connection with a single transaction or 502 | arrangement, you convey, or propagate by procuring conveyance of, a 503 | covered work, and grant a patent license to some of the parties 504 | receiving the covered work authorizing them to use, propagate, modify 505 | or convey a specific copy of the covered work, then the patent license 506 | you grant is automatically extended to all recipients of the covered 507 | work and works based on it. 508 | 509 | A patent license is "discriminatory" if it does not include within 510 | the scope of its coverage, prohibits the exercise of, or is 511 | conditioned on the non-exercise of one or more of the rights that are 512 | specifically granted under this License. You may not convey a covered 513 | work if you are a party to an arrangement with a third party that is 514 | in the business of distributing software, under which you make payment 515 | to the third party based on the extent of your activity of conveying 516 | the work, and under which the third party grants, to any of the 517 | parties who would receive the covered work from you, a discriminatory 518 | patent license (a) in connection with copies of the covered work 519 | conveyed by you (or copies made from those copies), or (b) primarily 520 | for and in connection with specific products or compilations that 521 | contain the covered work, unless you entered into that arrangement, 522 | or that patent license was granted, prior to 28 March 2007. 523 | 524 | Nothing in this License shall be construed as excluding or limiting 525 | any implied license or other defenses to infringement that may 526 | otherwise be available to you under applicable patent law. 527 | 528 | 12. No Surrender of Others' Freedom. 529 | 530 | If conditions are imposed on you (whether by court order, agreement or 531 | otherwise) that contradict the conditions of this License, they do not 532 | excuse you from the conditions of this License. If you cannot convey a 533 | covered work so as to satisfy simultaneously your obligations under this 534 | License and any other pertinent obligations, then as a consequence you may 535 | not convey it at all. For example, if you agree to terms that obligate you 536 | to collect a royalty for further conveying from those to whom you convey 537 | the Program, the only way you could satisfy both those terms and this 538 | License would be to refrain entirely from conveying the Program. 539 | 540 | 13. Remote Network Interaction; Use with the GNU General Public License. 541 | 542 | Notwithstanding any other provision of this License, if you modify the 543 | Program, your modified version must prominently offer all users 544 | interacting with it remotely through a computer network (if your version 545 | supports such interaction) an opportunity to receive the Corresponding 546 | Source of your version by providing access to the Corresponding Source 547 | from a network server at no charge, through some standard or customary 548 | means of facilitating copying of software. This Corresponding Source 549 | shall include the Corresponding Source for any work covered by version 3 550 | of the GNU General Public License that is incorporated pursuant to the 551 | following paragraph. 552 | 553 | Notwithstanding any other provision of this License, you have 554 | permission to link or combine any covered work with a work licensed 555 | under version 3 of the GNU General Public License into a single 556 | combined work, and to convey the resulting work. The terms of this 557 | License will continue to apply to the part which is the covered work, 558 | but the work with which it is combined will remain governed by version 559 | 3 of the GNU General Public License. 560 | 561 | 14. Revised Versions of this License. 562 | 563 | The Free Software Foundation may publish revised and/or new versions of 564 | the GNU Affero General Public License from time to time. Such new versions 565 | will be similar in spirit to the present version, but may differ in detail to 566 | address new problems or concerns. 567 | 568 | Each version is given a distinguishing version number. If the 569 | Program specifies that a certain numbered version of the GNU Affero General 570 | Public License "or any later version" applies to it, you have the 571 | option of following the terms and conditions either of that numbered 572 | version or of any later version published by the Free Software 573 | Foundation. If the Program does not specify a version number of the 574 | GNU Affero General Public License, you may choose any version ever published 575 | by the Free Software Foundation. 576 | 577 | If the Program specifies that a proxy can decide which future 578 | versions of the GNU Affero General Public License can be used, that proxy's 579 | public statement of acceptance of a version permanently authorizes you 580 | to choose that version for the Program. 581 | 582 | Later license versions may give you additional or different 583 | permissions. However, no additional obligations are imposed on any 584 | author or copyright holder as a result of your choosing to follow a 585 | later version. 586 | 587 | 15. Disclaimer of Warranty. 588 | 589 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 590 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 591 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 592 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 593 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 594 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 595 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 596 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 597 | 598 | 16. Limitation of Liability. 599 | 600 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 601 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 602 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 603 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 604 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 605 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 606 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 607 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 608 | SUCH DAMAGES. 609 | 610 | 17. Interpretation of Sections 15 and 16. 611 | 612 | If the disclaimer of warranty and limitation of liability provided 613 | above cannot be given local legal effect according to their terms, 614 | reviewing courts shall apply local law that most closely approximates 615 | an absolute waiver of all civil liability in connection with the 616 | Program, unless a warranty or assumption of liability accompanies a 617 | copy of the Program in return for a fee. 618 | 619 | END OF TERMS AND CONDITIONS 620 | 621 | How to Apply These Terms to Your New Programs 622 | 623 | If you develop a new program, and you want it to be of the greatest 624 | possible use to the public, the best way to achieve this is to make it 625 | free software which everyone can redistribute and change under these terms. 626 | 627 | To do so, attach the following notices to the program. It is safest 628 | to attach them to the start of each source file to most effectively 629 | state the exclusion of warranty; and each file should have at least 630 | the "copyright" line and a pointer to where the full notice is found. 631 | 632 | 633 | Copyright (C) 634 | 635 | This program is free software: you can redistribute it and/or modify 636 | it under the terms of the GNU Affero General Public License as published 637 | by the Free Software Foundation, either version 3 of the License, or 638 | (at your option) any later version. 639 | 640 | This program is distributed in the hope that it will be useful, 641 | but WITHOUT ANY WARRANTY; without even the implied warranty of 642 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 643 | GNU Affero General Public License for more details. 644 | 645 | You should have received a copy of the GNU Affero General Public License 646 | along with this program. If not, see . 647 | 648 | Also add information on how to contact you by electronic and paper mail. 649 | 650 | If your software can interact with users remotely through a computer 651 | network, you should also make sure that it provides a way for users to 652 | get its source. For example, if your program is a web application, its 653 | interface could display a "Source" link that leads users to an archive 654 | of the code. There are many ways you could offer source, and different 655 | solutions will be better for different programs; see section 13 for the 656 | specific requirements. 657 | 658 | You should also get your employer (if you work as a programmer) or school, 659 | if any, to sign a "copyright disclaimer" for the program, if necessary. 660 | For more information on this, and how to apply and follow the GNU AGPL, see 661 | . 662 | --------------------------------------------------------------------------------