question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ICP license (Bei'An) information configuration

See original GitHub issue

In China, all websites need to submit the website operation information to the government, and then get an ICP (Internet content provider) certificate issued by the government.

Each website must mark its own ICP ID at the bottom, otherwise the website may be forcibly shut down.

I set up my own reposilite in China. It’s really good. I like it very much. But I was told that I had to declare my website to the government to keep it running.

Obviously, reposilite can neither kill nor sell drugs, so I soon got my ICP certificate.

Now I just need to do one thing, put the ICP ID at the bottom of my website page.

But this baffles me. I can’t modify the HTML file of reposite myself.

So I would like to ask if the author can add an option to the configuration file so that Chinese users can configure their own ICP ID?

This should not be difficult, just add a line of optional information to the configuration:

beian: 国ICP备123000321号

Then, when it is recognized that the entry is set, a text will be added at the bottom of the website that will jump to the government ICP query page when clicked.

<a href="https://beian.miit.gov.cn/#/Integrated/recordQuery" target="_blank">国ICP备123000321号</a>

My English is not good, but I try my best to convey my intention to you. If my words make you angry, please forgive me. thank you.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
MiniDaycommented, Aug 6, 2021

Oh, I didn’t know it’s blocked, thanks for details. I’ll definitely provide an extended description with the original name.

OK, thank you.

But don’t worry. Although GFW limits the network range of many Chinese people, most of the Chinese people you can see on the network have mastered the technology to bypass GFW, especially in GitHub.

1reaction
MiniDaycommented, Aug 6, 2021

The official name of this mechanism is called ICP license:

We should use this name rather than Bei'An as a configuration property name.

Although ICP is the official name of this mechanism, few people use it in China. Although ICP is the official name of this mechanism, almost no one uses it in China. I have no objection to using this name, but it is best to write clearly the purpose of the ICP parameter in the comments. In addition, most people may not understand what ICP is.

like this

# the Internet Content Provider License
# Web services in Chinese mainland require ICP license, otherwise the website will not be accessible.
# In order for the website to be accessed normally, you should apply for ICP license from your service provider and fill in this parameter.
# Or use servers in non mainland areas such as Hong Kong.
# For more information about this parameter, see https://baike.baidu.com/item/%E5%A4%87%E6%A1%88/5130430
ICPLicense: 国ICP备123000321号

It’s worth mentioning that even if you don’t like the link in the comment, don’t replace it with Wikipedia. Because China blocked the website, we can’t access it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ICP license - Wikipedia
ICP license is a permit issued by the Chinese Ministry of Industry and Information Technology (MIIT) to permit China-based websites to operate in...
Read more >
ICP Recordal
Fill in the ICP recordal information and submit materials ... manages all commercial Internet content provision services through an ICP licensing system, ...
Read more >
Understanding and configuring an ICP number
Learn how to apply for and upload an ICP number to your website. An ICP is required for all domains hosted on a...
Read more >
Website Hosting in China: Getting an ICP License in China
Having an ICP License in China is mandatory if you want to host a Chinese website in mainland China. The experts at Tenba...
Read more >
Hosting the website in Mainland China: the ICP license - HFG
ICP license for commercial websites is required for websites that sells information or data behind a paywall (contrary to popular beliefs an e- ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found