Is there an open source license that prohibits public hosting, so I can avoid competition?

I am thinking about open sourcing my project, but I want to prohibit public hosting, so noone will put up an alternative website with my code on it, and compete with my site.

Internal networks, like libraries etc. would be welcome to use it.

Are you aware of such a license? I guess this would be even more restrictive than AGPL.

8

While such a license might exist, it would not be an Open Source license (as per the accepted definition, of which it fails to meet roughly half the conditions), let alone Free (Libre) Software.

You are publishing source code, but that alone doesn’t make it Open Source – otherwise, the software I write for my day job (we deliver sources to most of our clients) would also qualify as Open Source.

In case you’re not too attached to the Open Source label, just look in other directions. There are probably products around that use a similar licensing model; see if their licenses fit your needs.

And of course, as always: if you want actual legal advice, consult an actual lawyer. More so if this is not just a pet project but something you rely on for your income.

What you are talking about, limiting redistribution, goes against the definitions of open source and free software. If you find such a license, it won’t be either of those.

So, I recommend you get a lawyer and you two come out with the terms of the license you are thinking about, with whatever other restriction you might want to add, and whatever freedom you might want to give to your users.

Some things to ask yourself:

  • Will users have the right to create derivated works — change the code?
  • Will users have the right to host their derivated works? (if those are allowed at all)
  • Will it be possible to fork your project?
  • What type of changes and what amount of them give the user freedom to freely redistribute your software, if any?
  • What do you expect to gain by opening the source? Do you expect new contributors? Or do I just want the users to be able to see the code?
  • What is free software? What is open source software?

Note: You say «I guess this would be even more restrictive than AGPL». The addicional restrictions in the AGPL are to ensure the freedom of the software. They do not limit the users in any way, just demand additional conditions to the developers. You might agree with those additional restrictions or not, but they certainly have nothing to do with the ones you want to impose.

The Elastic License is one such license:
https://www.elastic.co/fr/licensing/elastic-license

It says the following:

You may not provide the software to third parties as a hosted or managed service, where the service provides users with access to any substantial set of the features or functionality of the software.

If you are the sole copyright holder (holders) you can use any license you like. You would use an open source license to get brownie points or to help other developers, and to use their improvements to your code for free. If I can read your source code but cannot actually use it due to your license, then you don’t help me, I won’t improve your code, and you won’t get brownie points.

If your code is derived from GPL-licensed code, then you can use it freely for your own purposes (because GPL allows it) and you can publish it under the GPL and a GPL-compatible license. What you are asking for is not GPL-compatible, so you must publish your derived code under the GPL-license.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật