From 4c24581b9dbfa66cd5bcc79042b2b3037cd14b7c Mon Sep 17 00:00:00 2001
From: AKHIL
Date: Wed, 22 Jul 2026 13:57:05 +0530
Subject: [PATCH 1/2] Opensource fixes
---
LICENSE | 697 ++++++++++++++++--
README.md | 8 +-
apps/backend/app/api/routes/auth/api.py | 3 -
apps/backend/app/api/routes/auth/schema.py | 4 -
apps/backend/app/api/routes/auth/services.py | 3 -
.../backend/app/api/routes/auth/users_repo.py | 34 +-
apps/backend/app/utils/collection_name.py | 1 -
.../scripts/backfill_early_adopter_plan.py | 71 --
apps/backend/tests/test_early_adopter_plan.py | 89 ---
apps/desktop-ui/messages/en.json | 17 +-
apps/desktop-ui/src/app/activate/page.tsx | 49 +-
.../src/components/announcement-banner.tsx | 24 +-
.../desktop/desktop-plan-settings.tsx | 31 +-
apps/desktop-ui/src/components/footer.tsx | 2 +-
apps/desktop-ui/src/components/header.tsx | 4 +-
.../src/components/legal-agreement-footer.tsx | 30 +-
apps/desktop-ui/src/lib/desktop/activation.ts | 8 +-
apps/desktop-ui/src/lib/seo/platform-pages.ts | 54 +-
.../src-tauri/src/router/activation.rs | 12 +-
apps/web/messages/en.json | 13 -
apps/web/src/app/account/plan/page.tsx | 29 +-
apps/web/src/app/dashboard/page.tsx | 10 +-
apps/web/src/app/page.tsx | 46 +-
apps/web/src/app/pricing/page.tsx | 7 +-
.../src/components/announcement-banner.tsx | 24 +-
apps/web/src/components/footer.tsx | 2 +-
apps/web/src/components/header.tsx | 4 +-
.../src/components/legal-agreement-footer.tsx | 52 +-
apps/web/src/components/plan-card.tsx | 78 --
apps/web/src/components/pricing-tiers.tsx | 126 ----
apps/web/src/lib/seo/platform-pages.ts | 53 +-
apps/web/src/lib/seo/structured-data.ts | 10 +-
apps/web/src/lib/use-account-profile.ts | 10 +-
33 files changed, 845 insertions(+), 760 deletions(-)
delete mode 100644 apps/backend/scripts/backfill_early_adopter_plan.py
delete mode 100644 apps/backend/tests/test_early_adopter_plan.py
delete mode 100644 apps/web/src/components/plan-card.tsx
delete mode 100644 apps/web/src/components/pricing-tiers.tsx
diff --git a/LICENSE b/LICENSE
index c865f487..be3f7b28 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,76 +1,661 @@
-MyDevTools.tech License
-Version 1.0
+ GNU AFFERO GENERAL PUBLIC LICENSE
+ Version 3, 19 November 2007
-Copyright (c) 2026 Akhil and the MyDevTools.tech contributors. All rights reserved.
+ Copyright (C) 2007 Free Software Foundation, Inc.
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
-These terms govern use, copying, modification, and distribution of this
-software and associated documentation files (the "Software").
+ Preamble
-1. Definitions
+ The GNU Affero General Public License is a free, copyleft license for
+software and other kinds of works, specifically designed to ensure
+cooperation with the community in the case of network server software.
- "Personal Individual Use" means use of the Software by a single natural
- person acting only in their personal capacity (not on behalf of a legal
- entity such as a company, partnership, school, government body, or other
- organization), solely for private, non-commercial purposes—including
- learning, hobby projects, and personal productivity—on systems or accounts
- used primarily for that individual's own purposes.
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+our General Public Licenses are intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users.
- "Commercial Use" includes, without limitation: use while performing work for
- an employer, client, or organization; use by or for any legal entity;
- offering the Software, a modified version, or a substantially similar product
- or service (including hosted or "as a service" offerings) to others, whether
- or not a fee is charged; incorporating the Software into a product or
- service you distribute or sell; or any use primarily intended for commercial
- advantage or monetary compensation.
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
-2. Grant for Personal Individual Use
+ Developers that use our General Public Licenses protect your rights
+with two steps: (1) assert copyright on the software, and (2) offer
+you this License which gives you legal permission to copy, distribute
+and/or modify the software.
- Subject to this License, the copyright holders (the "Licensor") grant you a
- worldwide, royalty-free, non-exclusive license to use, reproduce, modify, and
- run the Software, and to prepare derivative works, solely for Personal
- Individual Use, without payment—provided that you retain all copyright and
- license notices present in the Software.
+ A secondary benefit of defending all users' freedom is that
+improvements made in alternate versions of the program, if they
+receive widespread use, become available for other developers to
+incorporate. Many developers of free software are heartened and
+encouraged by the resulting cooperation. However, in the case of
+software used on network servers, this result may fail to come about.
+The GNU General Public License permits making a modified version and
+letting the public access it on a server without ever releasing its
+source code to the public.
-3. All other uses
+ The GNU Affero General Public License is designed specifically to
+ensure that, in such cases, the modified source code becomes available
+to the community. It requires the operator of a network server to
+provide the source code of the modified version running there to the
+users of that server. Therefore, public use of a modified version, on
+a publicly accessible server, gives the public access to the source
+code of the modified version.
- Any use that is not strictly Personal Individual Use as defined above is
- not permitted under this License. For such uses you must either:
+ An older license, called the Affero General Public License and
+published by Affero, was designed to accomplish similar goals. This is
+a different license, not a version of the Affero GPL, but Affero has
+released a new version of the Affero GPL which permits relicensing under
+this license.
- (a) obtain a separate commercial license from the Licensor, or
+ The precise terms and conditions for copying, distribution and
+modification follow.
- (b) obtain prior written permission from the Licensor.
+ TERMS AND CONDITIONS
- Without a commercial license or prior written permission, you must not
- engage in Commercial Use, deploy the Software for organizational purposes,
- or grant sublicenses beyond Personal Individual Use.
+ 0. Definitions.
-4. Redistribution
+ "This License" refers to version 3 of the GNU Affero General Public License.
- You may share copies of the Software or your modifications with others only
- if (i) the recipients are also bound by this License when they use the
- Software, and (ii) your sharing is consistent with your own permitted scope
- (for example, sharing a personal fork for non-commercial collaboration is
- permitted for individuals; redistribution as part of a commercial product is
- not permitted without Section 3).
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
-5. No trademark rights
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
- This License does not grant any rights to use trade names, trademarks,
- service marks, or product names of the Licensor or the project, except as
- needed to copy the Software and attribute the Licensor in a reasonable and
- customary manner.
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
-6. Disclaimer of warranty
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
- DEALINGS IN THE SOFTWARE.
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
-7. Contact
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
- For commercial licensing or written permission, contact the maintainers via
- the project repository: https://github.com/itsmeakhil/mydevtools.tech
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Remote Network Interaction; Use with the GNU General Public License.
+
+ Notwithstanding any other provision of this License, if you modify the
+Program, your modified version must prominently offer all users
+interacting with it remotely through a computer network (if your version
+supports such interaction) an opportunity to receive the Corresponding
+Source of your version by providing access to the Corresponding Source
+from a network server at no charge, through some standard or customary
+means of facilitating copying of software. This Corresponding Source
+shall include the Corresponding Source for any work covered by version 3
+of the GNU General Public License that is incorporated pursuant to the
+following paragraph.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the work with which it is combined will remain governed by version
+3 of the GNU General Public License.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU Affero General Public License from time to time. Such new versions
+will be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU Affero General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU Affero General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU Affero General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+
+ Copyright (C)
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+
+Also add information on how to contact you by electronic and paper mail.
+
+ If your software can interact with users remotely through a computer
+network, you should also make sure that it provides a way for users to
+get its source. For example, if your program is a web application, its
+interface could display a "Source" link that leads users to an archive
+of the code. There are many ways you could offer source, and different
+solutions will be better for different programs; see section 13 for the
+specific requirements.
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU AGPL, see
+.
diff --git a/README.md b/README.md
index 220e16bf..daeb3abc 100644
--- a/README.md
+++ b/README.md
@@ -23,7 +23,7 @@
-
+
@@ -38,11 +38,11 @@
Most developer tools are scattered across dozens of tabs, riddled with ads, or send your data to unknown servers. **MyDevTools** changes that:
-- ⚡ **Client-side first** — Your data is processed in-browser wherever possible. No unnecessary server round-trips.
+- ⚡ **Local-first** — Your data is processed on your device wherever possible. No unnecessary server round-trips.
- 🔒 **Privacy by design** — No ad tracking, no data harvesting. Your vault stays yours.
- 🎨 **Premium UI/UX** — Dark/light mode, silky animations, fully responsive across all devices.
- 🌍 **Internationalization** — Built-in i18n support via `next-intl`.
-- 💯 **Open source** — Licensed under **GNU GPLv3**. See [LICENSE](LICENSE).
+- 💯 **Free & open source** — Free for everyone, licensed under **GNU AGPLv3**. See [LICENSE](LICENSE).
---
@@ -371,7 +371,7 @@ If MyDevTools saves you time, consider giving it a **star** on GitHub — it hel
## 📄 License
-This project is licensed under the [GNU General Public License v3.0](https://www.gnu.org/licenses/gpl-3.0.html) — see [LICENSE](LICENSE) for the full text.
+This project is licensed under the [GNU Affero General Public License v3.0](https://www.gnu.org/licenses/agpl-3.0.html) — see [LICENSE](LICENSE) for the full text.
---
diff --git a/apps/backend/app/api/routes/auth/api.py b/apps/backend/app/api/routes/auth/api.py
index 0c458447..3d033079 100644
--- a/apps/backend/app/api/routes/auth/api.py
+++ b/apps/backend/app/api/routes/auth/api.py
@@ -88,9 +88,6 @@ async def create_session(
photo_url=doc.get("photo_url"),
email_verified=bool(doc.get("email_verified")),
disabled=bool(doc.get("disabled")),
- plan=doc.get("plan") or "free",
- plan_source=doc.get("plan_source"),
- plan_granted_at=doc.get("plan_granted_at"),
created_at=doc.get("created_at"),
onboarding_completed=bool(doc.get("onboarding_completed", False)),
workspace_setup_at=doc.get("workspace_setup_at"),
diff --git a/apps/backend/app/api/routes/auth/schema.py b/apps/backend/app/api/routes/auth/schema.py
index b3d96a04..aa4697fc 100644
--- a/apps/backend/app/api/routes/auth/schema.py
+++ b/apps/backend/app/api/routes/auth/schema.py
@@ -112,10 +112,6 @@ class UserProfileResponse(BaseModel):
personal_info: PersonalInfo | None = None
# Role picked during onboarding (frontend/backend/fullstack/devops/qa/designer/exploring)
persona: str | None = None
- # Billing plan; absent on the Mongo doc means free.
- plan: str = "free"
- plan_source: str | None = None
- plan_granted_at: int | None = None
created_at: int | None = None
onboarding_completed: bool = False
# Workspace migration fields (T25)
diff --git a/apps/backend/app/api/routes/auth/services.py b/apps/backend/app/api/routes/auth/services.py
index 6eec51bf..9ac1f4f6 100644
--- a/apps/backend/app/api/routes/auth/services.py
+++ b/apps/backend/app/api/routes/auth/services.py
@@ -129,9 +129,6 @@ async def get_current_user(
certifications=[Certification(**c) for c in doc.get("certifications") or []],
portfolio_settings=doc.get("portfolio_settings"),
personal_info=PersonalInfo(**doc["personal_info"]) if doc.get("personal_info") else None,
- plan=doc.get("plan") or "free",
- plan_source=doc.get("plan_source"),
- plan_granted_at=doc.get("plan_granted_at"),
created_at=doc.get("created_at"),
onboarding_completed=bool(doc.get("onboarding_completed", False)),
workspace_setup_at=doc.get("workspace_setup_at"),
diff --git a/apps/backend/app/api/routes/auth/users_repo.py b/apps/backend/app/api/routes/auth/users_repo.py
index b3ba0c50..e561cb4c 100644
--- a/apps/backend/app/api/routes/auth/users_repo.py
+++ b/apps/backend/app/api/routes/auth/users_repo.py
@@ -1,37 +1,12 @@
from __future__ import annotations
-import logging
from typing import Any
-from app.utils.collection_name import COUNTERS, USERS
+from app.utils.collection_name import USERS
from app.utils.utils import create_timestamp
from app.core.cache import bump_version
from app.database import db_manager
-# First N signups ever get a lifetime Pro grant (early-adopter reward).
-EARLY_ADOPTER_LIMIT = 250
-SIGNUP_COUNTER_ID = "signups"
-
-logger = logging.getLogger(__name__)
-
-
-async def _grant_early_adopter_if_slot_free(uid: str, now: int) -> None:
- # Atomic counter, not count_documents: two concurrent signups at slot 249
- # would both count 249 and mint 251 Pros.
- counter = await db_manager.find_one_and_update(
- COUNTERS,
- {"_id": SIGNUP_COUNTER_ID},
- {"$inc": {"seq": 1}},
- return_document=True,
- upsert=True,
- )
- if counter and counter.get("seq", 0) <= EARLY_ADOPTER_LIMIT:
- await db_manager.update_one(
- USERS,
- {"_id": uid},
- {"$set": {"plan": "pro", "plan_source": "early_adopter", "plan_granted_at": now}},
- )
-
async def upsert_user_from_firebase_claims(decoded: dict[str, Any]) -> None:
uid = decoded.get("uid")
@@ -48,17 +23,12 @@ async def upsert_user_from_firebase_claims(decoded: dict[str, Any]) -> None:
"disabled": False,
"updated_at": now,
}
- result = await db_manager.update_one(
+ await db_manager.update_one(
USERS,
{"_id": uid},
{"$set": doc, "$setOnInsert": {"created_at": now, "onboarding_completed": False}},
upsert=True,
)
- if getattr(result, "upserted_id", None) is not None:
- try:
- await _grant_early_adopter_if_slot_free(uid, now)
- except Exception:
- logger.warning("Early-adopter plan grant failed for %s", uid, exc_info=True)
async def get_user_doc(uid: str) -> dict[str, Any] | None:
diff --git a/apps/backend/app/utils/collection_name.py b/apps/backend/app/utils/collection_name.py
index 9218523d..3168dbe3 100644
--- a/apps/backend/app/utils/collection_name.py
+++ b/apps/backend/app/utils/collection_name.py
@@ -26,4 +26,3 @@
WEBAUTHN_CHALLENGES = "webauthn_challenges"
WORKSPACES = "workspaces"
WORKSPACE_MEMBERSHIPS = "workspace_memberships"
-COUNTERS = "counters"
diff --git a/apps/backend/scripts/backfill_early_adopter_plan.py b/apps/backend/scripts/backfill_early_adopter_plan.py
deleted file mode 100644
index 12170e1e..00000000
--- a/apps/backend/scripts/backfill_early_adopter_plan.py
+++ /dev/null
@@ -1,71 +0,0 @@
-"""One-time backfill: grant lifetime Pro to the first 250 users by created_at.
-
-Also seeds the signup counter so the runtime grant path
-(users_repo._grant_early_adopter_if_slot_free) continues from the right slot.
-
-Idempotent: users that already have a plan are skipped; the counter is only
-raised, never lowered.
-
-Usage (from apps/backend):
- uv run python scripts/backfill_early_adopter_plan.py --dry-run
- uv run python scripts/backfill_early_adopter_plan.py
-"""
-
-from __future__ import annotations
-
-import argparse
-import asyncio
-import sys
-from pathlib import Path
-
-sys.path.insert(0, str(Path(__file__).resolve().parents[1]))
-
-from app.api.routes.auth.users_repo import EARLY_ADOPTER_LIMIT, SIGNUP_COUNTER_ID
-from app.database import db_manager
-from app.utils.collection_name import COUNTERS, USERS
-from app.utils.utils import create_timestamp
-
-
-async def main(dry_run: bool) -> None:
- total = await db_manager.count_documents(USERS, {})
- first = await db_manager.find(
- USERS,
- {},
- projection={"_id": 1, "email": 1, "created_at": 1, "plan": 1},
- sort=[("created_at", 1)],
- limit=EARLY_ADOPTER_LIMIT,
- )
- to_grant = [u for u in first if not u.get("plan")]
- already = len(first) - len(to_grant)
-
- print(f"users total: {total}")
- print(f"first {EARLY_ADOPTER_LIMIT} by created_at: {len(first)}")
- print(f"already have plan: {already}")
- print(f"will grant pro: {len(to_grant)}")
- print(f"counter seed: {total}")
-
- if dry_run:
- print("dry-run: no writes")
- return
-
- now = create_timestamp()
- if to_grant:
- await db_manager.update_many(
- USERS,
- {"_id": {"$in": [u["_id"] for u in to_grant]}},
- {"$set": {"plan": "pro", "plan_source": "early_adopter", "plan_granted_at": now}},
- )
- await db_manager.find_one_and_update(
- COUNTERS,
- {"_id": SIGNUP_COUNTER_ID},
- {"$max": {"seq": total}},
- upsert=True,
- )
- print(f"granted pro to {len(to_grant)} users; counter seq >= {total}")
-
-
-if __name__ == "__main__":
- parser = argparse.ArgumentParser(description=__doc__)
- parser.add_argument("--dry-run", action="store_true", help="print changes without writing")
- args = parser.parse_args()
- asyncio.run(main(args.dry_run))
diff --git a/apps/backend/tests/test_early_adopter_plan.py b/apps/backend/tests/test_early_adopter_plan.py
deleted file mode 100644
index 1f1cc5fc..00000000
--- a/apps/backend/tests/test_early_adopter_plan.py
+++ /dev/null
@@ -1,89 +0,0 @@
-import pytest
-
-from app.api.routes.auth.users_repo import (
- EARLY_ADOPTER_LIMIT,
- SIGNUP_COUNTER_ID,
- upsert_user_from_firebase_claims,
-)
-from app.database import db_manager
-from app.utils.collection_name import COUNTERS, USERS
-
-from scripts.backfill_early_adopter_plan import main as backfill_main
-
-
-@pytest.fixture
-async def clean_counters():
- await db_manager.delete_many(COUNTERS, {})
- yield
- await db_manager.delete_many(COUNTERS, {})
-
-
-def claims(uid: str) -> dict:
- return {"uid": uid, "email": f"{uid}@example.com", "name": uid, "email_verified": True}
-
-
-@pytest.mark.asyncio
-async def test_new_signup_gets_pro_while_slots_remain(clean_db, clean_counters):
- await upsert_user_from_firebase_claims(claims("u1"))
- doc = await db_manager.find_one(USERS, {"_id": "u1"})
- assert doc["plan"] == "pro"
- assert doc["plan_source"] == "early_adopter"
- assert doc["plan_granted_at"]
- counter = await db_manager.find_one(COUNTERS, {"_id": SIGNUP_COUNTER_ID})
- assert counter["seq"] == 1
-
-
-@pytest.mark.asyncio
-async def test_signup_past_limit_stays_free(clean_db, clean_counters):
- await db_manager.insert_one(COUNTERS, {"_id": SIGNUP_COUNTER_ID, "seq": EARLY_ADOPTER_LIMIT})
- await upsert_user_from_firebase_claims(claims("u-late"))
- doc = await db_manager.find_one(USERS, {"_id": "u-late"})
- assert "plan" not in doc
-
-
-@pytest.mark.asyncio
-async def test_signup_at_exact_limit_gets_pro(clean_db, clean_counters):
- await db_manager.insert_one(COUNTERS, {"_id": SIGNUP_COUNTER_ID, "seq": EARLY_ADOPTER_LIMIT - 1})
- await upsert_user_from_firebase_claims(claims("u-250"))
- doc = await db_manager.find_one(USERS, {"_id": "u-250"})
- assert doc["plan"] == "pro"
-
-
-@pytest.mark.asyncio
-async def test_relogin_does_not_consume_slot(clean_db, clean_counters):
- await upsert_user_from_firebase_claims(claims("u1"))
- await upsert_user_from_firebase_claims(claims("u1"))
- counter = await db_manager.find_one(COUNTERS, {"_id": SIGNUP_COUNTER_ID})
- assert counter["seq"] == 1
-
-
-@pytest.mark.asyncio
-async def test_backfill_grants_first_users_and_seeds_counter(clean_db, clean_counters):
- for i in range(3):
- await db_manager.insert_one(
- USERS, {"_id": f"u{i}", "uid": f"u{i}", "created_at": 1000 + i}
- )
-
- await backfill_main(dry_run=True)
- assert await db_manager.find_one(COUNTERS, {"_id": SIGNUP_COUNTER_ID}) is None
-
- await backfill_main(dry_run=False)
- for i in range(3):
- doc = await db_manager.find_one(USERS, {"_id": f"u{i}"})
- assert doc["plan"] == "pro"
- counter = await db_manager.find_one(COUNTERS, {"_id": SIGNUP_COUNTER_ID})
- assert counter["seq"] == 3
-
- # Idempotent: second run keeps grant timestamps and counter unchanged.
- granted_before = (await db_manager.find_one(USERS, {"_id": "u0"}))["plan_granted_at"]
- await backfill_main(dry_run=False)
- assert (await db_manager.find_one(USERS, {"_id": "u0"}))["plan_granted_at"] == granted_before
- assert (await db_manager.find_one(COUNTERS, {"_id": SIGNUP_COUNTER_ID}))["seq"] == 3
-
-
-def test_profile_response_defaults_plan_to_free():
- from app.api.routes.auth.schema import UserProfileResponse
-
- profile = UserProfileResponse(uid="u1", email_verified=True, disabled=False)
- assert profile.plan == "free"
- assert profile.plan_source is None
diff --git a/apps/desktop-ui/messages/en.json b/apps/desktop-ui/messages/en.json
index e94e917f..860099b0 100644
--- a/apps/desktop-ui/messages/en.json
+++ b/apps/desktop-ui/messages/en.json
@@ -6,22 +6,13 @@
"waitingForBrowser": "Waiting for the browser…",
"finishing": "Finishing activation…",
"authSuccess": "Authentication successful",
- "subscriptionCreated": "Subscription created",
- "plan": "Plan",
- "earlyAdopter": "Pro · Early adopter",
- "lifetimeNote": "Lifetime plan — never expires.",
- "grantedOn": "Granted on",
"offlineNote": "Yours forever — the app works fully offline from here on.",
"start": "Start using MyDevTools",
- "privacyNote": "Your data stays on this device. The account is only used to activate the app and manage your plan."
+ "privacyNote": "Your data stays on this device. The account is only used to activate the app."
},
- "PlanCard": {
- "title": "Plan",
- "earlyAdopter": "Pro · Early adopter",
- "lifetimeDescription": "Lifetime plan — never expires.",
- "freeDescription": "Free plan.",
- "grantedOn": "Granted on",
- "manage": "Manage plan on mydevtools.tech"
+ "AccountCard": {
+ "title": "Account",
+ "manage": "Manage account on mydevtools.tech"
},
"Navigation": {
"dashboard": "Dashboard",
diff --git a/apps/desktop-ui/src/app/activate/page.tsx b/apps/desktop-ui/src/app/activate/page.tsx
index 67285d1c..ad781313 100644
--- a/apps/desktop-ui/src/app/activate/page.tsx
+++ b/apps/desktop-ui/src/app/activate/page.tsx
@@ -3,15 +3,11 @@
import { useCallback, useEffect, useRef, useState } from 'react'
import { useRouter } from 'next/navigation'
import { useTranslations } from 'next-intl'
-import { BadgeCheck, Calendar, Crown, Globe, Loader2, PartyPopper, ShieldCheck } from 'lucide-react'
-import { Badge } from '@/components/ui/badge'
+import { BadgeCheck, Globe, Loader2 } from 'lucide-react'
import { Button } from '@/components/ui/button'
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card'
import { completeActivation, getActivation, type ActivationRecord } from '@/lib/desktop/activation'
-/** Signup within this window of activation counts as a brand-new subscription. */
-const FRESH_SIGNUP_WINDOW_MS = 10 * 60 * 1000
-
type Phase = 'idle' | 'waiting' | 'finishing' | 'done' | 'error'
export default function ActivatePage() {
@@ -67,58 +63,19 @@ export default function ActivatePage() {
}
if (phase === 'done' && record) {
- const isPro = record.plan === 'pro'
- const isEarlyAdopter = record.plan_source === 'early_adopter'
- const freshSignup =
- record.created_at != null &&
- record.activated_at != null &&
- record.activated_at - record.created_at < FRESH_SIGNUP_WINDOW_MS
- const grantedAt = record.plan_granted_at
- ? new Date(record.plan_granted_at).toLocaleDateString(undefined, { year: 'numeric', month: 'long', day: 'numeric' })
- : null
-
return (
{t('offlineNote')}
diff --git a/apps/desktop-ui/src/components/announcement-banner.tsx b/apps/desktop-ui/src/components/announcement-banner.tsx
index 7a44e071..925cb3f6 100644
--- a/apps/desktop-ui/src/components/announcement-banner.tsx
+++ b/apps/desktop-ui/src/components/announcement-banner.tsx
@@ -1,13 +1,13 @@
"use client";
import { useEffect, useState } from "react";
-import Link from "next/link";
import { ArrowRight, X } from "lucide-react";
-const DISMISS_KEY = "mdt-launch-offer-dismissed";
+// New key so users who dismissed the old launch-offer strip see this once.
+const DISMISS_KEY = "mdt-foss-banner-dismissed";
/**
- * Slim launch-offer strip above the marketing header. Dismissible per browser
+ * Slim announcement strip above the marketing header. Dismissible per browser
* (localStorage). Rendered on marketing pages only via .
*/
export function AnnouncementBanner() {
@@ -37,19 +37,21 @@ export function AnnouncementBanner() {
- Launch offer
+ Open source
- First{" "}
- 250 accounts{" "}
- get every Pro & Team feature, free. No card needed.
+ MyDevTools is now{" "}
+ free for everyone and open source
+ under AGPL-3.0.
-
- Claim yours
-
+ Star on GitHub
+
@@ -102,7 +92,7 @@ function PrivacyBody() {
1. Our approach
MyDevTools is built to be private by design. The only personal information we hold on our
- servers is your account and billing details. Everything you create with the tools stays on
+ servers is your account details. Everything you create with the tools stays on
your device unless you choose to sync it — and anything you sync is end-to-end encrypted so
that we cannot read it.
@@ -113,10 +103,6 @@ function PrivacyBody() {
We store only the minimum needed to run your account:
Your name and email address, from the sign-in provider you use.
-
- Payment information required to process your subscription. Card details are handled by
- our third-party payment processor; we do not store full card numbers.
-
@@ -151,8 +137,8 @@ function PrivacyBody() {
6. How we use what we store
- We use your account and billing information to provide the Service, process payments,
- provide support, communicate service-related messages, and comply with legal obligations.
+ We use your account information to provide the Service, provide support, communicate
+ service-related messages, and comply with legal obligations.
diff --git a/apps/desktop-ui/src/lib/desktop/activation.ts b/apps/desktop-ui/src/lib/desktop/activation.ts
index 62e20342..9d78d79a 100644
--- a/apps/desktop-ui/src/lib/desktop/activation.ts
+++ b/apps/desktop-ui/src/lib/desktop/activation.ts
@@ -1,5 +1,5 @@
/**
- * One-time desktop activation. The record is a plan snapshot captured right
+ * One-time desktop activation. The record is an account snapshot captured right
* after browser sign-in, stored in the local Rust kv store — its presence is
* what unlocks the app. Fully offline after that; no periodic recheck.
*/
@@ -10,9 +10,6 @@ export type ActivationRecord = {
uid: string;
email: string | null;
display_name: string | null;
- plan: string;
- plan_source: string | null;
- plan_granted_at: number | null;
created_at: number | null;
activated_at?: number;
};
@@ -33,9 +30,6 @@ export async function completeActivation(): Promise {
uid: me.uid,
email: me.email ?? null,
display_name: me.display_name ?? null,
- plan: me.plan || "free",
- plan_source: me.plan_source ?? null,
- plan_granted_at: me.plan_granted_at ?? null,
created_at: me.created_at ?? null,
};
const saved = await localApi("POST", "/desktop/activation", JSON.stringify(record));
diff --git a/apps/desktop-ui/src/lib/seo/platform-pages.ts b/apps/desktop-ui/src/lib/seo/platform-pages.ts
index 50f52c1b..056b6b32 100644
--- a/apps/desktop-ui/src/lib/seo/platform-pages.ts
+++ b/apps/desktop-ui/src/lib/seo/platform-pages.ts
@@ -287,53 +287,43 @@ export const platformSeoPages: PlatformSeoPage[] = [
},
{
slug: 'pricing',
- title: 'Pricing',
+ title: 'Free & Open Source',
description:
- 'Compare MyDevTools self-hosted and cloud options. Self-host the open-source developer toolkit for free or use managed cloud hosting for convenience.',
+ 'MyDevTools is free and open source under AGPL-3.0. One offline desktop app, all 80+ tools, your data stays on your device.',
keywords: [
- 'mydevtools pricing',
- 'developer tools pricing',
- 'self hosted developer tools pricing',
- 'online developer toolkit pricing',
+ 'free developer tools',
+ 'open source developer tools',
+ 'open source desktop developer toolkit',
+ 'offline developer tools free',
],
- eyebrow: 'Pricing',
- heading: 'Self-host free. Use cloud when you want managed convenience.',
+ eyebrow: 'Free & open source',
+ heading: 'Free for everyone. Open source forever.',
intro:
- 'MyDevTools keeps the open-source toolkit self-hostable while offering a managed cloud path for developers who prefer not to run infrastructure.',
- primaryCta: { href: '/login', label: 'Start with cloud' },
+ 'MyDevTools is free and open source under AGPL-3.0. Every tool in the offline desktop app is available to everyone — no plans, no paywalls, no card.',
+ primaryCta: { href: '/download', label: 'Download for free' },
secondaryCta: {
- href: 'https://github.com/itsmeakhil/mydevtools.tech',
- label: 'Self-host for free',
+ href: 'https://github.com/mydevtools-tech/mydevtools',
+ label: 'View source on GitHub',
},
sections: [
{
- title: 'Free',
- body:
- 'Self-host the GPL-3.0 source on your own infrastructure, or try the cloud with capped usage — no card required.',
- bullets: [
- '$0 forever — self-host with no license fee.',
- 'All core developer tools included.',
- 'Capped cloud usage to try before you buy.',
- ],
- },
- {
- title: 'Pro & Team',
+ title: 'Free forever',
body:
- 'Managed cloud for developers who would rather not run infrastructure. Pro is $9/mo per developer; Team is $15/mo per user.',
+ 'All 80+ tools ship in one desktop app that runs fully offline on your device. There is nothing to unlock and nothing to subscribe to.',
bullets: [
- 'Pro: unlimited cloud usage, cross-device sync, private history.',
- 'Team: shared workspace, roles, and centralized billing.',
- 'Annual billing saves roughly two months.',
+ 'Every tool, every feature — free for individuals and teams.',
+ 'Fully offline and local-first; your data stays on your device.',
+ 'No card, no trial, no upsell.',
],
},
{
- title: 'Enterprise',
+ title: 'Open source under AGPL-3.0',
body:
- 'Custom plans for organizations that need SSO, compliance, and support at scale.',
+ 'The entire codebase is public on GitHub. Audit the code your secrets pass through, fork it, or help build it.',
bullets: [
- 'SSO / SAML, audit logs, and a security review.',
- 'Self-host with a support SLA.',
- 'Dedicated onboarding — contact support@mydevtools.tech.',
+ 'Licensed under GNU AGPL-3.0.',
+ 'Issues and pull requests welcome on GitHub.',
+ 'Star the repo to follow releases.',
],
},
],
diff --git a/apps/desktop/src-tauri/src/router/activation.rs b/apps/desktop/src-tauri/src/router/activation.rs
index c2ee0b64..d541fe9a 100644
--- a/apps/desktop/src-tauri/src/router/activation.rs
+++ b/apps/desktop/src-tauri/src/router/activation.rs
@@ -1,7 +1,7 @@
//! One-time desktop activation record (`/desktop/activation`).
//!
-//! Stores the plan snapshot captured at browser sign-in:
-//! `{uid, email, display_name, plan, plan_source, plan_granted_at, activated_at}`.
+//! Stores the account snapshot captured at browser sign-in:
+//! `{uid, email, display_name, created_at, activated_at}`.
//! The webview owns the shape; Rust stores it as an opaque JSON object in `kv`.
//! Presence of the row == app is activated; it survives until the user resets
//! app data (DELETE) or wipes the SQLCipher DB.
@@ -66,19 +66,19 @@ mod tests {
let r = route(&state, "GET", "/desktop/activation", None).unwrap();
assert_eq!(r.status, 404);
// Activate stamps activated_at and round-trips.
- let body = r#"{"uid":"u1","plan":"pro","plan_source":"early_adopter"}"#;
+ let body = r#"{"uid":"u1","email":"a@b.c"}"#;
let r = route(&state, "POST", "/desktop/activation", Some(body)).unwrap();
assert_eq!(r.status, 200);
let v: serde_json::Value = serde_json::from_str(&r.body).unwrap();
- assert_eq!(v["plan"], "pro");
+ assert_eq!(v["email"], "a@b.c");
assert!(v["activated_at"].as_i64().unwrap() > 0);
let r = route(&state, "GET", "/desktop/activation", None).unwrap();
assert_eq!(r.status, 200);
// Re-activation overwrites (fresh sign-in refreshes the snapshot).
- let r = route(&state, "POST", "/desktop/activation", Some(r#"{"uid":"u1","plan":"free"}"#)).unwrap();
+ let r = route(&state, "POST", "/desktop/activation", Some(r#"{"uid":"u1","email":"new@b.c"}"#)).unwrap();
assert_eq!(r.status, 200);
let v: serde_json::Value = serde_json::from_str(&route(&state, "GET", "/desktop/activation", None).unwrap().body).unwrap();
- assert_eq!(v["plan"], "free");
+ assert_eq!(v["email"], "new@b.c");
// Reset clears it.
let r = route(&state, "DELETE", "/desktop/activation", None).unwrap();
assert_eq!(r.status, 204);
diff --git a/apps/web/messages/en.json b/apps/web/messages/en.json
index 30f9b7d3..74aadf40 100644
--- a/apps/web/messages/en.json
+++ b/apps/web/messages/en.json
@@ -1,16 +1,4 @@
{
- "AccountPlan": {
- "title": "Your plan",
- "earlyAdopter": "Pro · Early adopter",
- "lifetimeDescription": "You are one of the first 250 users — Pro is yours for life.",
- "proDescription": "You are on the Pro plan.",
- "freeDescription": "You are on the Free plan.",
- "expiry": "Expiry",
- "neverExpires": "Never expires — lifetime",
- "grantedOn": "Granted on",
- "memberSince": "Member since",
- "viewPlans": "View plans"
- },
"Navigation": {
"dashboard": "Dashboard",
"settings": "Settings",
@@ -159,7 +147,6 @@
},
"Dashboard": {
"title": "Dashboard",
- "navPlan": "Plan & billing",
"navSecurity": "Security",
"passkeysTitle": "Passkeys",
"passkeysDescription": "Passwordless sign-in for your account. Add a passkey to sign in with Face ID, Touch ID, or your device PIN.",
diff --git a/apps/web/src/app/account/plan/page.tsx b/apps/web/src/app/account/plan/page.tsx
index b10cc9fb..136d1f13 100644
--- a/apps/web/src/app/account/plan/page.tsx
+++ b/apps/web/src/app/account/plan/page.tsx
@@ -1,29 +1,6 @@
-'use client'
-
-import { useTranslations } from 'next-intl'
-import { Loader2 } from 'lucide-react'
-import { PlanCard } from '@/components/plan-card'
-import { useAccountProfile } from '@/lib/use-account-profile'
+// URL kept alive: shipped desktop builds hard-open /account/plan.
+import { redirect } from 'next/navigation'
export default function AccountPlanPage() {
- const t = useTranslations('AccountPlan')
- const { profile } = useAccountProfile('/account/plan')
-
- if (!profile) {
- return (
-
- {tab === 'plan' ? : }
+
)
}
diff --git a/apps/web/src/app/page.tsx b/apps/web/src/app/page.tsx
index 061c19af..c02cbc7e 100644
--- a/apps/web/src/app/page.tsx
+++ b/apps/web/src/app/page.tsx
@@ -40,7 +40,6 @@ import { Magnetic } from "@/components/mdt-magnetic";
import { Tilt } from "@/components/mdt-tilt";
import { MdtBoot } from "@/components/mdt-boot";
import { MdtDashboard } from "@/components/mdt-dashboard";
-import { PricingTiers } from "@/components/pricing-tiers";
// ─── Animation Variants ────────────────────────────────────────────────────────
@@ -421,7 +420,7 @@ export default function Page() {
MyDevTools is the all-in-one desktop developer toolkit that brings together everything you need: a powerful SQL, NoSQL (MongoDB), and Redis database client alongside 80+ utility tools. Stop switching between tabs and apps—format JSON, test APIs, decode JWTs, build regexes, generate UUIDs, and manage databases all in one desktop workspace.
- Local-first architecture means your data is processed on your machine and works fully offline. Sensitive credentials are AES-256 encrypted in a local vault. Whether you're testing REST endpoints, debugging database queries, or working with cryptographic tools, everything runs with zero-knowledge encryption—nothing ever leaves your device. Get started free, then upgrade to lock in launch pricing.
+ Local-first architecture means your data is processed on your machine and works fully offline. Sensitive credentials are AES-256 encrypted in a local vault. Whether you're testing REST endpoints, debugging database queries, or working with cryptographic tools, everything runs with zero-knowledge encryption—nothing ever leaves your device. Free and open source for everyone.
Trusted by developers. No ads, no tracking, no data harvesting. Compare MyDevTools to Postman (API client alternative), DBeaver (database GUI), scattered single-purpose websites, and other dev tool platforms—we unify what others scatter across 20 tabs.
@@ -723,13 +722,44 @@ export default function Page() {
{/* ── Tools teaser ────────────────────────────────────────────────────── */}
@@ -804,7 +834,7 @@ export default function Page() {
{ href: "/developer-tools", label: "Developer tools platform" },
{ href: "/features", label: "Product features" },
{ href: "/security", label: "Security and privacy" },
- { href: "/pricing", label: "Pricing plans" },
+ { href: "/pricing", label: "Free & open source" },
].map((link) => (
Join developers who use MyDevTools to streamline their daily
- workflow. Privacy-focused and built for speed — start free, then
- subscribe to our managed cloud when you need more.
+ workflow. Privacy-focused, built for speed — free and open
+ source for everyone.
-
-
- )
+ return
}
diff --git a/apps/web/src/components/announcement-banner.tsx b/apps/web/src/components/announcement-banner.tsx
index 91345aa5..fac02ab9 100644
--- a/apps/web/src/components/announcement-banner.tsx
+++ b/apps/web/src/components/announcement-banner.tsx
@@ -1,13 +1,13 @@
"use client";
import { useEffect, useState } from "react";
-import Link from "next/link";
import { ArrowRight, X } from "lucide-react";
-const DISMISS_KEY = "mdt-launch-offer-dismissed";
+// New key so users who dismissed the old launch-offer strip see this once.
+const DISMISS_KEY = "mdt-foss-banner-dismissed";
/**
- * Slim launch-offer strip above the marketing header. Dismissible per browser
+ * Slim announcement strip above the marketing header. Dismissible per browser
* (localStorage). Rendered on marketing pages only via .
*/
export function AnnouncementBanner() {
@@ -37,19 +37,21 @@ export function AnnouncementBanner() {
- Launch offer
+ Open source
- First{" "}
- 250 accounts{" "}
- get every Pro & Team feature, free. No card needed.
+ MyDevTools is now{" "}
+ free for everyone and open source
+ under AGPL-3.0.
-
- Claim yours
-
+ Star on GitHub
+
- Pricing
+ Open Source
-
3. Plans & payment
-
- Paid plans are billed through a third-party payment processor. By purchasing a plan you
- authorize us and our processor to charge the applicable fees. Except where required by
- law or stated otherwise, fees are non-refundable. We may change pricing on a
- going-forward basis with notice.
-
-
-
-
-
4. Your data and encryption
+
3. Your data and encryption
The Service is local-first: the content you create with the tools is stored on your
- device and is never sent to us. Sensitive data you place in the vault is encrypted on
- your device with a vault password that only you know; encryption happens entirely on
- your machine. We never receive your vault password or vault contents.
+ device. If you enable cloud sync, your data is encrypted on your device with a vault
+ password that only you know, and only the encrypted result is sent to us. We never
+ receive your vault password and cannot decrypt or recover your synced data.
If you lose your vault password, your encrypted data cannot be recovered by anyone,
@@ -59,7 +49,7 @@ function TermsBody() {
-
5. Acceptable use
+
4. Acceptable use
You agree to use the Service lawfully and not to infringe others' rights, disrupt the
Service, or attempt to access accounts or data that are not yours. We may suspend or
@@ -68,7 +58,7 @@ function TermsBody() {
-
6. Availability & disclaimer
+
5. Availability & disclaimer
The Service is provided "as is" without warranties of any kind. We do not
guarantee uninterrupted or error-free operation. To the maximum extent permitted by law,
@@ -78,7 +68,7 @@ function TermsBody() {
-
7. Changes
+
6. Changes
We may update these terms from time to time. Continued use after changes take effect
constitutes acceptance of the revised terms.
@@ -86,7 +76,7 @@ function TermsBody() {
-
8. Contact
+
7. Contact
For questions about these terms, contact us using the details provided on the website.
@@ -102,7 +92,7 @@ function PrivacyBody() {
1. Our approach
MyDevTools is built to be private by design. The only personal information we hold on our
- servers is your account and billing details. Everything you create with the tools stays on
+ servers is your account details. Everything you create with the tools stays on
your device unless you choose to sync it — and anything you sync is end-to-end encrypted so
that we cannot read it.
@@ -113,10 +103,6 @@ function PrivacyBody() {
We store only the minimum needed to run your account:
Your name and email address, from the sign-in provider you use.
-
- Payment information required to process your subscription. Card details are handled by
- our third-party payment processor; we do not store full card numbers.
-
@@ -125,17 +111,17 @@ function PrivacyBody() {
The content you create with the tools (notes, snippets, requests, keys, and other tool
data) is saved locally on your device. It is not sent to us and is not part of your
- account. There is no cloud sync — your tool data never leaves your machine.
+ account unless you enable cloud sync.
-
4. Vault encryption (zero-knowledge)
+
4. Optional cloud sync (zero-knowledge)
- Sensitive data you place in the vault is encrypted on your device with a vault password
- that only you know. Encryption and decryption happen entirely on your machine. We never
- receive your vault password or your vault contents and have no way to decrypt or view
- your raw data — only you can, with your vault password.
+ If you turn on cloud sync in Settings, your data is encrypted on your device with a vault
+ password that only you know. Only the resulting encrypted blob is transmitted and stored.
+ We never receive your vault password and have no way to decrypt or view your raw data —
+ only you can, with your vault password.
@@ -151,8 +137,8 @@ function PrivacyBody() {
6. How we use what we store
- We use your account and billing information to provide the Service, process payments,
- provide support, communicate service-related messages, and comply with legal obligations.
+ We use your account information to provide the Service, provide support, communicate
+ service-related messages, and comply with legal obligations.
@@ -160,8 +146,8 @@ function PrivacyBody() {
7. Retention & deletion
We keep account and billing data for as long as your account is active or as required by
- law. When you delete your account, we delete your account data; tool data is stored
- only on your device and is removed when you delete it locally.
+ law. When you delete your account, we delete your account data and any encrypted synced
+ blobs; data stored only on your device is removed when you delete it locally.
-
- )
-}
diff --git a/apps/web/src/lib/seo/platform-pages.ts b/apps/web/src/lib/seo/platform-pages.ts
index 90809d0e..87883bc5 100644
--- a/apps/web/src/lib/seo/platform-pages.ts
+++ b/apps/web/src/lib/seo/platform-pages.ts
@@ -118,12 +118,12 @@ export const platformSeoPages: PlatformSeoPage[] = [
],
},
{
- title: 'Simple pricing that scales with you',
+ title: 'Free and open source',
body:
- 'Start free, then upgrade when you want to lock in launch pricing.',
+ 'MyDevTools is free for everyone and open source under AGPL-3.0.',
bullets: [
- 'Free for the first 250 users — no card required to start.',
- 'Pro unlocks unlimited usage, private history, and priority support.',
+ 'Every tool is free — no plans, no paywalls, no card required.',
+ 'The full source code is on GitHub; audit it, fork it, contribute to it.',
'Everything runs offline on your device — no cloud dependency.',
],
},
@@ -181,22 +181,43 @@ export const platformSeoPages: PlatformSeoPage[] = [
},
{
slug: 'pricing',
- title: 'Pricing',
+ title: 'Free & Open Source',
description:
- 'MyDevTools pricing: free for the first 250 users, then $59/year or $100 lifetime. One offline desktop app, all 80+ tools.',
+ 'MyDevTools is free and open source under AGPL-3.0. One offline desktop app, all 80+ tools, your data stays on your device.',
keywords: [
- 'mydevtools pricing',
- 'developer tools pricing',
- 'developer tools subscription pricing',
- 'desktop developer toolkit pricing',
+ 'free developer tools',
+ 'open source developer tools',
+ 'open source desktop developer toolkit',
+ 'offline developer tools free',
],
- eyebrow: 'Pricing',
- heading: 'Start free. Upgrade when you want more.',
+ eyebrow: 'Free & open source',
+ heading: 'Free for everyone. Open source forever.',
intro:
- 'MyDevTools is free for the first 250 users. Paid plans lock in launch pricing — $59/year or $100 lifetime — for the full offline desktop toolkit.',
- primaryCta: { href: '/login', label: 'Get started free' },
- secondaryCta: { href: '/features', label: 'See features' },
- sections: [],
+ 'MyDevTools is free and open source under AGPL-3.0. Every tool in the offline desktop app is available to everyone — no plans, no paywalls, no card.',
+ primaryCta: { href: '/download', label: 'Download for free' },
+ secondaryCta: { href: 'https://github.com/mydevtools-tech/mydevtools', label: 'View source on GitHub' },
+ sections: [
+ {
+ title: 'Free forever',
+ body:
+ 'All 80+ tools ship in one desktop app that runs fully offline on your device. There is nothing to unlock and nothing to subscribe to.',
+ bullets: [
+ 'Every tool, every feature — free for individuals and teams.',
+ 'Fully offline and local-first; your data stays on your device.',
+ 'No card, no trial, no upsell.',
+ ],
+ },
+ {
+ title: 'Open source under AGPL-3.0',
+ body:
+ 'The entire codebase is public on GitHub. Audit the code your secrets pass through, fork it, or help build it.',
+ bullets: [
+ 'Licensed under GNU AGPL-3.0.',
+ 'Issues and pull requests welcome on GitHub.',
+ 'Star the repo to follow releases.',
+ ],
+ },
+ ],
},
{
slug: 'use-cases',
diff --git a/apps/web/src/lib/seo/structured-data.ts b/apps/web/src/lib/seo/structured-data.ts
index 0104e1a9..c5b3a012 100644
--- a/apps/web/src/lib/seo/structured-data.ts
+++ b/apps/web/src/lib/seo/structured-data.ts
@@ -6,11 +6,11 @@ const baseUrl = process.env.NEXT_PUBLIC_SITE_URL || 'https://mydevtools.tech'
export const homepageFaqItems = [
{
q: 'Is MyDevTools free?',
- a: 'Yes, while we are getting started — the first 250 signups get lifetime Pro for free. After that, plans are $59/year or $100 lifetime, no card required to try.',
+ a: 'Yes. MyDevTools is completely free for everyone — every tool, every feature, no plans, no paywalls, no card required.',
},
{
- q: 'What is the difference between the Free and Pro plans?',
- a: 'The Free plan gives you the core developer tools at no cost. Pro adds unlimited usage, private history, saved snippets, and priority support — all still fully offline on your device.',
+ q: 'Is MyDevTools open source?',
+ a: 'Yes. MyDevTools is open source under the GNU AGPL-3.0 license. The full source code is on GitHub — you can audit it, fork it, or contribute.',
},
{
q: 'Is my data secure?',
@@ -214,7 +214,7 @@ export function buildPlatformPageJsonLd(slug: string): Record |
price: '0',
priceCurrency: 'USD',
availability: 'https://schema.org/InStock',
- description: 'MyDevTools offers a free tier, with paid Pro and Team plans for unlimited usage.',
+ description: 'MyDevTools is free and open source (AGPL-3.0) for everyone.',
},
isAccessibleForFree: true,
publisher: {
@@ -300,7 +300,7 @@ export function buildWebSiteGraphJsonLd(): Record {
price: '0',
priceCurrency: 'USD',
availability: 'https://schema.org/InStock',
- description: 'MyDevTools offers a free tier, with paid Pro and Team plans for unlimited usage.',
+ description: 'MyDevTools is free and open source (AGPL-3.0) for everyone.',
},
isAccessibleForFree: true,
featureList: [
diff --git a/apps/web/src/lib/use-account-profile.ts b/apps/web/src/lib/use-account-profile.ts
index 63b15b1b..5a70fe4a 100644
--- a/apps/web/src/lib/use-account-profile.ts
+++ b/apps/web/src/lib/use-account-profile.ts
@@ -4,7 +4,11 @@ import { useEffect, useState } from 'react'
import { useRouter } from 'next/navigation'
import useAuth from '@/utils/useAuth'
import { backendFetch, ensureBackendSession } from '@/lib/backend-auth'
-import type { PlanProfile } from '@/components/plan-card'
+export type AccountProfile = {
+ email: string | null
+ display_name: string | null
+ created_at: number | null
+}
/**
* Loads the signed-in user's account profile for authed pages (dashboard, plan).
@@ -15,10 +19,10 @@ import type { PlanProfile } from '@/components/plan-card'
* first mints/verifies that cookie from the Firebase user, so `/auth/me` doesn't
* 401 → forceLogout → bounce the user straight back to /login.
*/
-export function useAccountProfile(nextPath: string): { profile: PlanProfile | null } {
+export function useAccountProfile(nextPath: string): { profile: AccountProfile | null } {
const { user, loading } = useAuth(false)
const router = useRouter()
- const [profile, setProfile] = useState(null)
+ const [profile, setProfile] = useState(null)
useEffect(() => {
if (loading) return
From 9da0aaca6bb45f9a5dce73d4555e1f2950719f92 Mon Sep 17 00:00:00 2001
From: AKHIL
Date: Wed, 22 Jul 2026 13:58:46 +0530
Subject: [PATCH 2/2] Update readme
---
AUDIT.md | 245 -----------------------------------------------------
CLAUDE.md | 9 +-
HANDOFF.md | 56 ------------
3 files changed, 4 insertions(+), 306 deletions(-)
delete mode 100644 AUDIT.md
delete mode 100644 HANDOFF.md
diff --git a/AUDIT.md b/AUDIT.md
deleted file mode 100644
index 36de8c37..00000000
--- a/AUDIT.md
+++ /dev/null
@@ -1,245 +0,0 @@
-# MyDevTools — UI/UX & Performance Audit
-
-_Date: 2026-07-16 · Auditor: automated senior-frontend audit (Claude Code)_
-
-## If you do only three things this week
-
-Merge the three reference PRs. **(1)** `audit/pr1-web-lcp`: the marketing home held its hero invisible behind a framer-motion `initial="hidden"` fade and a ~4 s CRT boot overlay on every hard load — mobile LCP was 9.3 s; painting the hero at first paint (CSS, transform-only on LCP elements) and playing the boot overlay once per browser cuts it to 5.2 s (−44 %), and the remaining gap is the 391 KB client-JS chain (findings #4/#6). **(2)** `audit/pr2-monaco-selfhost`: every Monaco editor tool silently downloaded ~4–5 MB from cdn.jsdelivr.net at runtime (14 requests) — broken offline and a third-party call the product's privacy story says doesn't exist; self-hosting the already-installed `monaco-editor` package takes it to 0 with no First-Load change. **(3)** `audit/pr3-favicon-privacy`: bookmarks and the password manager sent the domain of every stored entry to Google/DuckDuckGo favicon services; the fetch is now disabled (existing letter-avatar fallbacks take over) with a guard test so it can't quietly return.
-
----
-
-## 1. Scope & method
-
-- **Apps audited**: `apps/desktop-ui` (the product — 77 routes under `src/app/app/`: 72 tools + 5 break-room games) and `apps/web` (marketing/SEO/auth; its `/tools/*` routes are static SEO landing pages, not functional tools).
-- **Baseline commit**: `main` @ `97ec0984bb9d727e7f2e7fa27090fc2e69fdc0cc`. All audit work on branch `audit/ui-perf`; reference PRs on `audit/pr*` branches off main.
-- **Machine**: macOS (Darwin 25.5.0, Apple Silicon), Node v24.18.0, Next.js 16.2.10.
-- **Bundlers**: production serving + all page-weight numbers = default `next build` (Turbopack). Dependency attribution treemaps = `ANALYZE=true next build --webpack` (`@next/bundle-analyzer`; analyzer wiring for desktop-ui added on the audit branch, gated off by default). Turbopack and webpack numbers are never mixed in a before/after comparison.
-- **Servers**: `next start -p 3100` (web), `next start -p 3200` (desktop-ui). FastAPI backend (localhost:8000) intentionally NOT running — none of the audited pages require it.
-- **Lighthouse**: v12 via `npx lighthouse@12`, Chrome for Testing 150.0.7871.124 (pinned, installed via `@puppeteer/browsers`), `--chrome-flags="--headless=new"`, categories performance+accessibility. Mobile = LH default simulated slow-4G + 4× CPU throttle; desktop = `--preset=desktop`. 3 runs per page per form factor; medians reported.
-- **Reproduce**: every number's command is in Appendix A. Note: Next 16 no longer prints per-route First Load JS in build output (either bundler); per-route JS is measured by fetching each route's HTML from the running server and gzip-summing its script/preload chunks (`route-sweep.js`, Appendix A).
-
-## 2. App map & network egress inventory
-
-### Route map
-
-- `apps/web` (Next 16): `/`, `/pricing`, `/features`, `/security`, `/developer-tools`, `/use-cases`, `/download`, `/blog[/slug]`, `/compare/[slug]`, `/tools`, `/tools/[slug]` (SEO landing pages), `/help`, `/login`, `/oauth/callback`, `/account/plan`, `/dashboard`, API routes (`/api/proxy`, `/api/og`, `/api/app-version`, `/api/backend/[...path]`).
-- `apps/desktop-ui`: `/` , `/dashboard`, `/settings`, `/activate`, `/login`, `/help`, and 77 `/app/` routes. Tabbed workspace lazy-loads tools via `src/lib/tab-registry.tsx` (~66 `dynamic(..., {ssr:false})` entries — code-splitting for tool internals already exists).
-
-### Rendering strategy
-
-- **`apps/web` is 100 % request-dynamic.** `src/app/layout.tsx:19` sets `export const dynamic = 'force-dynamic'`, and `src/i18n/request.ts:13` reads the `NEXT_LOCALE` cookie on every request. Build route table (`next build`, both bundlers): **every page `ƒ` (dynamic); only `/robots.txt` and `/sitemap.xml` static** — the `generateStaticParams` on `/tools/[slug]`, `/blog/[slug]`, `/compare/[slug]` is dead weight. For an SEO-focused marketing site this forfeits CDN caching and prerendering entirely. (Note: CLAUDE.md says the marketing surface is English-only, so the cookie-locale machinery isn't even needed on public routes.)
-- `apps/desktop-ui`: static export (`output: 'export'`) only when `TAURI_BUILD=1`; 66 of 77 tool pages are thin server-component SEO wrappers around client components.
-
-### Network egress (privacy audit)
-
-| Endpoint | Where | Tool/feature | Verdict |
-|---|---|---|---|
-| `cdn.jsdelivr.net` (~15 requests, ~4–5 MB) | `@monaco-editor/react` default loader — **no `loader.config` anywhere in repo**; `src/components/lazy/LazyMonaco.tsx` | Every Monaco editor surface (code-screenshot, snippet-manager, api-client, …) | 🔴 **Unexpected.** Editor tools break fully offline and fetch from a third-party CDN at runtime despite `monaco-editor` being a local dependency. Contradicts offline/local-first claim. → **Reference PR2** |
-| `www.google.com/s2/favicons`, `icons.duckduckgo.com` | `src/lib/favicon-utils.ts:6-7`, `src/lib/password-utils.ts:77`; rendered by `bookmarks/bookmark-card.tsx`, `password-manager/password-{card,list,item-swipeable}.tsx` | Bookmarks, Password Manager | 🔴 **Unexpected.** Domains of stored bookmarks and password entries are sent to Google/DuckDuckGo to fetch icons — user vault metadata leaves the device by default. → **Reference PR3** |
-| `api.pwnedpasswords.com/range/` | `src/lib/hibp.ts` | Password breach check | 🟡 By-design (k-anonymity: only first 5 chars of SHA-1 sent), but should be disclosed/opt-in labelled in UI. |
-| `dns.google/resolve` | `src/lib/dns-doh.ts` | DNS Lookup | 🟢 By-design — the tool's purpose is a network query. |
-| `rdap.org` | `src/lib/rdap.ts` | Whois Lookup | 🟢 By-design. |
-| User-supplied URLs/sockets | api-client, websocket-tester, graphql/grpc panels, s3-drive (aws4fetch), email-validator, gitignore-generator | Network tools | 🟢 By-design / user-initiated. |
-| Firebase auth (`identitytoolkit`, `securetoken`), Vercel Analytics/Speed Insights, MS Clarity | root layout preconnects; lazy-loaded in `client-shell.tsx` | Auth + telemetry | 🟡 Telemetry in a privacy-first desktop app deserves an explicit disclosure/opt-out; Firebase chunks also load on every page (~40 KB gz, §3). |
-| `api.qrserver.com` | **only** in `next.config.ts` `remotePatterns` of both apps — zero source usage | — | 🟢 False alarm: QR generation is fully local (`qrcode`, `qr-code-styling`). Stale config entry; remove. |
-
-### False leads verified (report-only, no PR)
-
-- **DB drivers (`mongodb`, `pg`, `mysql2`, `ioredis`) are NOT in the client bundle.** `grep -rlE "MongoClient|createPool|ioredis" .next/static/chunks/` matches only a gpt-tokenizer BPE-vocabulary chunk (" MongoClient" is literally a token in the o200k vocab). The pool files `src/lib/{sql,nosql}-client-pool.ts` are imported only by their own tests; `mysql2`/`ioredis` imported by nothing in `src/` → 4 removable dependencies + 2 dead files.
-- **`gpt-tokenizer` already lazy**: per-encoding dynamic imports in `token-counter-layout.tsx`.
-
-## 3. Bundle reality
-
-### apps/web (Turbopack prod, gzip)
-
-- Shared entry (`rootMainFiles`): **123.1 KB gz**.
-- First Load JS per route (`route-sweep.js` against `next start`):
-
-| Route | First Load JS (gz) |
-|---|---|
-| `/` | **391.1 KB** (21 scripts) |
-| `/tools` | 373.5 KB |
-| `/dashboard` | 357.4 KB |
-| `/login` | 360.5 KB |
-| `/pricing` | 350.8 KB |
-| `/features` | 349.6 KB |
-| `/download` | 346.2 KB |
-| `/tools/json-formatter` | 344.9 KB |
-| `/blog` | 344.9 KB |
-| `/account/plan` | 335.6 KB |
-
-- 10 heaviest packages (webpack treemap, gz): next 231 KB, react-dom 55, motion-dom 36, @firebase/auth 25, framer-motion 16, @tabler/icons-react 15, lucide-react 13, sonner 9, @formatjs/icu-messageformat-parser 7, tailwind-merge 6. Firebase is mostly tree-shaken/lazy — the marketing bundle is not dominated by any single rogue dependency; the ~345 KB floor is framework + shell.
-
-### apps/desktop-ui (Turbopack prod, gzip)
-
-- Shared entry (`rootMainFiles`): **129.8 KB gz** — but the real floor per tool page is far higher:
-
-| Route | First Load JS (gz) |
-|---|---|
-| `/app/database-explorer` (heaviest) | 632.6 KB |
-| `/app/s3-drive` | 615.7 KB |
-| `/app/code-screenshot` | 614.3 KB |
-| `/dashboard` | 595.9 KB |
-| … | … |
-| `/app/color-picker` (lightest tool) | **562.4 KB** |
-| `/app/uuid-generator` (lightest-function tool) | **572.4 KB** |
-
- **Every tool page pays a ~562 KB gz floor** — a trivial tool (uuid-generator) costs within 11 % of the heaviest (database-explorer). The weight is in shared `/app` layout chunks, not per-tool code (tab-registry lazy-loading works — tool internals are split). Signature probe of the 30 chunks uuid-generator loads (overlapping, gz): radix-containing chunks 71 KB, sidebar 46 KB, **firebase 40 KB (loaded on every tool page)**, framer-motion 39 KB, tabler-icons 20 KB.
-- **i18n payload: the full 173 KB `messages/en.json` is serialized into every page's HTML.** Every page HTML is ~245 KB raw / 66–67 KB gz, dominated by the all-namespaces message bag passed to `NextIntlClientProvider` (all 80 tools' strings on every page, twice the cost: HTML bytes + client-side parse).
-- 10 heaviest packages (webpack treemap, gz): **gpt-tokenizer 1 408 KB** (lazy, token-counter only), next 285, @codemirror/legacy-modes 189, lucide-react 157, svgo 150, xlsx 136, vanilla-jsoneditor 126, katex 74, sql-formatter 71, @codemirror/view 60. Monaco is absent from the bundle — because it loads from CDN at runtime (§2 🔴).
-
-## 4. Lab metrics
-
-Medians of 3 runs. LH = Lighthouse 12.8, Chrome for Testing 150, `--headless=new`. Mobile = simulated slow-4G + 4× CPU; Desktop = `--preset=desktop`. Local `next start` — TTFB is not representative of production (no network/CDN); LCP/TBT/CLS are.
-
-### apps/web
-
-| Page | FF | Perf | LCP | FCP | TBT | CLS | TTFB | A11y |
-|---|---|---|---|---|---|---|---|---|
-| `/` | mobile | 72 | **9 309 ms** | 910 ms | 116 ms | 0.017 | 16 ms | 100 |
-| `/` | desktop | 91 | 1 272 ms | 250 ms | 0 ms | 0.007 | 10 ms | 100 |
-| `/pricing` | mobile | 76 | **6 010 ms** | 910 ms | 29 ms | 0.017 | 11 ms | 100 |
-| `/pricing` | desktop | 93 | 1 131 ms | 251 ms | 0 ms | 0.007 | 7 ms | 100 |
-| `/tools/json-formatter` | mobile | 87 | 4 077 ms | 909 ms | 18 ms | 0.005 | 13 ms | 100 |
-| `/tools/json-formatter` | desktop | 100 | 809 ms | 249 ms | 0 ms | 0.004 | 7 ms | 100 |
-
-**LCP element & root cause (`/` mobile)**: hero text (`p.text-lg` / `h1`). LCP phase breakdown: TTFB 5 %, **render delay 95 % (8 821 ms)**. Two compounding causes, both verified in code:
-1. `MdtBoot` (`src/components/mdt-boot.tsx:31`) — a full-screen CRT boot overlay SSR-rendered to "cover first paint", visible ≈4 s (3.4 s + 0.64 s fade) on **every hard load** (the play-once flag is a module variable, reset on every page load; it only skips SPA navigations). Every visitor from Google gets a 4-second fake boot screen before any content.
-2. Hero content mounted with framer-motion `initial="hidden"` (`src/app/page.tsx:48-56,296-346`: opacity 0 + blur 6px) — text stays invisible until hydration (bootup 1 609 ms at 4× CPU; main-thread total 3 839 ms) plus a 0.7 s staggered fade.
-Render-blocking: one CSS file, 757 ms (mobile `/`). Unused JS ≈65–69 KB/page (LH estimate); unused CSS ≈11–14 KB. CLS negligible. Layout-shift sources: none above 0.005.
-
-### apps/desktop-ui — measurement caveat
-
-Tool routes are client-gated by activation + Firebase auth (`src/components/require-auth.tsx` → redirect `/activate`), so in a browser lab the tool URLs render the **activation screen**, not the tool. The LH rows below are therefore "app entry screen" metrics; they still expose real shell problems (shared CSS/JS, entrance animation) because the shell is common. First Load JS per tool route (§3) is unaffected (measured from server HTML). In-product startup happens inside Tauri (local disk) and is not LH-measurable here.
-
-| Page (renders /activate) | FF | Perf | LCP | FCP | TBT | CLS | A11y |
-|---|---|---|---|---|---|---|---|
-| `/app/json-formatter` | mobile | 75 | **8 531 ms** | 1 358 ms | 35 ms | 0 | 95 |
-| `/app/json-formatter` | desktop | 94 | 1 647 ms | 368 ms | 0 ms | 0 | 95 |
-| `/app/uuid-generator` | mobile | 74 | 8 516 ms | 1 358 ms | 10 ms | 0 | 95 |
-| `/app/token-counter` | mobile | 74 | 8 520 ms | 1 358 ms | 30 ms | 0 | 95 |
-
-Same signature as web: LCP is animated-in text, ~7 s render delay after a 1.36 s FCP — the entrance-animation pattern (`RevealItem`/fade-up) gates LCP under CPU throttle. Render-blocking CSS up to 1 206 ms (mobile). **A11y 95: `color-contrast` failure** on the activation screen's button (WCAG AA 1.4.3). Unused JS ≈210 KB/page (LH estimate) — consistent with the 562 KB shared floor (§3).
-
-### INP risk (keystroke cost)
-
-LH cannot measure INP in lab navigation mode; two-part evidence instead:
-1. **Isolated worst-legal-input computation cost** (Node 24 = same V8; command in Appendix A): regex-tester `findMatchRanges` at its 200 000-char cap: **1 ms**/keystroke; diff-checker `buildLineDiffRows`+`countDiffRows` at its 250 000-char cap: **18 ms**/keystroke (≈4 ms / 72 ms under 4× CPU throttle). Both under the 200 ms INP threshold — the existing input caps (`MAX_TEST_TEXT_LENGTH`, `DIFF_MAX_INPUT_CHARS`) do their job, and heavy tools (bcrypt, mock-data, svg-optimize, json format) already run in Web Workers.
-2. **Remaining risk is DOM, not computation**: diff-checker renders up to `DIFF_MAX_ROWS` = 5 000 rows **per pane, unvirtualized** (`diff-checker-layout.tsx:107,132` — plain `rows.map`, new array identity every keystroke → full 10 000-node re-render per keystroke). `@tanstack/react-virtual` is already a dependency (used in 2 other components). Could not be measured end-to-end in browser lab (activation gate); flagged on code evidence + the isolated numbers.
-
-## 5. Findings table (ranked by impact ÷ effort)
-
-Genuine wins first; cosmetic tail separated. Effort S <½ day, M ≈1–2 days, L >2 days.
-
-| # | Finding | Evidence | Proposed fix | Effort | Impact | Risk |
-|---|---|---|---|---|---|---|
-| 1 | 🎯 **web: boot overlay + hidden-initial hero destroy mobile LCP** (9.3 s home, 6.0 s pricing; render delay = 95 % of LCP) | §4 LH; `mdt-boot.tsx:31`, `page.tsx:296` | Play boot overlay once per browser (flag set on completion, per CLAUDE.md gotcha), let hero paint visible-first (CSS animation, no `initial="hidden"` above the fold) | S | Mobile LCP ≈9.3 s → ≈1.5 s on the two highest-traffic marketing pages; directly improves CWV ranking signal | Low — visual-only; keep animation below fold. **→ Reference PR1** |
-| 2 | 🎯 **desktop-ui: Monaco loads 4–5 MB from jsdelivr CDN at runtime** — editor tools break offline, third-party egress | §2 egress; no `loader.config` in repo; `monaco-editor@0.53` already installed | Self-host: `loader.config({ monaco })` + local workers in a shared setup module imported by the 9 Monaco entry points | S | Offline claim restored for 6+ tools; ~15 CDN requests → 0 | Low — verify workers + highlight. **→ Reference PR2** |
-| 3 | 🎯 **desktop-ui: bookmarks & password-manager send stored domains to Google/DuckDuckGo** (favicon services; desktop proxies via Rust but the query still reaches the third party) | `favicon-utils.ts:6-7`, `password-utils.ts:77`, `use-favicon.ts` | Disable remote favicon fetch (existing letter-avatar fallbacks take over); optional user setting later | S | Vault/bookmark metadata egress → 0 by default; aligns product with its privacy claim | Low — icons degrade to letter avatars. **→ Reference PR3** |
-| 4 | **web: 100 % request-dynamic — zero prerendered pages on an SEO site** (`force-dynamic` + cookie locale; `generateStaticParams` dead) | §2; build route table: all ƒ | Remove `layout.tsx:19` `force-dynamic`; stop reading cookies on public routes (marketing is English-only per CLAUDE.md) → SSG + CDN caching for ~160 SEO pages | M | TTFB/resilience at the CDN edge + crawl budget; local TTFB delta is negligible (7–16 ms), the win is production caching | Med — verify `/account/plan`, `/dashboard`, locale switch |
-| 5 | **desktop-ui: 173 KB `en.json` serialized into every page HTML** (all 80 tools' strings, every page ≈245 KB raw / 67 KB gz) | §3 i18n | Pass only needed namespaces to `NextIntlClientProvider` (per-route namespace map or `pick()`) | M | −~150 KB raw HTML + parse per page load, every page | Med — missing-namespace regressions; needs the tool-i18n registry |
-| 6 | **desktop-ui: every tool pays a 562 KB gz First-Load floor** (uuid-generator ≈ database-explorer −11 %); firebase ≈40 KB of it on every page | §3 route sweep + chunk probes | Audit `/app` layout imports: defer firebase until auth UI needed, lazy command palette (already dynamic — verify), split sidebar data | M | Faster cold start in Tauri + web; −40 KB min | Med — shell refactor |
-| 7 | **desktop-ui: diff-checker re-renders up to 10 000 unvirtualized rows per keystroke** | §4 INP; `diff-checker-layout.tsx:107,132` | Virtualize panes with already-installed `@tanstack/react-virtual`, or memo rows | S/M | Keystroke jank on large diffs eliminated | Low |
-| 8 | **reduced-motion not honored by JS animations**: 27/32 framer-motion files unguarded (CSS kill-switch doesn't stop JS springs) — WCAG 2.3.3 | §6; `app-sidebar.tsx:157` | Wrap springs with `useReducedMotion` (pattern exists in 5 files) or a global `MotionConfig reducedMotion="user"` | S | A11y compliance; `MotionConfig` is a one-liner at the provider level | Low |
-| 9 | **activation screen contrast failure** (WCAG AA 1.4.3, LH a11y 95) | §4 dt LH `color-contrast` | Fix button contrast token on `/activate` | S | First-run screen meets AA | Low |
-| 10 | **entrance animations gate LCP in desktop-ui shell too** (same pattern as #1: LCP text ~8.5 s mobile lab) | §4 dt LH | Same treatment as PR1 for `RevealItem`/`AppLoadingScreen` when web-served; low priority inside Tauri | S/M | Lab CWV; minor for packaged app | Low |
-
-Cosmetic / hygiene tail (do opportunistically): remove 4 dead DB-driver deps + 2 dead pool files (§2); remove stale `remotePatterns` (qrserver, google) from both `next.config.ts`; bump `@next/bundle-analyzer` to a Next-16-matching major; migrate ~17 tools to `ToolPageHeader` and 9 hand-rolled copy paths to `use-copy-to-clipboard` (silent-fail fix in `color-picker-tool-layout.tsx:93` is the one real bug here); 24–28 px icon-button touch targets (75 files) — desktop-first app, fix when touching those files; boot-log copy says "60 utilities" vs the "80+" marketing standard (`mdt-boot.tsx:20`); sidebar offers no browse/search (palette covers it — consider a "All tools" sidebar link).
-
-## 6. UX & accessibility notes
-
-Static code audit of `apps/desktop-ui` (all file refs relative to it). What's genuinely good: the command palette (Cmd/Ctrl+K, cmdk fuzzy search, recents capped at 8 in localStorage, pinned group — `src/components/global-command-palette.tsx:92-323`), the shared copy hook (`src/hooks/use-copy-to-clipboard.ts:34-54`: try/catch, toast, auto-reset `isCopied`, used by 65 files), inline error/empty states in all 6 sampled tools (json-formatter toast, regex-tester inline destructive box `regex-tester-layout.tsx:165-174`, diff-checker per-pane `emptyState`, csv-excel-json distinguishes unsupported/parse/invalid), and zero `
` fake buttons — icon buttons carry `aria-label` or `title` (exemplary: `json-formatter-layout.tsx:403,462` with `aria-pressed`).
-
-The issues are the un-migrated tail, not the core:
-
-- **Reduced-motion gap (WCAG 2.3.3 risk, MED)**: 32 files import framer-motion, only 5 use `useReducedMotion`. The global CSS kill-switch (`src/app/globals.css:1834-1842`) only stops CSS animations — framer-motion JS springs still run, e.g. sidebar `layoutId` spring pill `app-sidebar.tsx:157-163`, nav-group, onboarding-modal, tools-grid, mobile-nav.
-- **Touch targets (WCAG 2.5.5/2.5.8, MED)**: 75 files use 24–28 px icon buttons (`h-6 w-6`/`h-7 w-7`), e.g. `base64-layout.tsx:307`, `json-diff-layout.tsx:86`, `image-compressor-layout.tsx:372`. Mitigated by the app's explicit desktop orientation (`mobile-desktop-hint.tsx` shows a "use desktop" banner), but tools still render at 375 px.
-- **Copy feedback fragmentation (MED)**: 9 tools bypass the shared hook with bare `navigator.clipboard.writeText`; `color-picker-tool-layout.tsx:93-96` has no try/catch and no toast — clipboard rejection fails silently. The aria-labelled shared `CopyButton` component exists but is used in only 2 files vs 65+ copy sites.
-- **Header consistency (LOW/MED)**: 53/70 tool layouts use the standard `ToolPageHeader` (+52 `RevealItem`, 45 `CATEGORY_ACCENT`); ~17 tools have one-off headers.
-- **Sidebar is a browsing dead end (LOW)**: it shows only Dashboard + Pinned (`app-sidebar.tsx:143-190`) — no search box, no full tool list; discovery relies on knowing Cmd+K or going through the dashboard grid. Sidebar header/footer are hidden entirely on mobile (`app-sidebar.tsx:111,192`).
-- **Keyboard shortcuts (LOW)**: only Cmd+K is global; ~40 files have ad-hoc keydown handlers (games, to-do) with no registry or user-visible shortcut help beyond the palette footer.
-
-## 7. Reference PRs
-
-All three branch off `main` (`97ec0984`), independently mergeable. Before = fresh `main` build, after = branch build, identical commands (Appendix A), Turbopack both sides.
-
-### PR1 — `audit/pr1-web-lcp` (2 commits)
-
-**Change**: `apps/web` — hero entrance converted from framer-motion `initial="hidden"` to CSS animation (`.hero-fade`), with the two LCP elements (h1, subtitle) animating **transform only** (`.hero-slide`); `MdtBoot` CRT overlay now plays once per browser (localStorage flag set on completion — StrictMode-safe — plus an inline script that hides the SSR overlay at parse time on return visits). Files: `src/app/page.tsx`, `src/app/globals.css`, `src/components/mdt-boot.tsx`.
-
-**Why transform-only**: measured, not guessed — an opacity ramp is composited, so the browser records the text's paint-timing entry only when the main thread repaints after hydration; with opacity animation the LCP stayed ~6 s even though the filmstrip showed the hero visually complete at 1.3 s.
-
-| Page (mobile, median of 3) | LCP before | LCP after | Perf before | Perf after |
-|---|---|---|---|---|
-| `/` | 9 309 ms | **5 182 ms (−44 %)** | 72 | 77 |
-| `/pricing` (not touched by this PR) | 6 010 ms | 5 263 ms | 76 | 78 |
-| `/` desktop | 1 272 ms | 921 ms | 91 | 93 |
-
-Isolation experiments (single runs, recorded): boot overlay ≈ −400 ms, fonts ≈ −400 ms; the remaining ~4–5 s is the 391 KB gz client-JS chain of the fully-client landing page — that ceiling belongs to findings #4/#6, not to animation. Follow-up: `/pricing`'s own hero (via `marketing-seo-page`) has the same `initial="hidden"` pattern and deserves the same treatment.
-
-**No new egress**: third-party host set identical before/after (LH `network-requests`; only per-run Clarity subdomain shuffle). **Nothing broke**: build green; CLS unchanged (0.017); a11y 100 before and after; below-fold scroll animations retained.
-
-### PR2 — `audit/pr2-monaco-selfhost` (1 commit)
-
-**Change**: `apps/desktop-ui` — new `src/components/lazy/monaco.ts` bundles the local `monaco-editor@0.53` via `loader.config({ monaco })` + local language workers (`new URL(..., import.meta.url)`); all 5 dynamic-import sites (`LazyMonaco`, `ui/code-editor`, `format-converter`, `snippet-manager`, `json-schema-generator`) route through it. Monaco stays lazily loaded exactly as before.
-
-**Measurement** (scripted headless probe, Appendix A — activation/auth lab-bypassed via stubbed Tauri bridge + seeded Firebase persistence, identitytoolkit blocked):
-
-| Opening `/app/format-converter` until editor mounts | before (main) | after (PR2) |
-|---|---|---|
-| Requests to `cdn.jsdelivr.net` | **14** | **0** |
-| `.monaco-editor` mounts | yes | yes |
-| First Load JS (uuid-generator / format-converter / snippet-manager) | 572.4 / 610.8 / 591.1 KB gz | 572.4 / 610.9 / 591.3 KB gz |
-
-**Nothing broke**: `tsc --noEmit` clean; jest 99/100 suites green (the failing suite is the pre-existing `react-window` one — fails identically on `main`). Editor tools now work with no network at all.
-
-### PR3 — `audit/pr3-favicon-privacy` (1 commit)
-
-**Change**: `apps/desktop-ui` — `useFaviconSrc` (`src/lib/desktop/use-favicon.ts`) no longer resolves Google/DuckDuckGo favicon-service URLs; it returns `null` and every caller (bookmark cards, password-manager cards/list/swipeable rows) renders its existing local letter-avatar fallback. Guard test `src/components/__tests__/favicon-img.test.tsx` fails if the remote fetch is reintroduced without an explicit opt-in.
-
-**Measurement**: outbound favicon-service requests per rendered bookmark/password entry: N → **0** (the sole code path that produced `www.google.com/s2/favicons` / `icons.duckduckgo.com` URLs into `` is severed at its single choke point; verified by test + grep — no other consumer of `getFaviconUrl` bypasses `useFaviconSrc`/`FaviconImg`). **Nothing broke**: `tsc` clean, build green, guard test passes. Visual change only: letter avatars instead of fetched icons; re-adding icons later should be an off-by-default setting.
-
-## 8. Backlog & rejected ideas
-
-**Recommended next (evidence in §5)**: web SSG restoration (#4 — the audit's biggest structural web win; M effort because of cookie-locale; marketing is English-only per project docs, so public routes can prerender `en`); desktop-ui i18n payload split (#5); `/app` layout shell diet (#6, firebase ≈40 KB on every tool page); diff-checker virtualization (#7); `MotionConfig reducedMotion="user"` (#8); `/activate` contrast token (#9); `marketing-seo-page` hero = same LCP treatment as PR1.
-
-**Hygiene**: remove dead deps `mongodb`/`pg`/`mysql2`/`ioredis` + `src/lib/{sql,nosql}-client-pool.ts`; drop stale `remotePatterns` (qrserver, www.google.com) from both `next.config.ts`; bump `@next/bundle-analyzer` (v15 vs Next 16); migrate the ~17 off-pattern tool headers and 9 hand-rolled copy paths (real bug: silent copy failure in `color-picker-tool-layout.tsx:93`); boot-log copy "60 utilities" → "80+".
-
-**Rejected / disproven during the audit**:
-- "QR generator phones home" — false; generation is local, `api.qrserver.com` is config residue.
-- "DB drivers bloat the client bundle" — false; only a BPE-vocab token matched the grep, drivers are dead code (still worth deleting, but no perf urgency).
-- "gpt-tokenizer needs code-splitting" — already per-encoding dynamic-imported; its 1.4 MB gz loads only in token-counter.
-- "Debounce tool inputs / move parsing to workers" (from the original brief) — mostly already done: 24 files debounce, 5 real workers, and the regex/diff caps keep worst-legal-input keystroke cost at 1 ms / 18 ms. The measured residual risk is DOM-bound (diff-checker's 10 000 unvirtualized rows), not compute-bound.
-- Desktop-ui in-browser Lighthouse for tool pages — the activation+auth gate means a browser lab measures the activation screen; kept honest by relabeling those rows (§4) and building the scripted bypass only for the PR2 egress probe.
-
-## Appendix A — Reproduce every number
-
-```bash
-export PATH="/Users/max/.nvm/versions/node/v24.18.0/bin:$PATH"
-# builds (pnpm exec is broken in this repo — use repo-local bins)
-cd apps/web && ./node_modules/.bin/next build # Turbopack prod
-cd apps/desktop-ui && ./node_modules/.bin/next build
-# treemaps
-ANALYZE=true ./node_modules/.bin/next build --webpack # each app; output .next/analyze/client.html
-# serve
-(cd apps/web && ./node_modules/.bin/next start -p 3100) &
-(cd apps/desktop-ui && ./node_modules/.bin/next start -p 3200) &
-# shared chunk
-node -e "const m=require('./.next/build-manifest.json'),z=require('zlib'),f=require('fs');let t=0;for(const x of m.rootMainFiles)t+=z.gzipSync(f.readFileSync('.next/'+x)).length;console.log((t/1024).toFixed(1)+' KB gz')"
-# per-route First Load JS
-node scripts/audit/route-sweep.js http://localhost:3200 apps/desktop-ui /dashboard /app/uuid-generator ...
-# DB-driver check
-grep -rlE "MongoClient|createPool|ioredis" apps/desktop-ui/.next/static/chunks/
-# lighthouse (3 runs x mobile+desktop per URL, Chrome for Testing 150 pinned)
-npx lighthouse@12 "$URL" --chrome-flags="--headless=new" --only-categories=performance,accessibility --output=json [--preset=desktop]
-# TTFB
-curl -so /dev/null -w "%{time_starttransfer}s " "$URL" # x5
-# keystroke cost at max legal input (regex-tester / diff-checker lib functions)
-node --experimental-strip-types scripts/audit/keystroke-cost.mts
-# Monaco CDN egress probe (lab bypass of activation+auth; needs puppeteer-core + CHROME_PATH)
-node scripts/audit/monaco-egress.js http://localhost:3200/app/format-converter "$NEXT_PUBLIC_FIREBASE_API_KEY"
-# LH runner used for all matrices (3x mobile + 3x desktop per URL)
-scripts/audit/lh-run.sh
-```
-
-Conditions worth restating: Lighthouse default = simulated throttling (Lantern); isolation experiments in §7 that state "devtools" used `--throttling-method=devtools`. `next start` caches the build — always restart the server after rebuilding before measuring (two stale-server traps were caught and re-measured during this audit). LH runs use a fresh profile, so "first visit" behavior (boot overlay) is always included.
diff --git a/CLAUDE.md b/CLAUDE.md
index a5aa4e0a..02ebefd4 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -5,10 +5,9 @@ All-in-one developer toolkit (~80 tools: formatters, security, generators, notes
## Product model (current direction — do not regress)
- **The desktop Tauri app is the product.** Fully offline after a mandatory one-time browser activation (loopback OAuth + `mydevtools://` deep link; activation stored in SQLCipher `kv` key `activation`). No per-session login, no periodic recheck.
-- **Web (`apps/web`) = marketing/auth/plan only**: landing, pricing, SEO pages (download CTAs), login handoff, `/account/plan`. Never reintroduce web tool pages or cloud sync.
-- **Plans**: first 250 signups get lifetime Pro (`plan_source="early_adopter"`, atomic counter in backend `users_repo.py`). Users #251+: free, full access, no paywall yet.
-- **Pricing (planned, show both tiers with strikethrough anchor price)**: $59/yr (actual $100) · $100 lifetime (actual $300) · first 250 users free.
-- Vault/masterkey creation is offline-only (desktop Rust mirror). Payments later via Merchant of Record (Lemon Squeezy/Polar — founders are India-based individuals, no Stripe-direct yet).
+- **Free & open source (AGPL-3.0).** No plans, no pricing, no paywalls — never reintroduce them. "Free & Open Source" page; `/account/plan` redirects to `/dashboard` (shipped desktop builds hard-open it).
+- **Web (`apps/web`) = marketing/auth only**: landing, SEO pages (download CTAs), login handoff, `/dashboard` (passkeys). Never reintroduce web tool pages or cloud sync.
+- Vault/masterkey creation is offline-only (desktop Rust mirror).
## Monorepo (pnpm)
@@ -17,7 +16,7 @@ All-in-one developer toolkit (~80 tools: formatters, security, generators, notes
| `apps/desktop-ui` | Next.js UI the Tauri app builds from — **all tool work happens here** (clone-then-prune of apps/web) |
| `apps/desktop` | Tauri v2 shell — SQLCipher keyed by macOS Keychain, native Rust DB drivers |
| `apps/web` | Marketing/SEO/auth site (Next.js 16, React 19, Tailwind, shadcn/ui, next-intl) |
-| `apps/backend` | FastAPI — health + auth + plan grant only |
+| `apps/backend` | FastAPI — health + auth only |
## Build / verify
diff --git a/HANDOFF.md b/HANDOFF.md
deleted file mode 100644
index d5dcf094..00000000
--- a/HANDOFF.md
+++ /dev/null
@@ -1,56 +0,0 @@
-# MyDevTools — Website Redesign · Handoff
-
-Self-contained context for continuing the **website redesign** in a fresh Claude window/project.
-Rename this to `CLAUDE.md` if you want Claude Code to auto-load it as project instructions.
-
-## What this is
-A deck-style (dark, premium, gradient) revamp of the MyDevTools marketing site, matching the
-investor-deck aesthetic. Pitch-deck work is separate and **not** part of this.
-
-## Where things are
-- **Repo root:** `mydevtools-web/` — pnpm monorepo, clone of `github.com/itsmeakhil/mydevtools.tech`.
-- **Web app:** `apps/web/` — Next.js 16, React 19, Tailwind 3 + shadcn/ui, framer-motion, next-themes, next-intl, Geist + Geist Mono fonts.
-- **Local branch:** `redesign/devtools-deck-style` (11 commits).
-- **Pushed to:** branch **`Devtools_1.0`** on `github.com/itsmeakhil/mydevtools.git` (separate repo; its `main` == this branch's base `ca526da`). Local remote `target` points there. PR (not yet opened): https://github.com/itsmeakhil/mydevtools/pull/new/Devtools_1.0
-
-## Run it locally
-```bash
-cd mydevtools-web
-pnpm install
-cd apps/web && ./node_modules/.bin/next dev # localhost:3000
-```
-- `pnpm dev` can fail on a deps "verify" step (ignored build scripts) — run `next` directly as above, or `pnpm approve-builds`.
-- A fresh clone 500s without Firebase env. There's a gitignored `apps/web/.env.local` with **placeholder** Firebase keys for local preview; recreate it if cloning elsewhere (vars: `NEXT_PUBLIC_FIREBASE_API_KEY`, `_AUTH_DOMAIN`, `_PROJECT_ID`, `_STORAGE_BUCKET`, `_MESSAGING_SENDER_ID`, `_APP_ID`).
-- No Playwright installed; the Chrome app is — use `--headless` for screenshots. Verified the fixed header via Chrome DevTools Protocol (node script + global `WebSocket`).
-
-## Design system (all in `apps/web/src/app/globals.css`, appended "DECK" sections)
-- `--mdt-*` tokens: bg `#08090f`, surfaces, border, text/muted/faint, gradient `--mdt-grad` (indigo `#5b63f0` → violet `#9a5cf2` → cyan `#4fd0e6`), green/amber.
-- `.mdt-deck` wrapper forces the dark look; `.mdt-deck::before` = fixed ambient color glows; fixed backdrop div (z-index:-1) holds `.mdt-grid` + `.mdt-noise`.
-- Helpers: `.mdt-grad-text` (+ `.mdt-grad-anim` sheen), `.mdt-kicker` (mono eyebrow), `.mdt-btn-grad`, `.mdt-btn-ghost`, `.mdt-surface`, `.mdt-rail`, `.mdt-pill`, `.mdt-card-hover`, `.mdt-icon-grad` (gradient-stroke icons via hidden `#mdtGrad` svg).
-- Dark palette retuned in an appended `.dark { ... }` block (unlayered, overrides shadcn defaults).
-- Motion tokens from the `motion-design` skill: `--ease-out-quart/quint/expo`, `--dur-1..5`; global `prefers-reduced-motion` guard.
-
-## Custom components (`apps/web/src/components/`)
-- `mdt-aurora.tsx` — canvas aurora field in heroes (pointer-reactive, pauses offscreen).
-- `mdt-fx.tsx` — scroll-progress beam + cursor-spotlight border on `.glass-overlay` cards.
-- `mdt-magnetic.tsx` — magnetic buttons (spring). `mdt-tilt.tsx` — pointer 3D tilt + glare (wraps hero dashboard).
-- `mdt-boot.tsx` — CRT-monitor boot loader: drawn monitor, green-phosphor status log types ~3.4s then fades; plays once per hard load (flag set on COMPLETION to survive React StrictMode double-mount); SSR-safe; reduced-motion aware.
-- `mdt-dashboard.tsx` — crisp vector SQL-client hero mock (replaced the pixelated PNG): tool rail, syntax SQL + blinking caret, Run bar, results table w/ plan pills + roving highlight, live latency.
-- Restyled: `header.tsx` (position **fixed** + scroll-translucent + magnetic CTA), `marketing-seo-page.tsx` (shared by /pricing /features /security /self-host /developer-tools), `app/page.tsx` (landing), `app/tools/page.tsx`.
-- **Removed:** `mdt-hero-grid.tsx` (cursor-warp grid — user disliked it).
-
-## Gotchas learned (don't re-trip these)
-- `position: fixed/sticky` silently breaks if an ancestor has `overflow: clip/hidden` **or** a rule forces `position:relative`. A `.mdt-deck > *` rule was overriding Tailwind's `.fixed` (unlayered beats `@layer utilities`) — removed it; backdrop is `z-index:-1` so content stacks above without a blanket position rule. Header is now `position: fixed`.
-- CRT loader vanished after ~2s because the play-once flag was set on mount → StrictMode's 2nd mount hid it. Fix: set the flag on completion.
-- Hero stats panel: near-black frosted glass (`bg-[#0a0b12]/80 backdrop-blur-md`), NOT white; sized to `text-2xl` max so "Self-host" doesn't clip.
-- Edits via shell `sed`/`cat` don't satisfy the "must Read before Edit" rule — use the Read tool first.
-
-## Business decisions (from planning, not yet implemented)
-- **Pricing (recommended):** Free (self-host + capped cloud) · **Pro $9/mo ($84/yr)** · **Team $15/user/mo ($144/yr)** · Enterprise custom. Annual ≈ 2 months free. Launch founder pricing optional.
-- **Payments:** founders India-based, no company (planning Dubai later). Stripe-India needs a registered business → use a **Merchant of Record** (Lemon Squeezy or Polar) as individuals now; it handles US sales tax / EU VAT / Japan/Korea tax. Revisit Stripe-direct after incorporating (Dubai only with real substance — POEM/residency risk; or Delaware C-corp if raising US VCs).
-- LS↔Claude **MCP** exists (community/Composio/Zapier) but is for store *ops*, not for charging users (that's checkout + REST API + webhooks in-app).
-
-## Likely next steps
-- Lemon Squeezy/Polar integration: checkout on the pricing CTAs → webhook → entitlement → gate Pro/Team features.
-- Fill the deck's pricing slide with the numbers above.
-- Optional polish: section-pinned scroll storytelling (GSAP), WebGL shader hero, magnetic buttons on more CTAs, PR + deploy.