# Where can I find the .env for installed Phanpy?

**URL:** <https://forum.yunohost.org/t/where-can-i-find-the-env-for-installed-phanpy/40361>\
**Category:** Support apps\
**Tags:** phanpy, english\
**Created:** [October 10, 2025, 3:47pm UTC](https://forum.yunohost.org/t/where-can-i-find-the-env-for-installed-phanpy/40361 "2025-10-10T15:47:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![leonieke](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/l/9d8465/32.png) [@leonieke](https://forum.yunohost.org/u/leonieke)\
**Post date:** [October 10, 2025, 3:47pm UTC](https://forum.yunohost.org/t/where-can-i-find-the-env-for-installed-phanpy/40361/1 "2025-10-10T15:47:55Z")

</div>

**What app is this about, and its version** : Phanpy 20251009~ynh1  
**What YunoHost version are you running** : 12.1.27 (stable)  
**What type of hardware are you using** : VPS bought online

### Describe your issue

I want to add Giphy API code to my Phanpy installation. When I read the docs for Phanpy it tells me to add a line of code to the .env of the installation (PHANPY\_GIPHY\_API\_KEY).

Where can I find the .env file of a yunohost Phanpy installation?  
Logged in as user ‘phanpy’, I do not see the .env file in /var/www/phanpy, where else could it be?  
Thanks!

(ps: tag “phanpy” does not seems to exist in the tag-dropdown)

### Share relevant logs or error messages

(no logs to share)

---

<div class="post-metadata">

**Author:** ![jarod5001](https://forum.yunohost.org/user_avatar/forum.yunohost.org/jarod5001/32/5323_2.png) [@jarod5001](https://forum.yunohost.org/u/jarod5001)\
**Post date:** [October 10, 2025, 4:15pm UTC](https://forum.yunohost.org/t/where-can-i-find-the-env-for-installed-phanpy/40361/2 "2025-10-10T16:15:16Z")

</div>

Did you try to create it? With the correct ownership

---

<div class="post-metadata">

**Author:** ![leonieke](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/l/9d8465/32.png) [@leonieke](https://forum.yunohost.org/u/leonieke)\
**Post date:** [October 10, 2025, 7:13pm UTC](https://forum.yunohost.org/t/where-can-i-find-the-env-for-installed-phanpy/40361/3 "2025-10-10T19:13:42Z")

</div>

I had not thought of that, thanks!  
Going to try now 🙂

---

<div class="post-metadata">

**Author:** ![ghose](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ghose/32/14169_2.png) [@ghose](https://forum.yunohost.org/u/ghose)\
**Post date:** [October 11, 2025, 4:37am UTC](https://forum.yunohost.org/t/where-can-i-find-the-env-for-installed-phanpy/40361/4 "2025-10-11T04:37:39Z")

</div>

when you install phanpy\_ynh you are installing phanpy «the easy way»; if you want to use .env variables you have to install using «custom build way» as described in the **documentation** :

> **[GitHub - cheeaun/phanpy: A minimalistic opinionated Mastodon web client](https://github.com/cheeaun/phanpy/#self-hosting)**
>
> A minimalistic opinionated Mastodon web client

and then host that build using my\_webapp (ie)

@leonieke

---

<div class="post-metadata">

**Author:** ![leonieke](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/l/9d8465/32.png) [@leonieke](https://forum.yunohost.org/u/leonieke)\
**Post date:** [October 12, 2025, 8:10am UTC](https://forum.yunohost.org/t/where-can-i-find-the-env-for-installed-phanpy/40361/5 "2025-10-12T08:10:12Z")

</div>

Thanks, that makes sense, I had not considered this. 👍

---

<div class="post-metadata">

**Author:** ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)\
**Post date:** [October 27, 2025, 8:10am UTC](https://forum.yunohost.org/t/where-can-i-find-the-env-for-installed-phanpy/40361/6 "2025-10-27T08:10:47Z")

</div>

Closed on October 27, 2025, 8:10am UTC

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
