Reposting my oil recipe.
1/4oz. of herb per cup of coconut oil -- I only have access to premium bud. If you have access to mids or you know a grower who will give you their trimmings, you can pack in a lot more plant material, up to a half or even a full oz. of plant material per cup of oil. You can experiment with your ratios any way you like, just exercise caution as necessary with your consumption. You can always have a second cookie if the first one is weak, but good luck if you eat a cookie that's too strong and you're tweaking out like an idiot for 3 hours.
Your plant material should be ground as fine as possible.
Your coconut oil should be highest quality organic/virgin or whatever. Coconut oil has a much greater capacity to absorb the organic compounds from your plants than does butter for example. And it's a pure and delicious fat source that makes the best chocolate chip cookies you've ever had.
To maximize that absorbtion capacity, add 3 teaspoons of lecithin powder to each cup of oil. This step is really important in my experience.
But first things first: take your finely ground herb and place it in a pyrex dish. Cover TIGHTLY with foil and bake at 220 for 30 minutes. Turn off the oven and let it sit until cooled. DO NOT open the foil until it cools.
Add your coconut oil and lecithin to that cooked herb, as per the ratios mentioned above. Again, bake in pyrex and seal as tightly as possible. Bake at 220 for one hour, then turn off the heat and let it sit there until it's completely cooled. You've now started the process of baking the organic compounds from the plant into the fat molecules in the coconut oil. The lecithin you've stirred in has maximized that process. Now, freeze it for at least 8 hours. Freezing smashes up any trichomes that haven't already been broken down by the steps above. Then defrost, and again bake tightly covered at 220 for 20 minutes, again letting it sit until cooled.
Note that all of these cooking/freezing/defrosting/cooking steps have broken down your herb as completely as possible, until every molecule of goodness has been absorbed into that delicious oil with which you can now bake some quality cookies/brownies/whatever. It's been so beaten up by heat and cold that you don't even need to strain it out of the oil. By the time you bake cookies with it for example, the texture will be like any normal cookies you've ever had -- no weird chunks of stems, leaves, etc. But, every last bit of potency from your herb has been captured by this process and is suspended in that oil, ready to get baked into your favorite treats. It's the perfect extraction from a bud/smokable form to a liquid/cookable form. In other words: BIOAVAILABILITY.